| |||
|
I'm on the linux plan With my old host I've been using php includes like this Code: <?php include ("http://www.mysite.ie/common/t_header.htm"); ?>
Code: Action application/x-php /cgi-bin/php AddHandler application/x-php .html .htm This wont work for me now, Do I need to switch something on in the control panel? |
| ||||
|
You might need to look at the handlers in the web config for your php in .html files (not sure if it will work, but that's where I'd look) As for the includes ... why are you using the full domain name and not a relative path?
__________________ Please do not send me PMs for support issues - thanks for your understanding. Blacknight Blog | VPS Hosting| Blacknight Technical Status Blog | Hosting Wiki |Speed Test|Webmaster Chat |Personal Blog |
| |||
|
Sorry, I'll phrase my question differently. I'm using the Medius Hosting plan (Linux) How can I use a php include call a header to pages on my site? If you can tell me what to put in the .htaccess file and show me code to use in the actual include that would be great. |
| ||||
| Quote:
Login to your control panel and in the "website configuration" section choose the "advanced" tab. You can add extra handlers there
__________________ Please do not send me PMs for support issues - thanks for your understanding. Blacknight Blog | VPS Hosting| Blacknight Technical Status Blog | Hosting Wiki |Speed Test|Webmaster Chat |Personal Blog |