Posted by Geoff Winkless on 10/17/38 11:21
Jerry Stuckle wrote:
> $_REQUEST is filled in by the web server interface. They do not come
> from the environment. There also are no $_GET, $_SERVER or similar web
> server associated values. If you needed these, you would have to call
> another PHP program to set the values, then include the program you want
> to run.
Mmm. I managed to get it to run by using
php -r '$_REQUEST["test"]=1; include myprog.php;'
but I wasn't 100% happy with it.
Thanks anyway :)
Geoff
Navigation:
[Reply to this message]
|