Temporary Folders

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jonny2009
Forum Newbie
Posts: 5
Joined: Mon Mar 23, 2009 2:28 pm

Temporary Folders

Post by jonny2009 »

I am creating a preview for a CMS system to be for sale. For the preview, I'd like to avoid people editing files as other people are editing files etc, which would just basically be a clusterf$%^. So the best thing I can think of at the moment is to create a separate temporary directory that each user gets directed to with a copy of the CMS, and that gets deleted when the user leaves the page. However, I'm quite concerned about the impact on the server, there will be a lot of hits for the preview, that's a lot of directories getting created and deleted. Is this a valid concern? Are there any other suggestions for how to set up the preview system?
jonny2009
Forum Newbie
Posts: 5
Joined: Mon Mar 23, 2009 2:28 pm

Re: Temporary Folders

Post by jonny2009 »

or not... that's cool too...
Post Reply