I also tried this script, all working correctly
I have a question about login with external script - now trying to understand the logic from login.php file... Maybe, anybody can get me advice or code example for login (user authorization) with external script?
--------------- Added [DATE]1275366761[/DATE] at [TIME]1275366761[/TIME] ---------------
Quote:
Originally Posted by Lynne
If you aren't putting that page into the vbulletin forums directory, then it isn't going to work as is. You would need to use the chdir line. So, where are you putting it (let's see your directory structure) and then what is your chdir line?
|
something like this:
Quote:
$dir = getcwd();
chdir(getcwd().'/forum');
include_once('global.php');
chdir($dir);
|