Re: PHP 4.0 Bug #7096 Updated: CGI-Error
| From: | Daniel Beulshausen | Date: | Tue, 31 Oct 2000 10:33:00 +0000 |
| Subject: | Re: PHP 4.0 Bug #7096 Updated: CGI-Error | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-36607@lists.php.net to get a copy of this message | ||
oh i forgot, the gpf is solved in cvs already...
daniel
> ID: 7096
> Updated by: dbeu
> Reported By: MajorTom@web.de
> Status: Closed
> Bug Type: *General Issues
> Assigned To:
> Comments:
>
> seems like you're not knowing what you're doing :)
> if you want to emulate a "real" cgi i suggest that you'd read yourself
into the cgi spec.
> http://hoohoo.ncsa.uiuc.edu/cgi/
> a "real" cgi is invoked via environment variables, and not via commandline
options, if you set the request_method without, specifying path_translated
it wont work.
>
> <<<
> set REQUEST_METHOD=GET
> set PATH_TRANSLATED=c:\path\to\php.doc
> php.exe
> >>>
>
> Previous Comments:
> --------------------------------------------------------------------------
-
>
> [2000-10-09 05:08:53] MajorTom@web.de
> PHP4 does not make any output, as sone the REQUEST_METHODE environment
variable is set.
>
> Test phpfile call: test.php
> conntens: <?phpinfo();?> (on a line by it self)
>
> open a dosbox window and type
> c:path to phpphp.exe test.php
>
> this will work , you see the output!
>
> now type:
> SET REQUEST_METHOD=GET
> c:path to phpphp.exe test.php
>
> the output looks like this:
> X-Powered-By: PHP/4.0.2
> Content-type: text/html
>
> No input file specified.
> <br>
> <b>Warning</b>: Unable to call ÿ☺x() - function does not exist in
<b>Unknown</b
> > on line <b>0</b><br>
> <br>
> <b>Warning</b>: Unable to call ¿☻x() - function does not exist in
<b>Unknown</b
> > on line <b>0</b><br>
> <br>
> <b>Warning</b>: Unable to call ©☻x() - function does not exist in
<b>Unknown</b
> > on line <b>0</b><br>
> <br>
> <b>Warning</b>: Unable to call ╚☻x() - function does not
exist in <b>Unknown</b
> > on line <b>0</b><br>
> <br>
> <b>Warning</b>: Unable to call Ï☻x() - function does not exist in
<b>Unknown</b
> > on line <b>0</b><br>
>
> and so on until a general protection fault commes up.
>
> What is wrong ???????
>
> Mfg. Thomas, Germany
>
>
/*--
daniel beulshausen - daniel@php4win.de
using php on windows? http://www.php4win.de