Quote:
Originally Posted by Tourmeister
Thanks.
How would I incorporate that into a PHP script that I could run from my browser or the task scheduler in the Admin CP? Wouldn't it need to include the config.php or something to be sure that it could log into the database?
|
Yes, you will need to include global.php and use $vbulletin->db>query_write("QUERY");.
Quote:
Originally Posted by Tourmeister
Lastly, would the "TABLE_PREFIX" variable work within the PHP script file?
|
It only works within PHP files that have global.php included.