netlovers Posted December 2, 2006 Share Posted December 2, 2006 HiI have seen many websites using phpbb forum or coppermine photo gallery but all of the pages of phpbb or coppermine are in .html.So i wanna know how can i change my php pages of coppermine or any other script to html.Bye Link to comment https://forums.phpfreaks.com/topic/29249-html-pages-for-php-scripts/ Share on other sites More sharing options...
Hypnos Posted December 2, 2006 Share Posted December 2, 2006 Sounds like you're describing mod_rewrite for Apache. The real pages are still .php. The webserver translates the more friendly urls to point to, and pass information to, your scripts. Link to comment https://forums.phpfreaks.com/topic/29249-html-pages-for-php-scripts/#findComment-134100 Share on other sites More sharing options...
Psycho Posted December 2, 2006 Share Posted December 2, 2006 Not exactly sure what you mean. If you meant that the pages you receive have html code, then that is correct behavior. The PHP code is used to create the html that the browser receives.If you mean that the files names in the browser end in an .html extension, then that may also be done by configuring the server to process files with that extension as php files.You cannot implement phpbb (or any other PHP CMS) with flat html files. Link to comment https://forums.phpfreaks.com/topic/29249-html-pages-for-php-scripts/#findComment-134101 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.