PDA

View Full Version : Echo and Include and how I can get them working


archaosus
03-10-2010, 11:48 AM
Im working with a coder at the moment on getting an md5 encrypting tool working for link protection inside of vbulletin however when I try and include the php I get failure - Im trying to construct it as bbcode so what I did was similar to this ;

<?php include 'file.php'; ?>
<a href="<"?php file.php '{param}',0,0,0; ?>">{option}</a>

however the output result is always

">{option}which links to file.php'etc etc

I can probably work this out if I can work out how exactly to get <?php echo "Hello World"; ?> to work in a bbcode or template. If I can get that working then I will be getting somewhere. Has anyone got any ideas or advice?

Marco van Herwaarden
03-11-2010, 09:32 AM
Please see the manual: Including External Files (http://www.vbulletin.com/docs/html/main/templates_externalfiles)