Building a module that evaluates PHP
Hello,
Extreme newbie question here.
I have a php function that I can call thru straight html pages like so:
<?php
require('BringIt.php'); print(BringIt(input=Database&style=last+user'));
?>
How can I get Vbulletin to parse and process BringIt.php ? I've put it in the modules directory but still do not see any output.
I first tried making a template that looks like:
<tr>
<td class="$bgclass">
<?php
require('BringIt.php'); print(BringIt(input=Database&style=last+user'));
?>
</td>
</tr>
And adding it to a module to no avail.
Idea?
Thanks in advance,
BarbT
|