Re: post doesn't work?
| From: | nicos@php.net | Date: | Wed, 04 Sep 2002 22:27:38 +0000 |
| Subject: | Re: post doesn't work? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115238@lists.php.net to get a copy of this message | ||
If you have register globals off, you must use $_POST['name'] and not $name.
Check your php.ini (<? phpinfo(); ?>)
--
Nicos - CHAILLAN Nicolas
nicos@php.net
www.WorldAKT.com - Hébergement de sites Internet
"Matt Zur" <mattz@zurnet.com> a écrit dans le message de news:
3D7682A5.1070604@zurnet.com...
> I have a form that posts to another php file. But it won't display the
> var? It just shows a blank screen.
>
> For example
>
> test.php has form input name
> test2.php prints name
>
> On test2.php it shows a blank screen, but if I assign $name on test2.php
> and reload, it will print the var. Is there something in the php.ini
> that I have to change to get vars to post? or some setting somewhere else?
>
> -Matt
>
>
>
> --
> Matt Zur
> mattz@zurnet.com
> http://www.zurnet.com
>
> Need a Web Site??? - Visit... www.zurnet.com
>
> 1997 - 2002 - 5th Anniversary!!!
>