hi, i stored all configuration data in config.php and i include them in all files that need it. because i need to change the directory of this config file, i realise i need to go to all the files and change the location of this config file. is there a way to include this config file once in a file, then make it available to the rest of the php fles without including it for every individual files??
i was thinking, e.g create a index.php file which include config.php. for all url, i will redirect to this "index.php?id=faq" OR "index.php?id=home".. etc... then by doing some condition, redirect accordingly?? but in this case, all the url doesnt look nice..im not sure how to do it. could someone provide some hints??
tks