Hello:
I am having a problem using the header() function. I am using this function
in a script that is used to download files.
When used, I am getting a blank page with some junk characters and
some html code, that I haven't created. And in the location its showing
the correct url.
Details:
Function used in the script:
header("Location: http://www.test.com/pdf/test.pdf");
The page I got after executing the script is a blank page with the
following source code (junk characters in their respective html code).
###
ÿp
<html><body><embed width=100% height = 100% fullscreen = yes src =
http://www.test.com/pdf/download.php3></body></html>
###
The embed src is the name of the script file. But in the location field its
showing the pdf url. This happened in some version of IE browser.
Please help me to solve this issue.
Many Thanks
Sheni R Meledath
[EMAIL PROTECTED]
--
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]