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

$25

File Name: CS213_Assignment_5_Part_2_PHP2_part_2_statement.zip
File Size: 442.74 KB

SKU: [Solved] CS213 Assignment 5 Part 2-PHP2 part 2 statement Category: Tag:
5/5 - (1 vote)

5/5 – (1 vote)

  • 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 yourscripts, directory or tar file to be uploaded.

1. PHOTO ALBUMCreate 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 buttonto enable navigation to the previous page
  • deleting imagesWe 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.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CS213 Assignment 5 Part 2-PHP2 part 2 statement[Solved] CS213 Assignment 5 Part 2-PHP2 part 2 statement
$25