1. I`m trying to do a bridge between a script that uses sessions and vbulletin. I`m having a hardtime creating a session bridge since I don`t know what I should really integrate with the script, so it would automatically login the user in vBulletin. Any hints ? Code that I`d need to check ?
I got to the part that I need to use :
PHP Code:
$curdir = getcwd (); // gets current dir
chdir(FORUMPATH); // changes to the forum dir
require_once(FORUMPATH .'/global.php'); // loads up vb functions
chdir ($curdir); // changes back to the directory
2. Another question is why not use the require_once directly ?
Regards,
Adrian