Rich Simms DM160C Exercise 3
Server Side IncludesHome Exercise Students Forum [an error occurred while processing this directive]
I regret to inform you that your browser has been analyzed and it does not appear to be standards compliant.
Display Web Server Environment Variables
UNIQUE_ID=XtaX50ojxDHYZCN1MqmcTwAAAA0 no-gzip=1 SCRIPT_URL=/dm160c/exercise-03.shtml SCRIPT_URI=http://www.hayrocket.com/dm160c/exercise-03.shtml dsid=4206674 ds_id_4206674= DH_USER=rsimms HTTP_USER_AGENT=CCBot/2.0 (https://commoncrawl.org/faq/) HTTP_ACCEPT=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_ACCEPT_LANGUAGE=en-US,en;q=0.5 HTTP_IF_MODIFIED_SINCE=Thu, 17 Oct 2019 03:40:19 CDT HTTP_ACCEPT_ENCODING=br,gzip HTTP_HOST=www.hayrocket.com HTTP_CONNECTION=Keep-Alive PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin SERVER_SIGNATURE= SERVER_SOFTWARE=Apache SERVER_NAME=www.hayrocket.com SERVER_ADDR=188.8.131.52 SERVER_PORT=80 REMOTE_ADDR=184.108.40.206 DOCUMENT_ROOT=/home/rsimms/hayrocket.com REQUEST_SCHEME=http CONTEXT_PREFIX= CONTEXT_DOCUMENT_ROOT=/home/rsimms/hayrocket.com SERVER_ADMINfirstname.lastname@example.org SCRIPT_FILENAME=/home/rsimms/hayrocket.com/dm160c/exercise-03.shtml REMOTE_PORT=50122 GATEWAY_INTERFACE=CGI/1.1 SERVER_PROTOCOL=HTTP/1.1 REQUEST_METHOD=GET QUERY_STRING= REQUEST_URI=/dm160c/exercise-03.shtml SCRIPT_NAME=/dm160c/exercise-03.shtml DATE_LOCAL=11 DATE_GMT=18 LAST_MODIFIED=16 DOCUMENT_URI=/dm160c/exercise-03.shtml DOCUMENT_ARGS= USER_NAME=rsimms DOCUMENT_NAME=exercise-03.shtml
Date last modified
- This page was last changed on 16
- This page was last changed on 06/02/07
- This page was last changed on Saturday, June 2, 2007
- This page was last changed on Second: 01, Minute: 51, Hour: 16, Day: 2, Month: June, Year: 2007, Timezone: PDT
- This page was last changed at 16:51:01 on 06/02/07
Displaying environment variables
Today was rough. We hiked for hours through mud, fog and mosquitos. At the arranged time and place we encountered the secret agent who went by the code name CCBot/2.0 (https://commoncrawl.org/faq/). He gave us directions to /dm160c/exercise-03.shtml. However, the actual address, 220.127.116.11, was firewalled. With some encourgement he finally told us about the exercise-03.shtml document. This document, that had been the cause of so much trouble, was buried behind a sign that said /dm160c/exercise-03.shtml.
Use the browser Refresh button to rotate through a set of five photes. The photo displayed below is tied to the first digit of the seconds field of the current time. For example if the time (HH:MM:SS) is 12:45:02 then the seconds field is 02 and the temple photo is displayed. This is done using cascaded if statements (if, elif and else). The photos are a temple (SS=00-09), carhenge (SS=10-19), fountain (SS=20-29), castle (SS=30-39), leftbank (SS=40-49) and kitchen (SS=50-59).[an error occurred while processing this directive]
Seconds=15 (click Refresh to change)
This page served up by: Apache