php.exe from command line

From: Date: Mon, 29 Jul 2002 17:06:35 +0000
Subject: php.exe from command line
Groups: php.general 
Request: Send a blank email to php-general+get-110215@lists.php.net to get a copy of this message
I've made a simple php file that creates a file named 'agent_1.txt' where the number is taken from $_GET["num"]. I've tried to run it in this way: http://localhost/agent.php?num=1 And it works perfectly I thought that from from command line it would work so i tried this (WinXP + PHP 4.1.2): c:\php\php.exe c:\Inetpub\webpub\PHP\agent.php?num=1 BUT IT DOESN'T WORK!!!!! ? Can someone help, please? Thenks in advance, Evan

« previous php.general (#110215) next »