I used different chars for testing purposes only.  chr() function helped
with the original problem.  Again, the new problem is that the Text is not
downloading as a file.  It is just being printed to the screen.  Any ideas
why it wouldn't be prompting the downloading?

-Kevin

----- Original Message -----
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "'Kevin Stone'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, September 06, 2002 1:21 PM
Subject: RE: [PHP] Line Breaks in dynamic Download


> [snip]
> <?
> header("Content-type: application/octet-stream");
> header("Content-Disposition: attachment; filename=TEST.txt");
> echo "LINE ONE".chr(13)."LINE TWO".chr(10)."LINE THREE";
> ?>
> [/snip]
>
> Try this;
>
> <?
> header("Content-type: application/octet-stream");
> header("Content-Disposition: attachment; filename=TEST.txt");
> echo "LINE ONE".chr(13).chr(10)."LINE TWO"chr(13).chr(10)."LINE THREE";
> ?>
>
> HTH!
>
> Jay
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


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

Reply via email to