create HTML page on the fly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys.

I've created a small newsletter application and the content of the newsletter is stored in a DB (the HTML).

However once the newsletter is complete and the user clicks a button I want the newsletter/html file to be created on the server. How do I go about this?

I assume that I will use fwrite() to add the HTML to the file, I need to know how to actually create the file before adding the content to it.

thanks in advance.
Angelo

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux