Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PHP please 1.In upload.php, create an HTML form that allows users to upload up to 3 files 2.In the same form, allow users to specify

PHP please

1.In upload.php, create an HTML form that allows users to upload up to 3 files 2.In the same form, allow users to specify 3 tags associated with each file (i.e. add 3 x 3 text input fields to the form) 3.submit button. 4.Set the action attribute of the form to itself, i.e. upload.php. 5.Still in upload.php, write PHP code that moves uploaded files into the uploads folder 6. Also in upload.php, write PHP code that writes (i.e. creates) one text file per uploaded file. This text file should: Have the same name as the uploaded file, e.g. if an uploaded file is called sanfrancisco.jpg, the accompanying text file should be called sanfrancisco.txt Contain the tags entered by the user for that file, separated by commas, e.g. landscape,city,evening. 7. Restrict file upload (using PHP code) to only images (including JPEG, PNG, GIF).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Relational Model A Retrospective Review And Analysis

Authors: C. J. Date

1st Edition

0201612941, 978-0201612943

More Books

Students also viewed these Databases questions