: How can I have the URL which is calling my script?
: 
: ex:
: the name of my script is : "script.cgi"
: URL is : http://www.computer.com/script.cgi?toto=12&titi=25
: I want to have $var=toto=12&titi=25  or  $var=http://....iti=25 .

I think this would be web-server/platform dependent, but under Apache
there are some environment variables with this info. In the example
above, $ENV{REQUEST_URI} would have "/script.cgi?toto=12&titi=25",
while $ENV{QUERY_STRING} would have "toto=12&titi=25".

Is this the same in IIS?

-- tdk

Reply via email to