Results 1 to 2 of 2
Thread: Whats the problem when ..
Jun 26, 2007, 21:12 #1
Whats the problem when ..
Hello forums !!
I am curious about some questions.
what happens when the session name and the $_POST vars or $_GET vars names are same.
$_SESSION['sess_name'] = "xyz";
$_GET['sess_name'] = "abc" ;
Jun 26, 2007, 21:30 #2
- Join Date
- Jun 2007
- Santa Monica, CA
- 0 Post(s)
- 0 Thread(s)
Nothing special, if you have register_globals off (which you should).
A horror show if you have it turned on.
You used to be able to determine the order variables would be set with variables_order (can you still?). So if it was set to "EGPCS" (which I believe was the default), then ENV, GET, POST, COOKIE and SERVER get set in that order (which is the most logical, to make sure SERVER variables aren't overridden by GET or POST).Advertise on Glowfoto
banners as low as $25/month, text ads $10/month
Share 10 million impressions per month!