My web host upgraded to php 5 (from 4.47, iirc) and now my code fails. It seems the basic cause of the failures is that NONE of my $_POST variables are showing up, and thus are treated as null / undefined / false. What gives? I though $_POST was php 5 compatible.$_POST should always be available. Without more information (specific error messages, for example), it's hard to debug.
The most common problem I see when such upgrades occur is scripts that depend on register_globals no longer working. But in that case, the problem is that the old script does not reference $_GET['name'] or $_POST['name'], but instead expects $name to be set.If you could, make a simple example of submitting a form and try echo'ing back its contents. If that fails, show us the exact code you used.
The most common problem I see when such upgrades occur is scripts that depend on register_globals no longer working. But in that case, the problem is that the old script does not reference $_GET['name'] or $_POST['name'], but instead expects $name to be set.If you could, make a simple example of submitting a form and try echo'ing back its contents. If that fails, show us the exact code you used.