Ninjakreborn Posted September 4, 2007 Share Posted September 4, 2007 I have an upload system that is done in Java that I installed on a client system. THey want drag/drop (from desktop)capabilities. I got one installation working, and modded. When my client adds one of there clients it creates /files a folder in here called the name of whatever she named the folder. Then creates 2 subfolders in there called client and tammy. One for her to upload files to them, and client for them to upload clients to her. Due to the programming on the appliction I worked in a workaround. I have the foldername when the admin goes to upload files, get pulled from a database and put into a textfile, I then have the file processor in php pick up the filename from the file and use it in the upload. That's fine because there's only one client in at a time. However if I do the same thing for the clients, won't it mess up if 1 goes to the page to upload something, then another one goes there before they upload and overwrites the .txt file. I am looking for any viable solution around this problem, or a point in the right direction? thanks. Quote Link to comment https://forums.phpfreaks.com/topic/67897-solved-file-creating-with-php/ 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.