RE: [PHP-WIN] PHP Command Line Syntax

2002-04-28 Thread Steve Cook
If you're running from the command line, you can use standard command line arguments. In the file they'll be entered into the array $argv[]. $argv[0] is the name of the script called, and each other argument is consecutively numbered. For example the file test.php: running: c:\php\php.exe -q

RE: [PHP-WIN] PHP Command Line Syntax

2002-04-28 Thread Stuart Dallas
Set the environment variable QUERY_STRING prior to running PHP... set QUERY_STRING=servername=SERVERNAME c:\php\php.exe -q checksingle.php HTH, Stuart -Original Message- From: Scott Dowd [mailto:[EMAIL PROTECTED]] Sent: 28 April 2002 12:32 To: [EMAIL PROTECTED] Subject: [PHP-WIN] PHP Co