Re: "No input file specified."
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: "No input file specified."

From: Colin McKinnon <colin.deletethis@andthis.mms3.com>
Date: Thu Jul 21 2005 - 17:02:13 CEST

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.
Received on Mon Oct 17 21:13:50 2005