Re: [PHP] PHP to HTML

2003-12-08 Thread Chris Shiflett
--- Steve Marquez <[EMAIL PROTECTED]> wrote: > Is there a way to have PHP write an HTML file? Sure. This is no different from writing any other file. If you want it to write a file instead of outputting the content, a convenient way (my opinion) of doing this is to use ob_start() at the top of yo

RE: [PHP] PHP to HTML

2003-12-08 Thread Chris W. Parker
Steve Marquez on Monday, December 08, 2003 12:28 PM said: > Greetings! Hi. > Is there a way to have PHP write an HTML file? Yes. Start here http://us2.php.net/manual/en/function.fwrite.php. Chris. -- Don't like reformatting your Outlook replies? Now there's reli

Re: [PHP] .php to .html?

2002-09-29 Thread Jean-Christian Imbeault
Peter Houchin wrote: > > just save the files u create as .html make sure in your apache httpd.conf > where you reference for .php that u have html in here as well and all will > be sweet. > > eg in this line > > AddType application/x-httpd-php .php4 .php .htm .php3 .html Super! That helps *so*

RE: [PHP] .php to .html?

2002-09-29 Thread Peter Houchin
just save the files u create as .html make sure in your apache httpd.conf where you reference for .php that u have html in here as well and all will be sweet. eg in this line AddType application/x-httpd-php .php4 .php .htm .php3 .html anything you put in that line will be passed through php c