Hi again Stephane,

The answer to this is in two parts.

Firstly you need to configure your web server to make it know that 
filenames ending with .cgi are to be run and not just sent back to the 
browser.  This varies by web server, but in Apache you need to update 
httpd.conf

Once your server is running your perl script you can then have fun.

If you do perldoc CGI, you will see the documentation for the CGI.pm 
module which does most of the work for you.

Gary

On Thursday 03 May 2001  1:11 pm, Stéphane JEAN BAPTISTE wrote:
> 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 .
>
> tks

-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 
    

Reply via email to