--- John Wilcox <[EMAIL PROTECTED]> wrote: > On the topic of passing args, can someone please explain to me why > I'm unable to use $_GET or $_POST if my php script is run as a .cgi?
I believe this is because you are using the #! method to define the interpreter, which means your Web server simply executes the script the same as you would from the command line. What you may want to do is to have the Web server interpret .cgi files as PHP, assuming all your CGIs are PHP scripts. Then you can leave out your #! line at the top also. Hope that helps. Chris ===== My Blog http://shiflett.org/ HTTP Developer's Handbook http://httphandbook.org/ RAMP Training Courses http://www.nyphp.org/ramp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php