"; echo ""; echo ""; echo "This is a php demo."; echo ""; echo ""; echo "
"; // writes the address of the currently accessing host $boston_time=mktime(); $formatted_time = date("g:i:s M d, Y",$boston_time); $ip=$_SERVER['REMOTE_ADDR']; $myIP=$_SERVER['HTTP_HOST']; $write_format = "IP address: ".$ip." --time: ".$formatted_time."\n"; print "You connected to " . $myIP . "   from: " . $ip . "
--at: " . $formatted_time; echo "
"; echo "
Now I will count to 10 for you:

"; for ($inc = 0; $inc <= 10; $inc++) { echo "The number is: $inc
"; } echo "

"; $minute = date('i'); print "$minute
"; if ( $minute < 30){ echo ""; } else { echo ""; } echo ""; echo ""; ?>