Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/67897-solved-file-creating-with-php/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.