note 10392 deleted from Variables by jimw
| From: | jimw@php.net | Date: | Thu, 11 Jan 2001 02:54:40 +0000 |
| Subject: | note 10392 deleted from Variables by jimw | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9612@lists.php.net to get a copy of this message | ||
bens@benjamindsmith.com:
I too find the documentation to be a bit vague on this part but you want to read the "Variables
from outside PHP" section.
You _can_ use $argv for retrieving variables passed by the browser but usually the best (and most
common) way to do it is by using a dollar sign followed by the variable name. For instance loading
your script with this URL:
http://www.domain.com/myscript.php?myvar=myvalue
The variable $myvar would contain "myvalue".