Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can !
Moderator: General Moderators
nadeembabar
Forum Newbie
Posts: 4 Joined: Fri May 12, 2006 5:04 pm
Post
by nadeembabar » Thu Aug 31, 2006 12:38 pm
Hi
I've recently moved to new server, my sites pages uses the SSI
Code: Select all
<!--#include virtual="/includes/header.php"--> and
Code: Select all
<!--#include virtual="/includes/footer.php"--> after moving I am getting the blank pages in result. I tried to include the html file it was successfuly included
Code: Select all
<!--#include virtual="/includes/footer.html"--> . I only can include .html or .htm files. My site coding is in php files (header & footer). It is 5000 pages in my site, all are using the ssi to include the php header footer. Please help me to sortout this problem or any alternative method or something else.
Thanks in advance
Nadeem
Luke
The Ninja Space Mod
Posts: 6424 Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA
Post
by Luke » Thu Aug 31, 2006 12:41 pm
are the pages that these lines are in php or html?
nadeembabar
Forum Newbie
Posts: 4 Joined: Fri May 12, 2006 5:04 pm
Post
by nadeembabar » Thu Aug 31, 2006 12:48 pm
Thanks you for reply,
These are html files....
Luke
The Ninja Space Mod
Posts: 6424 Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA
Post
by Luke » Thu Aug 31, 2006 12:51 pm
If it's possible to convert them to php files, you can just do php includes instead... otherwise I'd talk to your hosting provider to see why it won't include php files with ssi
EDIT: Unless of course you are your hosting provider... in which case... I'm unsure what you should do
nadeembabar
Forum Newbie
Posts: 4 Joined: Fri May 12, 2006 5:04 pm
Post
by nadeembabar » Thu Aug 31, 2006 1:03 pm
As I've not much knowledge of webservers, I was thinking that it can be done by adding .htacess commands. Now I am going to email my hosting compnay.
Thank you very much Guru to guide me.
Luke
The Ninja Space Mod
Posts: 6424 Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA
Post
by Luke » Thu Aug 31, 2006 1:10 pm
Just cuz it says so under my name doesn't mean it's true... I'm definately no guru... but glad I could help (did I even really help lol)