![]() |
Quick help with PHP. (PLEEEAAASSE!!)
I am wanting to run a script every so often, to move any threads with more than 1 reply from certain forums to another. Currently I have redirect.php under /includes/cron, but when I run it, nothing happens.
Here is the code: PHP Code:
Help? :ermm: |
Is that all that's in the file ?
"$db->query" should probably be "$vbulletin->db->query_write" :) |
Quote:
IT WORKED! A million thanks. :) |
Not absolutely necessary, but it's normal to include a check like this at the top of a cron file ;
PHP Code:
Quote:
|
LOL...hey thanks PAUL...this answered a question for me as well.
WOWSERS!!!! lol |
All times are GMT. The time now is 07:54 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|