
Page: 1
So.. yeah I know the difference and basic stuff between the two. I just have a really stupid question.
Imagine you have a working site all in HTML that uses iframes. Is there anything bad that'll happen if you rename all the .html files to .php ?
Kinju said:And K.H.A.W.D.? Meh! Hardly even a bother.
Imagine you have a working site all in HTML that uses iframes. Is there anything bad that'll happen if you rename all the .html files to .php ?
Kinju said:HTML is a "dead" language.. the files are stored on the server, and are sendt "as is" to the client.. PHP is kinda like an extention to html.. in that a .html file when renamed to .php is a valid php file, and will give the same results... When putting <?php CODE ?> somewhere within the file.... the php code in the block will be executed by the web server before, and the result will be a .html file that is then send to the client.
Jabber: antialize[at]gmail[dot]com
MSN: antialize[at]hotmail[dot]com
ICQ: 155437447
MSN: antialize[at]hotmail[dot]com
ICQ: 155437447
So is there anything I can do to quickly/easily convert my HTML files to PHP without messing up the page/formats?
Kinju said:And K.H.A.W.D.? Meh! Hardly even a bother.
Kinju said:Sure... just rename the file from *.html to *.php!
Jabber: antialize[at]gmail[dot]com
MSN: antialize[at]hotmail[dot]com
ICQ: 155437447
MSN: antialize[at]hotmail[dot]com
ICQ: 155437447
Antialize said:
kalajel said:I am. It will!!
Jabber: antialize[at]gmail[dot]com
MSN: antialize[at]hotmail[dot]com
ICQ: 155437447
MSN: antialize[at]hotmail[dot]com
ICQ: 155437447
He already just clarified it. PHP is basically HTML plus more so you can easily convert HTML to PHP although it might not work the other way around (if HTML cannot register some PHP language).
Closed for the time being. Meanwhile, Fiducia could always reopen/make a new thread if she has a new question.
Closed for the time being. Meanwhile, Fiducia could always reopen/make a new thread if she has a new question.
Page: 1



