Re: [PHP] php.exe from command line

2002-07-29 Thread Evan
I didn't thought about this, but it's logic (as always). However I solved my problem: I've developed a really simple program with C++Builder6 (only ~15 lines of code :-P) that every X seconds calls the php file (agent.php). And finally it works! Thanks for your help, Evan <[EMAIL PROTECTED]

Re: [PHP] php.exe from command line

2002-07-29 Thread cteubner
Simple. Parameters of the type you described, with the ?, = and &, etc. are specific to URLs and are handled by CGI, common gateway interface, i.e. the web server. See the PHP documentation on $argc[] and $argv[] if you want to pass parameters on the command line. http://us2.php.net/manual

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 creates a file named 'agent_1.txt' where