[SOLVED] CS213 Assignment 5 Part 2-PHP2 part 2 statement

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Assignment-5-part2-iq6ik8.zip (876.8 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
đź”’ Securely Powered by:
Secure Checkout
5/5 - (2 votes)

 

  • Create a directory called “rollno-lab5-part2” where “rollno” is your roll number.
  • Keep all your scripts, html pages and all relevant files in this directory
  • Use following command to create a tar ball :

    tar -czvvf rollno-lab5-part2.tgz rollno-lab5-part2/

    (Note that you have to outside this directory to run this command).

  • Upload this tarball “rollno-lab5-part2.tgz” on moodle.
  • Do not change cases, and do not deviate from the naming scheme for your

    scripts, directory or tar file to be uploaded.

1. PHOTO ALBUM
Create a photo album with following features

• Login Form: index.php has the form, login.php has authentication Authenticate using standard credentials:

user:eval pass:eva

• album.php: Browsing through the album using next, prev, last, first buttons

• Image upload page that allows you to add an image to the album: newupload.php has the form and upload.php does the processing:

– Check for image format as jpg in php.
– Check for image size to be less than 200KB in php

1

  • –  Maximum of 10 images to upload- check in php
  • –  Images to be uploaded to images/ directory
  • –  Errors can be displayed on upload.php itself with a back button

    to enable navigation to the previous page

  • –  deleting images

    We expect index.php, login.php, upload.php, newupload.php in the directory.

• Optional (not for credit): Use sessions to validate login sessions while accessing album.php, newuplod.php and upload.php. Session has to be initialized at login.

2

  • Assignment-5-part2-iq6ik8.zip