PHP CGI mode and command line variables
| From: | CDitty | Date: | Thu, 24 Jul 2003 04:18:46 +0000 |
| Subject: | PHP CGI mode and command line variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-156593@lists.php.net to get a copy of this message | ||
I have written a script that runs fine when I run it via the command line. However, when I tack on variables to the command line, I get an error.
This works.....
php -q ./import.php
This doesn't
php -q ./import.php?feed=eastwood
This is the error that it returns - Could not open input file: ./import.php?feed=eastwood
Can anyone offer any advice for making this work?
Chris