My server is badblue. THe php test works. BUt when the file name is anything.html the following code does NOT display the phpinfo...
<html> .... <?php phpinfo(): ?> .... </html>
I think it is something to do with badblue not recognising .html files as needing processing.
Steve
Yeah, I think you have to rename you files which contain PHP to *.php files.
I think a lot of servers do not reconize PHP in a .html file 😉
Btw: you have made a little error: change the : in a ; (at the end of phpinfo())
Yeah, what sgoku01 said...
You could tell PHP to recognize .html files as PHP files, but that's not a good idea. The best idea is to rename your file with a .php extension.