Hi...

How do I get an EOF character when echo'ing an web page which will be
written to an file.??

What I am trying to do is the following. I have an textstring (variable):

Then I do the following:

      header("Content-disposition: filename=CLIEOP03");
      header("Content-type: application/octetstream");
      header("Pragma: no-cache");
      header("Expires: 0");
     echo ("$datestring");

($datastring contains the text)

My browser pops up with a box to ask if I want to save this file..

The problem is, that when I save this file it has no EOF character at the
end.. Normally I then use my text editor to open the file and then I just
save it again to get the needed character.. I generate this file for an
application..

The problem is that the application won't accept the file if there is no EOF
character..

What is the correct characters to use to get an EOF character??

Thanks for the help..

Bye Bye
David


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to