PHP and Yahoo! Web Hosting Custom Error Pages?
Is it possible to execute PHP scripts on Yahoo! Web Hosting's Custom Error Pages? The documentation says to create a file called "e404.html", but having the extension ".html" doesn't allow the PHP to execute. I know that Yahoo! can execute PHP pages, I'm specifically interested in knowing if there's a way to have PHP execute on the Custom Error Pages.
Public Comments
- Yes, Is it possible to execute PHP scripts on Yahoo! Web Hosting.
- If they require the .html extension then you could do a javascript redirect or meta refresh to a custom error php page. Hope that helps.
- Yes you can execute php on an html page. Include this line where you want to execute the script: <!--#include virtual="yourfile.php"--> In order for this to work you may need to modify your .htaccess file with the following info: AddType application/x-httpd-php .html Good Luck!
Powered by Yahoo! Answers