View Single Post
  #2 (permalink)  
Old January 20th, 2005, 03:08 AM
madhukp madhukp is offline
Friend of Wrox
 
Join Date: Oct 2003
Location: Cochin, Kerala, India.
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp
Default

You have to use $_GET["sid"] to get the value of sid.

You cannot use $sid to get the values. This was possible only in PHP versions before 4.2. You may however have this feature by changing php.ini file. You need to change the setting register_globals = on. But this is not recommended as there are some very serious security problems when you do this.

If you are using a version before 4.3, $HTTP_GET_VARS["sid"] will give you the value.
Reply With Quote