Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

[PHP3] Problem using php as a sub-process From: Adam Brown (adam <email protected>)
Date: 01/11/99

I am trying to use php as a filter for some cgi output.
 
I create a pipe to php using something like:
FILE* phpFile;
char* output="Some php encoded html";
phpFile = popen( "..../php.cgi", "w" );
fwrite( output, 1, sizeof( output ), phpFile );
pclose( phpFile );

I get the error:
"No input file specified"

Does anyone have any ideas what is going wrong? Is it possible that php
is not properly compiled or configured?

many thanks,

 
Adam Brown

mailto:adam <email protected>

Freestream
http://www.freestream.com.au

    _-_|\
   / \
   \_.--_/
        v

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev <email protected>