Ok, I took a word document, saved it as an rtf then opened the document in a text editor so that I could see all the rtf code. I then added this code to my script $fp=fopen("documents\off.rtf",w); $outputstring=""; fwrite($fp, $outputstring);
For the outputstring, I simply cut and paste the rtf code. I do not get any errors but when I open the new file I created, there are blank lines between each line of rtf code and when it is opened in word, it shows all the rtf code. Is there something else I should do....I knew it couldn't be this easy. I tried escaping all the characters in the string such as /,;,{ but that didn't work either. Thanks, Eddie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php