I have a script that reads a file and delivers it to the browser as in:
$result=readfile($path."\x5c".$match);
where $path is the path to the source directory and $match is the file name.
When the page containing this script is secured using PHP4 session management, the file viewing utility (Brio freeview 6) reports a "file not found" error in IE5.5 and loads garbage in NS4.77. When I test without calling session_start() in the script, it works fine everywhere.
The only thing I can think of is that the file viewing helper app is choking on the session headers. Any ideas on trouble shooting or theories to chase from left field are appreciated. I'm stumped and don't know how to diagnose further.