Starting from:

$25

CS213-Lab 5 Part 2 Solved

CS-213 : Lab 5 : PHP2 part 2 statement

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

More products