[PHP] Re: post doesn't work?
If you have register globals off, you must use $_POST['name'] and not $name. Check your php.ini (? phpinfo(); ?) -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Matt Zur [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://www.zurnet.com Need a Web Site??? - Visit... www.zurnet.com 1997 - 2002 - 5th Anniversary!!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: post doesn't work?
Didn't seem to fix it. -Matt [EMAIL PROTECTED] wrote: If you have register globals off, you must use $_POST['name'] and not $name. Check your php.ini (? phpinfo(); ?) -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Matt Zur [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://www.zurnet.com Need a Web Site??? - Visit... www.zurnet.com 1997 - 2002 - 5th Anniversary!!! -- Matt Zur [EMAIL PROTECTED] http://www.zurnet.com Need a Web Site??? - Visit... www.zurnet.com 1997 - 2002 - 5th Anniversary!!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php