Gossamer Forum
Home : Products : Gossamer Links : Discussions :

using strings in shell strings

Quote Reply
using strings in shell strings
I have a question about accessing a string in a shell script

in the browser & i want to call something like:
nph-myscript.cgi?affiliate=funny&do=build

I can give:

my $affil = $IN->param('affiliate');
my $do = $IN->param('do');



now i want to run this script from ssh
i cant' do perl nph-myscript.cgi?affiliate=funny&do=build
it says No such file or directory

what can I do???
Quote Reply
Re: [ericho] using strings in shell strings In reply to
Is this actually related to LinksSQL?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] using strings in shell strings In reply to
Yes this is related to Links SQL
I want to create my own shell script that spiders URL's in my database.
Quote Reply
Re: [ericho] using strings in shell strings In reply to
Hi. Please see;

http://www.gossamer-threads.com/...i?post=264700#264700

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] using strings in shell strings In reply to
hello Andy

Thank you, that solved the problem.