Including files with the same function names as existing funcs
Alright, so I've got a bit of a problem here. When I coded my existing CMS a few years ago I modeled some basics after vBulletin, as I was familiar with its code from modding it. So functions such as iif(), for example, are defined globally in my CMS.
With vB's new API feature, I want to recode the section of my code that creates a new vB thread for each news item added to the CMS so that it uses the API and everything is handled properly by vB. However, when I include the files necessary to do this, PHP complains that iif() is already defined.
Anyone have any ideas?
|