Nice trick Lite , I always use this for classes, http://us.php.net/manual/en/language.oop5.autoload.php
Dman Reviewed by Dman on . Easy php includes just like to share a tip with you for when your programming your websites etc //Index.php /* ** First we need to know the exact path to where we am and define it */ define("APPLICATION_PATH",str_replace("\\","/",dirname(__FILE__))); Rating: 5