View Full Version : php commands in html files>> is it possible?
b
December 17th, 2000, 06:23
to use SSI commands you need to use shtml files not html but with alittle changes to your server you can use it in html files.
now is it possible to do the same for php commands so it can be used in html files and not with php files
jw
December 17th, 2000, 12:16
sure just add the following to your .htacces file.
If your server provides php3:
AddType application/x-httpd-php3 html
or if your server provides php4:
AddType application/x-httpd-php html
b
December 18th, 2000, 03:50
thankyou!
is it too much load on the server?
jw
December 18th, 2000, 12:06
nope, if it doesnt find any php commands, it just spits it right back out to the client.
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.