Hey guys just thought I would mention it... forgive me if its already been mentioned. This is for everone who is planning on upgrading to 4.2.0. You will no longer be able to do:
user.php
<FORM METHOD=\"POST\" ACTION=\"process.php\">
<INPUT TYPE=\"text\" NAME=\"username\"><BR><BR>
<INPUT TYPE=\"submit\" value= \"Submit data\">
</form>
process.php
<?
echo (\" Welcome, \" . $username);
?>
instead. Here is what you will have to do:
user.php
<FORM METHOD=\"POST\" ACTION=\"process.php\">
<INPUT TYPE=\"text\" NAME=\"username\"><BR><BR>
<INPUT TYPE=\"submit\" value= \"Submit data\">
</form>
process.php
<?
echo (\" Welcome, \" . _$POST[\"username\"]);
?>
I think that is right. As I said if this has been mentioned before or kind of a duh, sorry, I just know that when ppl upgrade there is going to be a flood of this:
UPGRADED TO 4.2.0 and PHP scripts wont work
So Hope this Helps!
(Oh yea and you can turn the old way back on by editing your php.ini file to:
register_globals = ON
)
http://www.php.net/release_4_2_0.php