PDA

View Full Version : Javascript & PHP?


VF_Xenocide
09-01-2003, 05:09 PM
is there a way that i can put some javascript in every php file, its for pphlogger, and i have to put in:

<!-- PowerPhlogger Code START -->
<script language="JavaScript" type="text/javascript" src="pphlogger.js"></script>
<noscript><img alt="" src="http://www.valleyforums.com/pphlogger/pphlogger.php?id=valleyforums&st=img"></noscript>
<!-- PowerPhlogger Code END -->

vbulletin refuses to even load the page if i put this code up top

im using vbulletin 3 beta 5

Thanks

Zero Tolerance
02-09-2004, 03:40 AM
Code seems fine to me, not sure why you have noscript tags around an image tag though...

Only reason for js not loading i can see is the src is wrong :)

Natch
02-09-2004, 10:13 AM
is there a way that i can put some javascript in every php file, its for pphlogger, and i have to put in:

<!-- PowerPhlogger Code START -->
<script language="JavaScript" type="text/javascript" src="pphlogger.js"></script>
<noscript><img alt="" src="http://www.valleyforums.com/pphlogger/pphlogger.php?id=valleyforums&st=img"></noscript>
<!-- PowerPhlogger Code END -->


vbulletin refuses to even load the page if i put this code up top

im using vbulletin 3 beta 5

Thanks
What error do u get ?

Xenon
02-09-2004, 01:36 PM
this thread was half an year old...