note 16550 added to language.variables.predefined
| From: | mathie dot cubedom dot com at php2 dot chek dot com | Date: | Sat, 03 Nov 2001 23:57:14 +0000 |
| Subject: | note 16550 added to language.variables.predefined | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-20403@lists.php.net to get a copy of this message | ||
Under CGI mode, if you pass the arguments to a script under command line: "php script.php
myVar=myValue"
inside the script you would use it as following:
$var = $HTTP_GET_VARS["script_php_myVar"];
// $var is now assigned to "myValue"
That was how I found out. PHP 4.0.6, Apache 1.3.14
--
http://www.php.net/manual/en/language.variables.predefined.php
http://master.php.net/manage/user-notes.php?action=edit+16550
http://master.php.net/manage/user-notes.php?action=delete+16550
http://master.php.net/manage/user-notes.php?action=reject+16550