kennymoens
New Member
Hi,
My script:
$url is filled by a mySQL database, I'm sure it returns a correct URL, it is a *.zip file.
When I enter the page, i get, instead of a download, a page with the content of the zip file in text format (all chinese signs or something strange).
[EDIT]
There is no "Content/Type" above this text (yes, it is, but in another function. Which is not called before this one.
[/EDIT]
Hope you can help.
My script:
Code:
print "Location: $url\n\n";
$url is filled by a mySQL database, I'm sure it returns a correct URL, it is a *.zip file.
When I enter the page, i get, instead of a download, a page with the content of the zip file in text format (all chinese signs or something strange).
[EDIT]
There is no "Content/Type" above this text (yes, it is, but in another function. Which is not called before this one.
[/EDIT]
Hope you can help.
Last edited: