coldweather9 (coldweather9) wrote in phpprincess,
coldweather9
coldweather9
phpprincess

PHP code in HTML file

Thank you for all your help!

I've noticed that if I put a PHP script in a html file, the PHP code is ignored by the server. It only works if the file has a PHP extension. Is there any way to work around this problem? I would like to insert PHP code in my html files and quit worrying about changing the file extensions.
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

  • 4 comments