Re: PHP don't capture variables
| From: | wes currier | Date: | Wed, 14 Mar 2001 08:22:41 +0000 |
| Subject: | Re: PHP don't capture variables | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-6006@lists.php.net to get a copy of this message | ||
So how do you fix variables not being passed to other files. For example
I have a form (form.htm) that calls form_parse.php.
The echo(); method should print them to the screen. It does not. I know
the files are good because I have tried them on another server. PHP is
running because phpinfo(); works. The variables are not being being
passed from one file to the other it seems.
If on the other hand I establish the variables at the top of the
form_parse.php it works.
so what's up?
wes
"Victor G. BIBE" wrote:
>
> Thanks Matthew, your has been the great help for my.
>
> I found that variable form are in $HTTP_POST_VARS array.
>
> Thanks very much.
>
> Victor
>
> -----Mensaje original-----
> De: Matthew Kendall [mailto:mdkendall@hotmail.com]
> Enviado el: Viernes 9 de Junio de 2000 21:05
> Para: php-windows@lists.php.net
> Asunto: Re: [PHP-WINDOWS] PHP don't capture http variables
>
> "Victor G. BIBE"" ?victorb@antartida.com? wrote...
> ? I have installed IIS3 and PHP4.
> ? The scripts run, but when print httpd variables are empty.
>
> Some variables (e.g. PHP_SELF) are intrinsic to PHP and are always
> available. Other variables that you see mentioned frequently (e.g. the ones
> that you noted) are simply environment variables that are set by the web
> server, which PHP makes available as PHP variables. Exactly which variables
> will be available in your situation depends on your environment and your web
> server. The ones that you see mentioned frequently generally relate to
> Apache. To see which variables are available to you do ??php phpinfo(); ??
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net