Multiple ajax php mysql upload - repost

  • Status Completed
  • Budget $30 - $250 USD
  • Total Bids 12

Project Description

I am in need of a php ajax multiple upload script.

It should upload files to my ftp, add values to my mysql database and also it should also add a text row (metadata) with information of the upload to a textfile or xml file, this textfile with be populated with a text row (metadata) each time a new upload is being made.

This upload script will be used to add files and additional information to my members site.

Upon upload the user should be presented with a form containing form fields, input fields and some dropdowns that are populated with information from my database. And at the bottom of the form there should be two upload file options, where the user can upload a pdf file and a mp3 file, preventing any other file type. If the user only has a pdf and no mp3 file to upload then there should be an option where the user can check a box to allow him to upload without a mp3, just the pdf file. Some kind of validation, because if not all fields are filled then it should give an error message telling the user to fill in the necessary fields.

Once the user has filled out the necessary form fields and chosen what pdf and mp3 file to upload, the user should be able to either submit the upload or given the opportunity to add more uploads before he submits. If the user chooses to upload more then a new set of form fields that goes with that upload should be presented, these new uploads should use the same mp3 file that was chosen to be uploaded in the first upload but each new upload has its own pdf file. So all the uploads share the same mp3 file but have their own pdf file. Each upload should be unique in the database.

There should be a next and previous buttons where the user can browse through each upload to edit the form fileds if needed before the user hits submit.

And upon submit the user should see a final confirmation page where the information the user entered on the different form fileds for each upload should be presented with a check box at the bottom that says "I confirm" or similar. If "I cofirm" is checked and the submit button is pressed. The upload should be processed. The form fileds should be added to the database and the mp3 and pdf files should be uploaded to the ftp and a text row should be added to a textfile or xml file like this for example when both mp3 and pdf file has uploaded:

dateofuplad;timeofupload;field1;field1;[url removed, login to view];

if the user have checked that no mp3 file will be uploaded then the text row should look like this:

dateofuplad;timeofupload;field1;field1;[url removed, login to view];

All the files should be renamed like so: [url removed, login to view] or [url removed, login to view]

They filename must be unique for each upload and differentiate itself from the already uploaded files.

Since multiple users will be uploading at the same time there must be a mechanism that prevents files being renamed the same.

When uploaded to my ftp the first upload of the day should create a folder with todays date for example 2013-02-14 where all the uploads of today gets uploaded to.

Im thinking in maybe purchasing this theme and build the upload based on this theme. Have a look at the form wizard on this theme:

[url removed, login to view]

The uploading process should maybe look like the form wizard in that theme.

Get free quotes for a project like this
Completed by:
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online