my code is independent of vbulletin, i even made sure there is a connection to the database from my script, there are no globals in use as far as i know. my script could run standalone without vbulletin installed so its user independent.....
the complete code is listed above (first post in the thread).
any other ideas?
My cron job was totally independent of vb also - it was for my tracker. But, when I talk about the global problem, I'm talking about ones like this:
Code:
function startTag($parser, $name, $attrs) {
global $stack;
$tag=array("name"=>$name,"attrs"=>$attrs);
array_push($stack,$tag);
}
I was no longer able to declare something as global like that in my functions. I had to change all my code to pass the variable. So, in the example there, I had to pass $stack, not declare it as global like I had been before.