Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Help

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Watch
Impact
19
hey
can any1 tell me how to use php in VBULLETIN template file?

so basically this the template file

PHP:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle]</title>
$headinclude
</head>
<body>
$header

$navbar

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">Title</td>
</tr>
<tr>
	<td class="alt1">Text</td>
</tr>
</table>

$footer
</body>
</html>


BUT INSTEAD OF "TEXT" i would like to add

<?php include('./main.php'); ?>

But when i do it..it doesnt work

can any1 please help me out
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Try one of these
Code:
<?php include("../main.php"); ?>
<?php include('../main.php'); ?>
 
0
Close
I did
but it doesnt execute any php code :-s

maybe its cuz of the first line tht states

$stylevar[htmldoctype]
?
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Member card: see how many threads a member started
The member card now shows a Threads number, right after Posts. The member card is the box that opens when you point at a name. Profile...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back