Page 1 of 1

Creating dynamic webpages in html file

Posted: Wed Jun 22, 2005 1:47 pm
by Janu
Hi experts,
I am given a task to generate dynamic webpages but the end file should be in html format i.e. *.html. Instead of displaying .php extension at the end, I just want to display it as simple html file.
One more thing, I also need to develop a Webservice kind of thing (in Php) through which I would be retriveing data (files) from my server and I should be able to edit them freely and upload it back to the server so that the end users would be able to see updated html file on their browser easily.
If I have confused you, drink Cappuccino !! and then answer me , but please answer as I am stuck and ran out of Cappuccino.
Janu

Posted: Wed Jun 22, 2005 2:05 pm
by shiznatix
dont cross post pppppplease

Posted: Thu Jun 23, 2005 3:21 am
by srirams
If you want to create a create a HTML file on the fly you might want to look at the code used in Big Brother application. http//bb4.com i think. Check the actual URL in google.
Probably you might have to have a compiled program to do that.

Cheers

Posted: Thu Jun 23, 2005 5:22 am
by Chris Corbyn
Add .html to the php handler in httpd.conf if you use apache.

All HTML files will now parse any PHP code contained inside them before sending data back to the browser. The end-user knows no different ;)

If I remember rightly...

Code: Select all

AddHandler php-script .php .html