Recreate the CSE 190 M Homework 4 (Fifteen Puzzle) turnin page. If you have time, write the PHP code to accept this form on the server. The server should save the student's files to a folder with the student's name and section. Submit the form to https://pascal.cs.washington.edu/cgi-bin/test_turnin.pl
.
Required form parameter names:
ti
- URL of turnin page. Should always be http://www.cs.washington.edu/education/courses/190m/08sp/homework/hw4_turnin.html
firstname
, middlename
, familyname
, studentnumber
, email
, section
- student infofifteen_script.js
, fifteen_script.js-tab
, background.jpg
, background.jpg-tab
- uploaded files and tab widths for each fileCreate a web page with a form that lets the user sign up for an online banking account such as those offered at Washington Mutual or Orange Savings.
Write an embedded PHP page that displays a gallery of photos. The page will show all images in the food_images
subfolder of the script's directory on the server as thumbnails (each image uses the galleryimage
style class so it will appear 150px tall). Clicking on any image should show that image at full size.
(solution,
source)
Update the photo gallery page's code to use PHP expression blocks. The code should not contain any print
statements.
If you have time, add the ability for the user to upload a new image to the gallery. Have the gallery submit its post
data to itself.
(solution,
source)