Passing Parameters to PHP Script
| From: | Ben Ramsey | Date: | Tue, 20 Apr 2004 20:26:14 +0000 |
| Subject: | Passing Parameters to PHP Script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-184048@lists.php.net to get a copy of this message | ||
I'm executing a PHP script from the Windows command prompt:
c:/path/to/php.exe c:/path/to/script.php
I want to pass some parameters to script.php, but I can't use a query string because then I get a file not found type of error. So, how should I pass parameters to the script?
--
Regards,
Ben Ramsey
http://benramsey.com
http://www.phpcommunity.org/wiki/People/BenRamsey