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); Quote Link to comment 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... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.