rjcfan4ever Posted July 27, 2011 Share Posted July 27, 2011 How to change a HTML page into a PHP page? Thanks, Rjcfan4ever Link to comment https://forums.phpfreaks.com/topic/242945-how-to-change-a-html-page-into-a-php-page/ Share on other sites More sharing options...
bamfon Posted July 27, 2011 Share Posted July 27, 2011 Just change the file extension from html/htm to php open it up in notepad and press save as and put php at the end of its name Link to comment https://forums.phpfreaks.com/topic/242945-how-to-change-a-html-page-into-a-php-page/#findComment-1247855 Share on other sites More sharing options...
rjcfan4ever Posted July 27, 2011 Author Share Posted July 27, 2011 Okey thank you Link to comment https://forums.phpfreaks.com/topic/242945-how-to-change-a-html-page-into-a-php-page/#findComment-1247856 Share on other sites More sharing options...
AyKay47 Posted July 27, 2011 Share Posted July 27, 2011 test.html would be test.php remember that when using a php extension, you are able to incorporate HTML, PHP, javascript etc... with an .html or .htm extension, PHP is not valid... Link to comment https://forums.phpfreaks.com/topic/242945-how-to-change-a-html-page-into-a-php-page/#findComment-1247861 Share on other sites More sharing options...
trq Posted July 27, 2011 Share Posted July 27, 2011 Unless you configure your server to serve .html files via the php interpreter. Link to comment https://forums.phpfreaks.com/topic/242945-how-to-change-a-html-page-into-a-php-page/#findComment-1247864 Share on other sites More sharing options...
AyKay47 Posted July 27, 2011 Share Posted July 27, 2011 ah yes, thanks thorpe for that Link to comment https://forums.phpfreaks.com/topic/242945-how-to-change-a-html-page-into-a-php-page/#findComment-1247867 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.