I used phptriad (
How do you create directory structures on your local pc? I have all the latest versions of php/mysql/apache on win98, and I tried creating a subdirectory in the document root and php/apache couldn't see those files, so all my files are just mixed together.
I maintain my own local (and big) functions.inc file which I copy and paste from one project to the next, and then I always (try) to strip out all the functions that I don't need for the current project. A simple project might use just a couple of the functions - larger ones might require most of them. The whole lot totals to about 30K (but no single project requires the whole lot). In the web site's header.inc I include this single, tailored functions.inc file every time so that the whole 'tool box' is available to any page/script that might choose to delve into it. If my basic understanding of the way php/Apache work on the remote web server, I don't believe this approach to be a significant overhead in the bigger scheme of things.
Also, should every function and include be in a separate file? If you combine several functions in one file, then when you include the file, you might include some functions you aren't going to use, so that would slow down your script wouldn't it?