> $header="
> Content-type: application/pdf
> Content-type: application/x-octet-stream
> Content-Disposition: inline; filename=D:\\Pdf\\0226138097(57-77).pdf
> Content-Length: $len";

You need a separate header() call for each header.

You *DEFINITELY* do *NOT* want a newline in front of the first header, since
a newline indicates the *END* of the headers.

Actually...  I *GUESS* you could do one call to header() with newlines in
between, and the header function will tack on the last one for you...  But
that's not how the function was designed to be called, nor how normal usage
works...  It would work, but would be a Bad Idea (tm).

> header=($header);

Get rid of the = sign.

WARNING [EMAIL PROTECTED] address is an endangered species -- Use
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to