Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • I'm not sure I understand how this helps with the above question? Commented Apr 14, 2011 at 1:59
  • Let the namespaces follow your folder structure. So if you have "session" folder, make everything within that folder in the "session" namespace. It will give you a clean method of knowing how to locate the class file in your auto-loader. Commented Apr 14, 2011 at 3:37
  • I think I see. Unfortunately my server is shared and running 5.2 something. No namespaces. Commented Apr 14, 2011 at 3:40
  • Switch server :-) Commented Apr 14, 2011 at 8:00