On Fri, 24 Sep 2004 16:15:19 +0530, Divick Kishore
<[EMAIL PROTECTED]> wrote:
>Another problem is that when the file is downloaded a new
>line character is added to the top of it unncessarily due to which it can't
>be opened with any image viewer.
>Once I reomove that newline character, it works fine.

Maybe that's the key to the problem. You may have a blank line
somewhere. Something like:

<!--- start of PHP file -->

<?php

code...

?>

The blank line before the "<?php" tag gets sent out before your
headers are sent.
Does the code have this?

HTH


----

ramil

http://ramil.sagum.net

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to