Re: [PHP] php.exe from command line

2002-07-29 Thread Evan
major pain in the ass. Luck, Colin Teubner -Original Message- From: Evan [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29, 2002 1:07 PM To: [EMAIL PROTECTED] Subject: [PHP] php.exe from command line I've made a simple php file that creates a file named 'agent_1.txt' where the n

Re: [PHP] php.exe from command line

2002-07-29 Thread cteubner
MAIL PROTECTED]] Sent: Monday, July 29, 2002 1:07 PM To: [EMAIL PROTECTED] 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: h

Re: [PHP] php.exe from command line

2002-07-29 Thread Andrey Hristov
Inspect $argc & $argv arrays (var_dump() them). Andrey - Original Message - From: "Evan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 29, 2002 8:06 PM Subject: [PHP] php.exe from command line > I've made a simple php file that

[PHP] php.exe from command line

2002-07-29 Thread Evan
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:\