strange problem when running google ads on php page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
spew
Forum Newbie
Posts: 3
Joined: Fri Sep 30, 2005 9:41 am
Location: uk
Contact:

strange problem when running google ads on php page

Post 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.
User avatar
Skara
Forum Regular
Posts: 703
Joined: Sat Mar 12, 2005 7:13 pm
Location: US

Post 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. ;)
Post Reply