Page 1 of 1

strange problem when running google ads on php page

Posted: Fri Sep 30, 2005 9:45 am
by spew
My PHP skills are a bit patchy but i was hoping someone out there be able to help.
http://www.langlandsurf.com/LSD/test5.php
every no and then this page loads the jumps top a page with only http:// in the address bar.

Posted: Fri Sep 30, 2005 1:32 pm
by Skara
php = serverside, javascript = clientside.

There's no way javascript interferes with php, and php can't interfere with javascript.

The problem is likely either syntactical or logic. First double-check you have the google javascript in there right, then double-check the code around it. Espically anything that might modify headers.
Then see if you have a logic problem where a header variable isn't being set right. ;)