How to give parameters to a console php-script?

From: Date: Mon, 02 Dec 2002 13:40:31 +0000
Subject: How to give parameters to a console php-script?
Groups: php.general 
Request: Send a blank email to php-general+get-126713@lists.php.net to get a copy of this message
Hello! I start a console app with php myscript.php4 (just prints "ok"). How can I give parameters to it? I tried: php myscript.php4 myparameter php myscript.php4?myparameter php myscript.php4?param=myparameter But always php just returns without doing nothing (not even giving an error or printing "Ok"!) I'm using PHP 4.2.3. on Windows2000). Martin

« previous php.general (#126713) next »