PHP command line vars

From: Date: Tue, 18 Nov 2003 16:55:13 +0000
Subject: PHP command line vars
Groups: php.general 
Request: Send a blank email to php-general+get-170127@lists.php.net to get a copy of this message
I have a script that I want to run on the windows command line, and it is working fine. What I want to do is pass vars to the script when I run it, example: php script.php $var=hello I have read the docs but can't find the syntax to pass these in. Also, how to retrieve them in the script? argv other? TIA -Shawn

« previous php.general (#170127) next »