Back to vBulletin 3 Articles

  #1      
07 Jun 2006, 22:44
 
Join Date: Aug 2005
Posts: 251
Design: Blue Lagoon,Fixed
Get Date NOt Parsing from Vbulletin HELP?

Im using a script on my homepage that will rotate a header image each date and on my CMS it works fine. When I copied the exact code over to Vbulletin and put it in my header it acts weird like its not even parsing the command.

<img src="http://www.mysite.com/banners/<?php echo date("D"); ?>.jpg" />

is there a special adaption needed for Vbulletin files?

When I do this in vbulletin the image block show this

http://www.mysite.com/banners/%3C?php echo date(
and after the red box you get an additional jpg" />
text.

Can anyone please help me get this right

vblts.ru supports vBulletin®, 2022-2024