Forum Moderators: coopster

Message Too Old, No Replies

converting html to php

making some php file, while all other are html

         

jj2000

10:10 am on Dec 8, 2005 (gmt 0)

10+ Year Member



Hello;
I have a web site in html,
now I want to have a page or two in php.

1- is it ok to have couple of pages with php extension? while all my old pages remain with .html?

2- if I want to change the extension of all html pages to php is it ok to just write the following code in top of every page and change the extension to php? or just change the html to php?
I use Macromedia MX and PHAkt trial, I appreciate your help.

"<?php //PHP ADODB document - made with PHAkt 3.5.1?>"

I did use a software to convert html page to php page, but it did put tons of echo code in front of every single line of code inside all pages, i did not like it, so i did not use it,

thanks for reply.

wheelie34

10:24 am on Dec 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi

You can run any extensions you want as long as php is active on the server, its best not to rename the html files to php as search engines will see these as new files and will not find the old versions, if you need tor un php on the html pages just do the .htaccess changes to make them work.

jj2000

6:56 pm on Dec 8, 2005 (gmt 0)

10+ Year Member



thank you,
I blieve I let the html file be,