...

View Full Version : COOKIE-SESSION-GET all exist , what get ?



lse123
03-15-2008, 03:18 PM
$a1=$_COOKIE['a1'];
$a1=$_SESSION['a1'];
$a1=$_GET['a1'];
If we have all the above in a webpage what value of $a1 will be ?

InsaneRhino
03-15-2008, 03:35 PM
it will be the last defined variable, therefore

$a1 == $_GET['a1'];



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum