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

[PHP] PHP to HTML

2003-12-08 Thread Steve Marquez
Greetings! Is there a way to have PHP write an HTML file? What I would like to do is have a user fill out a form, then have the information write an HTML file and then save the file either for the first time, or overwrite the existing one. I hope this makes sense. Can anyone help? -- Steve Marq

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
cheers > -Original Message- > From: Jean-Christian Imbeault [mailto:[EMAIL PROTECTED]] > Sent: Monday, 30 September 2002 3:46 PM > To: [EMAIL PROTECTED] > Subject: [PHP] .php to .html? > > > I am using PHP 4.2.3 and Apache 1.3.26 > > When a user comes to on

[PHP] .php to .html?

2002-09-29 Thread Jean-Christian Imbeault
I am using PHP 4.2.3 and Apache 1.3.26 When a user comes to one of my php pages it comes out has http:..ip/page.php How can I make my pages come out as .html instead of .php? Thanks! Jc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php