HGeneAnthony Posted March 16, 2010 Share Posted March 16, 2010 I was wondering if there's a way to automatically handle loading of required includes and requires for a web page so I don't have to have require_once declarations all over my site. Link to comment https://forums.phpfreaks.com/topic/195397-is-there-a-better-way-to-handle-includes-and-requires-among-multiple-files/ Share on other sites More sharing options...
trq Posted March 16, 2010 Share Posted March 16, 2010 If your using classes / objects then yes, __autoload. Link to comment https://forums.phpfreaks.com/topic/195397-is-there-a-better-way-to-handle-includes-and-requires-among-multiple-files/#findComment-1026801 Share on other sites More sharing options...
HGeneAnthony Posted March 16, 2010 Author Share Posted March 16, 2010 I was just reading up about this. Does appear to work well, thank you! Link to comment https://forums.phpfreaks.com/topic/195397-is-there-a-better-way-to-handle-includes-and-requires-among-multiple-files/#findComment-1026812 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.