[PHP] php script running as a cgi
I am running a php script as a cgi so to be able to run under my user name. The script seems to be working except for one major problem. the cgi script is not finding the variables passed by the html form... Any suggestions on how to make this work? Any help is greatly appreciated - zed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php script running as a cgi
Hi, zedleon wrote: I am running a php script as a cgi so to be able to run under my user name. The script seems to be working except for one major problem. the cgi script is not finding the variables passed by the html form... How are you attempting to access them? David -- David Grant http://www.grant.org.uk/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php script running as a cgi
When running scripts in CGI mode you do not run them via your web server. Why do you expect to find variables that come from the web? I must be missing something. Sincerely berber Visit the Weber Sites Today, To see where PHP might take you tomorrow. PHP code examples : http://www.weberdev.com PHP Web Logs : http://www.weberblog.com/ PHP MySQL Forums : http://www.weberforums.com/ Learn PHP Playing Trivia http://www.webertrivia.com Web Development Index http://www.weberindex.com Web Templates http://www.webertemplates.com Search for PHP Code from your browser http://toolbar.weberdev.com -Original Message- From: zedleon [mailto:[EMAIL PROTECTED] Sent: Monday, January 16, 2006 5:33 PM To: php-general@lists.php.net Subject: [PHP] php script running as a cgi I am running a php script as a cgi so to be able to run under my user name. The script seems to be working except for one major problem. the cgi script is not finding the variables passed by the html form... Any suggestions on how to make this work? Any help is greatly appreciated - zed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php script running as a cgi
Weber Sites LTD wrote: When running scripts in CGI mode you do not run them via your web server. Why do you expect to find variables that come from the web? I must be missing something. You are. I think you're confusing CGI with CLI. -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php