Date: 06/08/01
- Next message: Daniel Bondurant: "RE: [phplib] no headers"
- Previous message: Stephen Woodbridge: "Re: [phplib] change values in Database over php-Script, how to do with input-type 'radio'??"
- Maybe in reply to: Daniel Bondurant: "[phplib] no headers"
- Next in thread: Daniel Bondurant: "RE: [phplib] no headers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I finally tracked down my problem.
I am using session4.inc, and when it calls session_open().
php sends cookie information to the browser. IE is choking on
conflicting header/cookie information. Not quite sure what the root of
the problem is yet, but if I switch back to session.inc it works just
fine.
here is a simplified version of the script.
If I comment out session_start it will work, with it in, it breaks (no,
not because the if statment is failing - I commented out that as well).
<?
ini_set(default_mimetype,"image/jpeg");
session_name("MySession");
session_start();
$path = "/images/foo.jpg";
if ($auth->auth["uid"]) {
header("Content-type: image/jpeg");
header("Content-length: ". filesize($path));
header("Content-Transfer-Encoding: binary");
readfile($path);
}
?>
I would rather use session4.inc, but until I resolve this, I cannot.
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Daniel Bondurant: "RE: [phplib] no headers"
- Previous message: Stephen Woodbridge: "Re: [phplib] change values in Database over php-Script, how to do with input-type 'radio'??"
- Maybe in reply to: Daniel Bondurant: "[phplib] no headers"
- Next in thread: Daniel Bondurant: "RE: [phplib] no headers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

