Sorry if this was discussed here already.
I search and all responses were pointing to changing the Apache config line or redirecting to a .php file.
My server do not allowed me to have the
.htaccess file changed to
AddType application/x-httpd-php .html
So I had to discard that option.
Also, the page I'm talking about has many years of exposition. It's in thousands of links all over, so I really don't want to change it to #*$!.php
I have one line of PHP embedded inside my .html file that reads an XML file and displays it.
Is there any command that I can add at the beginning of my .HTML file that will make that php line run?
Basic, this is the line:
What I need is just run this, inside the .html file, w/o touching the apache configuration. Any chances to do it?
THank you all for the ideas.
Also, I'm new on this PHP and server issues, so be nice! :)
[edited by: ehm01 at 10:33 pm (utc) on Sep. 25, 2008]