Re: HTML -> PHP -> HTML calling sequence
| From: | (Chris Adams) | Date: | Sun, 22 Apr 2001 05:27:09 +0000 |
| Subject: | Re: HTML -> PHP -> HTML calling sequence | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-6959@lists.php.net to get a copy of this message | ||
On 21 Apr 2001 17:06:05 -0700, Bob Sears <rsears@onet.net> wrote:
>
>I'm stuck. Module A is a HTML program with a FORM/ACTION/GET that xctls to
>a PHP module. I have no problem getting to
>the PHP module, displaying a dummy screen, and returning to the HTML
>program. In a PHP text I perused through at Border's,
>the text said to access STDIN via:
>
>$fh = open("PHP://stdin","r")
>
>to get the stuff that is being passed via the method=get from the HTML
>module. However, when I issue that command
>and look at the contents of stdin, it's nothing. No data is being retrieved.
Did that work without error? I thought that the php: urls needed to be lower
case.
In any case, is there any reason why you can't iterate through the
$HTTP_GET_VARS array? IIRC, the stdin method only works with CGI programs.