Rich Simms DM160C Exercise 3
Server Side Includes
Home Exercise Students Forum [an error occurred while processing this directive]Courtesy Notice
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=Z7s9ONzV3MnHQEdCKNhgSwBOgaI QS_ConnectionId=174032415224282294938576 no-gzip=1 SCRIPT_URL=/cabrillo/dm160c/exercise-03.shtml SCRIPT_URI=https://hayrocket.com/cabrillo/dm160c/exercise-03.shtml dsid=47707445 ds_id_47707445= DH_USER=rsimms account_id=291360 HTTP2=on H2PUSH=off H2_PUSH=off H2_PUSHED= H2_PUSHED_ON= H2_STREAM_ID=1 H2_STREAM_TAG=938576-946-1 HTTPS=on SSL_TLS_SNI=hayrocket.com HTTP_ACCEPT=*/* HTTP_USER_AGENT=Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) HTTP_COOKIE=care_did=af24ffe0-aa28-4466-9e4e-46935d4c99aa HTTP_ACCEPT_ENCODING=gzip, br, zstd, deflate HTTP_HOST=hayrocket.com PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin SERVER_SIGNATURE= SERVER_SOFTWARE=Apache SERVER_NAME=hayrocket.com SERVER_ADDR=67.205.0.207 SERVER_PORT=443 REMOTE_ADDR=3.135.214.184 DOCUMENT_ROOT=/home/rsimms/hayrocket.com REQUEST_SCHEME=https CONTEXT_PREFIX= CONTEXT_DOCUMENT_ROOT=/home/rsimms/hayrocket.com SERVER_ADMIN=webmaster@hayrocket.com SCRIPT_FILENAME=/home/rsimms/hayrocket.com/cabrillo/dm160c/exercise-03.shtml REMOTE_PORT=29611 GATEWAY_INTERFACE=CGI/1.1 SERVER_PROTOCOL=HTTP/2.0 REQUEST_METHOD=GET QUERY_STRING= REQUEST_URI=/cabrillo/dm160c/exercise-03.shtml SCRIPT_NAME=/cabrillo/dm160c/exercise-03.shtml DATE_LOCAL=07 DATE_GMT=15 LAST_MODIFIED=12 DOCUMENT_URI=/cabrillo/dm160c/exercise-03.shtml DOCUMENT_ARGS= USER_NAME=rsimms DOCUMENT_NAME=exercise-03.shtml
Date last modified
- This page was last changed on 12
- This page was last changed on 12/28/12
- This page was last changed on Friday, December 28, 2012
- This page was last changed on Second: 23, Minute: 26, Hour: 12, Day: 28, Month: December, Year: 2012, Timezone: PST
- This page was last changed at 12:26:23 on 12/28/12
Back button
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 Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com). He gave us directions to /cabrillo/dm160c/exercise-03.shtml. However, the actual address, 3.135.214.184, 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 /cabrillo/dm160c/exercise-03.shtml.
Conditionals
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=32 (click Refresh to change)
This page served up by: Apache