PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Are you sure you can output $osCsid as I've tried the same code on my machine having changed the $osCsid =$_SERVER['osCsid'] to $osCsid = 'blah' and it works fine...
When using " (double quotes) the string doesn't have to escape to parse any variables in it, that's the difference between it and ' (single quote), which requires escaping as you had done.
Last edited by award on Tue Jul 15, 2003 10:59 am, edited 1 time in total.
i'm expecting a value transfered over to the next URL
osCsid=25a91828c35d3d480300e0117d063d29
its a session value that for some reason is dropped on a new page i made for OSC. I was trying to make a patch, it seemed quite straight forward at first, and i'm not at all sure why it wont work.
$_SERVER is for predefined server variables so it was unlikely to have an 'osCsid' element. It is important to use the right superglobal for the job and when it comes to user information - $_GET is from the URL, $_POST is posted form data, $_COOKIE is cookie data and $_SESSION is for information stored in a user session.