Hi, I have spend several hours on the following issue, and I can't figure out what I am doing wrong.
Consider the next function: function CreateFileForRealPlayer () { global $playlist; $filename = $playlist[0]['url']; header("Content-Type: audio/x-pn-realaudio;"); echo ($filename); } This is a simplified version of the actual function: here, the function should get a url from a session variable ($playlist), and create a Real file on-the-fly that references to this file. The function works in Netscape (both cookies enabled and disabled), and in IE with cookies disabled, but not in IE when cookies are enabled. For some reason, in that configuration the value assigned to $filename is an empty string when it is echoed. However, it DOES have the proper value after the line $filename = $playlist[0]['url']; I am certain there is nothing wrong with the session variable itself (as said, it works in the configurations I mention above; it's the value of $filename that behaves strangely in IE. Any ideas? I am using php 4.0.4pl1 on HP-UX, IE 6.0, Win XP client side. TIA André Rosendaal -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php