Divick Kishore wrote:
Indeed you figured it right. I do have a new line at the top of the
<?php tag. Removing that has solved the problem partially at least the
newline is not being appended. But the problem of file name is still there.
The download popup asks for the file name as DownloadScript.php which
contains the code below.
Do you have
header('Content-Disposition: attachment; filename=' . $relative_file);
or
header('Content-Disposition: attachment; filename=' . $fileName);
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php