Posted by Colin McKinnon on 07/21/05 18:02
Bush is a Fascist wrote:
>
> As an experiment I wrote a simple C program that invokes
> PHP using system(), but I'm getting an error "No input file
> specified.".
>
This usually means that PHP can't find the script.
>
> system "/usr/local/bin/php myfile.php < dummyfile > foo";
>
Tried using the full path to myfile.php?
HTH
C.
[Back to original message]
|