Quote:
Originally Posted by Bergman
In order to get OakGallery to work with vB 3.0.3 it would be really great if someone could help me with a PHP script.
The only thing i need to know how i can find out the userid & username for the user that runs the PHP script. Anyone who can help me out ? Please. 
|
At the top of the Oak script add this:
PHP Code:
require_once('./global.php');
then to get the userid -> $bbuserinfo[userid] and for the username -> $bbuserinfo[username]