gm04030276 Posted April 4, 2008 Share Posted April 4, 2008 Is it possible to include a directory of php files into a script using the require() function and a wildcard character? i.e. require('directory/to/include/*.php); Link to comment https://forums.phpfreaks.com/topic/99516-thought-about-require-function/ Share on other sites More sharing options...
ToonMariner Posted April 4, 2008 Share Posted April 4, 2008 no you'd have to loop through grabbing the file name and including each one individually. you could add the include path to your php configuration - if you have permissions to do so... Link to comment https://forums.phpfreaks.com/topic/99516-thought-about-require-function/#findComment-509114 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.