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
Creating dynamic webpages in html file
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
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...
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