![]() |
PHP in templates?
How can i add a php line in one of my templates? I need to include() a script, but all my attempts were unsuccessfull :(
|
you cant do stright php in templates
you can only use php in 2 templates phpinclude_start and end |
Any way to use these templates to include() my script in the template called, for example, "scripttemplate" ?
|
$var = include(file.php);
put var into your template |
Quote:
|
i dont know php at all :) :D
|
see i did this
$fav = "include('./favs/')"; $fav in my postbit template and it shows up as this = "include('./favs/')"; |
Quote:
|
Quote:
$advertise = implode ('', file ('http://www.thecerealkiller.com/ad.php')); and where do i find all the spots where variable are listed... |
There is an example of howto include PHP files in the default phpinclude_start template.
|
Quote:
|
All times are GMT. The time now is 04:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|