Justtechjobs.com Find a programming school near you






Online Campus Both


php-windows | 2001042

Re: [PHP-WIN] HTML -> PHP -> HTML calling sequence From: Chris Adams (chris <email protected>)
Date: 04/22/01

On 21 Apr 2001 17:06:05 -0700, Bob Sears <rsears <email protected>> 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.

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe <email protected>
For additional commands, e-mail: php-windows-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>