in reply to Re: Re: Script call with arguments in a script call with arguments...Possible?
in thread Script call with arguments in a script call with arguments...Possible?
My past experience with CGI and URI's of this nature was that it couldn't be done in the manner stated above (in a standard URL). The problem was the CGI would rip the second 'nested' arguments as arguments for the first.
Right? As a result, what must be done to perserve the 'nested' call in its entirity. Let me pose another example
http://www.mysever.com/cgi-bin/myscript.pl?this=that&tisk=task&test=http://www.mysever.com/cgi-bin/myscript.pl?&tisk=that&this=task&foo=bar
Note that &foo=bar is meant to be a outer script call argument and not a nested script call argument. So I guess I need to know if I can pass the nested URL as a string that CGI won't rip apart. ala:
http://www.mysever.com/cgi-bin/myscript.pl?this=that&tisk=task&test='http://www.mysever.com/cgi-bin/myscript.pl?&tisk=that&this=task'&foo=bar
Yes, I know I can use LWP to process the nested call (this is what I want to do), but how do I pass this into the script call without CGI ripping it apart.
======================
Sean Shrum
http://www.shrum.net
|
|---|