Create 2 PHP Upload Scripts
$30-5000 USD
Pagado a la entrega
NOTE: I NEED THIS WORK DONE VERY QUICKLY, IN THE NEXT FEW HOURS.
I need 2 php upload scripts made with good security.
1) First one is where user has 2 inputs:? i) Name? ii) Upload File
Name will NOT be the name of the uploaded file.
Filesize less than 100kb, must be an image (gif/jpg/png).
Upload to folder ../swatches/
Must be 20x20 pixels.
Uploaded filename must have new name using timestamp (using seconds/minutes/hours/date) before the extension. This is so that if a user uploads a file with the same name it doesn't overwrite it.
E.g. original filename = [url removed, login to view]
new filename: [url removed, login to view]
Finally the 2 variables name & uploaded file url must be saved to a mysql database. Table name: tbl_swatches ? Row names: colour_name , swatch_image
Validation must check that both fields are selected to upload.
2) This is similar to the previous one but has more variables.
i) Product Name
ii) Primary Image
iii) Side Image
iv)? Back Image
v)? Inside Image
Please note the product name will NOT be the name of the uploaded files.
The file must be under 10MB and an image (gif/jpg/png).
Primary image must create a thumbnail 160x160.
Thumbnail uploads to: ../productimages/thumbnails/
Primary image will also upload to ../productimages/main/
Side image: ../productimages/side/
Back: ../productimages/back/
Inside: ../productimages/inside/
Timestamp must be used for filename.
Finally the variables must be saved to a mysql database.?
Table name: tbl_products ? Row names: product_name, thumbnail_image, primary_image , side_image, back_image, inside_image.
Validation must check that at least product name & primary image are selected.
Let me know if you have any questions.
Thanks
Nº del proyecto: #3701983