I am trying to do a search and replace into a text file that will then get saved to a new name once the info has been replaced. So I have been able to do this with simple ..['name'] variable replace. But how do I get it to save the results into a text file. Program work Flow - for creating a PDF document online of a business card of a set document, Business card. Go to site, put in your name, phone and other needed fields. I have a PostScript file of the Business Card in the layout that we have. There is a replace that is done in the PS file for the name and other info. And then the file is to be saved with the changes. Thanks Ryan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php