Log in

View Full Version : Where to put code to make it global


Itworx4me
01-27-2005, 12:37 AM
I have a peice of code that I want to use and I want to be able to call it from anywhere in vB. I tried the phpinclude and it didn't work. Where in the gobal.php file would I put this for it to work????

Thanks,
Itworx4me

Andreas
01-27-2005, 01:02 AM
phpinclude_start should be the right place.

Can you post the code that doesn't work?

Itworx4me
01-27-2005, 02:09 AM
I tried the phpinclude_start and it worked. Not sure why it didn't the first time.

Thanks for your help,
Itworx4me