Page 2 of 2

Posted: Thu Feb 08, 2007 8:35 pm
by MyPersianBay
Thanks Owen, I'll try to fix them.

Jude, correct. I have a page that I want to embed S9Y in it. I have limited knowledge of PHP and or HTML. that's why I'm stuck!

Posted: Thu Feb 08, 2007 8:46 pm
by Don Chambers
When I look at your homepage source, I see <html>, <head> and <body> tags opening and closing numerous times. That is why I pointed you to the validator link in an earlier message.

Posted: Thu Feb 08, 2007 8:52 pm
by MyPersianBay
Thanks Owen, I'll try to fix them.

Jude, correct. I have a page that I want to embed S9Y in it. I have limited knowledge of PHP and or HTML. that's why I'm stuck!

Posted: Thu Feb 08, 2007 9:17 pm
by MyPersianBay
I corrected the first error by adding // and omiting this line "header('HTTP/1.0 200')"

here it is:
http://www.mypersianbay.com/serendipity1/test.php


Update:

I fixed it all! Thanks all for your help.

Here is the trick:
I didn't need these lines in the wrapper!
chdir("http://www.mypersianbay.com/serendipity1/");

Also since the header was already printed, I elliminated all the lines relating to the header in the index.php file.