Re: Re: $_GET and $_POST arrays not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matt Monaco wrote:
I apologize, but I've never been able to access $_POST and $_GET in any context whatsoever without first turning on the register globals.

If you have a form like this one one page...

<form action="page2.php" method="post">
<input type="hidden" name="foo" value="bar" />
<input type="submit" />
</form>

And this on page2.php...

<?php

echo ( $_POST['foo'] );

?>

And the output on page2.php is not 'bar' when you submit the form, something is very wrong with your install.

--
By-Tor.com
...it's all about the Rush
http://www.by-tor.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux