note 48696 added to security.cgi-bin

From: Date: Wed, 05 Jan 2005 06:40:02 +0000
Subject: note 48696 added to security.cgi-bin
Groups: php.notes 
Request: Send a blank email to php-notes+get-82731@lists.php.net to get a copy of this message
Here are my two cents of knowledge about php-cgi when running CGI script from prompt: If you get the "No input file specified." error, create the environment variable "SCRIPT_FILENAME=C:\files\test.php". If you get "Security Alert!" error and it tells you to create the REDIRECT_STATUS environment variable, it is because you have the SERVER_NAME variable set but not the REDIRECT_STATUS variable. Hence, if you have SERVER_NAME, you also need REDIRECT_STATUS, but not otherwise. And you pretty much should have SCRIPT_FILENAME at all time. ---- Manual Page -- http://www.php.net/manual/en/security.cgi-bin.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+48696 Delete -- http://master.php.net/manage/user-notes.php?action=delete+48696&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48696&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48696&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48696&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48696&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48696&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+48696&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#82731) next »