Re: php.exe from command line

From: Date: Mon, 29 Jul 2002 17:12:25 +0000
Subject: Re: php.exe from command line
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-110216@lists.php.net to get a copy of this message
Inspect $argc & $argv arrays (var_dump() them). Andrey ----- Original Message ----- From: "Evan" <evan80@libero.it> To: <php-general@lists.php.net> Sent: Monday, July 29, 2002 8:06 PM Subject: [PHP] php.exe from command line > 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 > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#110216) next »