NathanLedet Posted June 30, 2008 Share Posted June 30, 2008 so i am wondering if this is possible, and how. Right now, we have client site set up for each of our clients that we work with. For example: oursite.com/client1 oursite.com/client2 Within those client folders, we have other sub folders, like so: oursite.com/client1/project1 oursite.com/client1/project2 oursite.com/client2/project1 the script I'm using now will automatically create a physical directory on the site... Is it possible to create a script which recognizes those directories and sub directories, but those directories don't exist on the site? it's all handled by code, but the URL bar appears to be in those sub directories. hope this makes sense..Thanks! Quote Link to comment Share on other sites More sharing options...
MasterACE14 Posted June 30, 2008 Share Posted June 30, 2008 doesn't really make sense Quote Link to comment Share on other sites More sharing options...
bluejay002 Posted June 30, 2008 Share Posted June 30, 2008 i think you are thinking of making things like CMS way (for easier searching and et cetera). Check out CakePHP, for example. Quote Link to comment Share on other sites More sharing options...
NathanLedet Posted June 30, 2008 Author Share Posted June 30, 2008 yes, I think so. sorry if it's confusing. Quote Link to comment Share on other sites More sharing options...
NathanLedet Posted June 30, 2008 Author Share Posted June 30, 2008 Actually, someone posted the same question...almost exactly what I was curious about: http://www.phpfreaks.com/forums/index.php/topic,204517.0.html Here's another way to explain it... Myspace.com, for example. to get to someones account, you type in myspace.com/username Now, does myspace.com have MILLIONS of sub-directories for usernames? I don't think so...it doesn't make sense to me that they would. Quote Link to comment Share on other sites More sharing options...
bluejay002 Posted July 2, 2008 Share Posted July 2, 2008 its not really a directory... its a diffferent way of writing uri. this has been popular when frameworks starts popping up. I had tried this but I used cakePHP. Actually the structure is somewhat different than the usual PHP (some uses MVC) but definitely it would be useful once you get the ahng of it. 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.