The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
connect.php
Ok...connected.... then if I go to a different file, im not connected anymore! I figure there is some sort of includes command for this? Then Zach said VB uses a string... $Db-class I haven't been able to find anything on the net yet for this, any help? |
#2
|
|||
|
|||
![]()
do a require once in your new php file
|
#3
|
||||
|
||||
![]()
Like this?
Code:
require_once('database.php'); My class is as so... $dbh = mysql_connect($hostname, $username, $password) if $dbh connect == true print connected! I figure its something roughly like that IoI... |
#4
|
|||
|
|||
![]()
yes, just make sure the path is relative or something... making sure it's pointing to the right directory...
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|