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!
Hey,
Im using a javascript function inside my header.php, which I include on every page. On a certain page I want the header.php to change its contents a little so that the javascript will run (by changing the body tag to body="cookiecheck()") . How do I tell the included page to execute the change?
The reason I would prefer not to use sessions or cookies and rather $_GET, is because the javascript that I am trying to run checks to see if javascript and cookies is enabled on my users browser. I cant make it run with cookies because it would only run on users with cookies and defeat the purpose of the script.