![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: _GET/_POST vars passed to PHP how?
From: Bush is a Fascist <z333r@yahoo.com>
Date: Wed Jul 20 2005 - 23:24:37 CEST
Gordon Burditt wrote:
> If PHP is run as a CGI, it's done by the interface defined by CGI:
As an experiment I wrote a simple C program that invokes
What I do is:
setenv ("REQUEST_METHOD", "GET", 1);
and then I invoke PHP thus:
system "/usr/local/bin/php myfile.php < dummyfile > foo";
and I also tried:
system "/usr/local/bin/php myfile.php dummyfile > foo";
where dummyfile is either empty or just contains the line
This is very odd. Any idea as to why I'm getting
Thanks,
|