Author Topic: Is there a better way to handle includes and requires among multiple files  (Read 182 times)

0 Members and 1 Guest are viewing this topic.

Offline HGeneAnthonyTopic starter

  • Enthusiast
  • Posts: 84
    • View Profile
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.

Offline thorpe

  • Administrator
  • 'Mind Boggling!'
  • *
  • Posts: 29,255
    • View Profile
If your using classes / objects then yes, __autoload().

Offline HGeneAnthonyTopic starter

  • Enthusiast
  • Posts: 84
    • View Profile
I was just reading up about this.  Does appear to work well, thank you!