Hey everyone, My php 4.2.3 does not recognize the $_POST variable as an array and/or does not display its content. Can someone help figure out what's wrong.
The following statement returns a blank page; while(list($k,$v) = each($_POST) ) { echo "$k : $v <br>"; } This, from a form with method="POST" and php with REGISTER_GLOBALS=on and TRACK_VARS=on. I've ran into this before, but didn't think much of it--I simply went back to $HTTP_POST_VARS. However, it's starting to come up so often, that It's becoming an issue. Am I missing something? I've noticed this on a couple of servers. For this server, PHPINFO does not list $_POST or $_GET as a server variable (it also doesn't show $HTTP_POST_VARS/POST). Is that normal? If not, then how do I enable it? Any help, would be greatly appreciated. Soma additional notes: -The page is being accessed via HTTPS -print_r($GLOBALS) and print_r($_POST) will both list the content of $_POST. -however, each($GLOBALS[_POST]) shows nothing. (see sample code, above). =P e p i e D e s i g n s www.pepiedesigns.com Providing Solutions That Increase Productivity Web Developement. Database. Hosting. Multimedia. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php