MC logo
CSc 231 Assignment 1
[^] PHP Programming Assignments

40 pts

Many Happy Returns

Due: Sept 13

Create a simple PHP page which generates one of two things based on the value of the HTTP_REFERER variable. If that variable is the empty string (not set), simply give a short message that the user didn't come from anywhere. If it is set, generate an HTML link to return to whereever you came from. Here is a simple one.

Simply leave your page online on sandbox. Call it a1.php, and store it in a directory named csc231 under local_html under your own account on Sandbox. I'll run it and collect a copy of the source from there. Please leave the file in place at least until you receive a grade.