On Wednesday 13 October 2004 15:08, Francis Chang wrote: [snip] > access the post variables. My question is, is the $HTTP_POST_VARS global > still populated for backwards compatibility? In other words, if I have an > old script that has the following piece of code running on a PHP5.0 > environment with register_globals off (after submission of a form), would > it still work as expected? > > Function someFunction($variable) { > global $HTTP_POST_VARS; > > return IsSet($HTTP_POST_VARS[$variable]) > > } manual > Appendix B. Migrating from PHP 4 to PHP 5 see section "New Directives". -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* There are more dead people than living, and their numbers are increasing. -- Eugene Ionesco */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php