How to have one mod call another mod and return?
I would like to imbed into a mod a "call" to a cleanup routine I've written in php and then return control to the mod. The mod would need to pass one parameter ($forumid) to the cleanup routine. Both php files are in the vb forum root directory.
How does one "call" to another php file and "return" control to the original file such as this?
As an aside, can anyone tell me what "vbflush()" does as I see many people putting it at the end of their routines and I can't find an explanation?
Thanks for any help here! -- Rik
ps: I assume I could make the cleanup routine a function within the mod but I really want to keep the two separate as I'll be using the cleanup routine for other things outside of the mod.
|