and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
[quote="volka"]
What about dbinfo.inc.php? Is there a space before <?php oder after ?> ..somewhere?
[/quote]
Cut and paste of dbinfo.inc.php
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Will check the download script out shortly. Thanks!
Ok now there was a space after the ?> in dbinfo.inc.php and after it was removed things are working as they should (I owe you one big time). Thank you Thank you Thank you!!!!
Please explain to me on why this made such a dramatic difference in how the file was downloaded? Was it because it would have been an html <space> that was transferred before the echo of the binary data?
By my default thinking, that should have been ignored. Something so little caused me so many headaches you wouldn't believe.
Anything outside a <?php ?> block is sent as-is to the client.That also applies to included files. If the script execution reaches the non-php block, all characters are sent to the client.
Obviously you have some kind of buffer active or otherwise the header() statements would have failed. And I just learned, that flush() is not enough to clear a buffer installed by output_buffering=4096 in php.ini :-S
It should have been