B
Bush is a Fascist
Hi all,
Nobody in the php forum seems to know how to invoke
php properly from C, so I must ask here.
I am doing is the following, which seems to be by the book,
but then again I am finding very few explanations
on the subject.
setenv ("REQUEST_METHOD", "GET", !0);
setenv ("QUERY_STRING", "abc=123", !0);
system "/usr/local/bin/php myfile.php < dummyfile > foo";
Dummyfile can be empty or have data in it, yet
I keep getting an error:
"No input file specified."
Anybody know what's going on?
Thanks.
333
Nobody in the php forum seems to know how to invoke
php properly from C, so I must ask here.
I am doing is the following, which seems to be by the book,
but then again I am finding very few explanations
on the subject.
setenv ("REQUEST_METHOD", "GET", !0);
setenv ("QUERY_STRING", "abc=123", !0);
system "/usr/local/bin/php myfile.php < dummyfile > foo";
Dummyfile can be empty or have data in it, yet
I keep getting an error:
"No input file specified."
Anybody know what's going on?
Thanks.
333