Advertisement
Guest User

Lab 1 - HTML Source

a guest
Sep 2nd, 2010
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.76 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2.     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5.         <meta http-equiv="Content-Type"
  6.             content="text/html; charset=ISO-8859-1" />
  7.             <link rel="stylesheet" href="/~musman1/stylesheets/makeup.css" type="text/css" media="screen" />
  8.     <title>Lab 1 (lab1.php)</title>
  9.  
  10. </head>
  11.  
  12. <body>
  13.  
  14. <h1>Lab 1 (lab1.php)</h1>
  15. <div id="nightTime">
  16.  
  17.     Class name = CS130a, Intro to Programming <br />Student name = Muhammad Usman <br />Assignment = Lab 1 (lab1.php) <br />Date completed: Thu, 02 Sep 10 10:51:33 -0700  
  18.     <br />Hello, I see that you are using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Safari/533.4.  
  19. <h2>Server Info</h2>
  20.    
  21.     <pre>
  22.     Arrayarray(33) {
  23.   ["TZ"]=>
  24.   string(7) "PST8PDT"
  25.   ["DOCUMENT_ROOT"]=>
  26.   string(14) "/inet/www/docs"
  27.   ["HTTP_ACCEPT"]=>
  28.   string(90) "application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
  29.   ["HTTP_ACCEPT_CHARSET"]=>
  30.   string(30) "ISO-8859-1,utf-8;q=0.7,*;q=0.3"
  31.   ["HTTP_ACCEPT_ENCODING"]=>
  32.   string(17) "gzip,deflate,sdch"
  33.   ["HTTP_ACCEPT_LANGUAGE"]=>
  34.   string(14) "en-US,en;q=0.8"
  35.   ["HTTP_CONNECTION"]=>
  36.   string(10) "keep-alive"
  37.   ["HTTP_COOKIE"]=>
  38.   string(157) "__utmz=58189624.1282294237.13.4.utmcsr=search|utmccn=(organic)|utmcmd=organic|utmctr=printing; __utma=58189624.1554562769.1280729022.1283151746.1283283534.20"
  39.   ["HTTP_HOST"]=>
  40.   string(14) "hills.ccsf.edu"
  41.   ["HTTP_REFERER"]=>
  42.   string(52) "http://hills.ccsf.edu/~musman1/cs130a/labs/index.php"
  43.   ["HTTP_USER_AGENT"]=>
  44.   string(126) "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Safari/533.4"
  45.   ["PATH"]=>
  46.   string(24) "/usr/sbin:/usr/bin:/sbin"
  47.   ["REMOTE_ADDR"]=>
  48.   string(13) "67.180.61.230"
  49.   ["REMOTE_PORT"]=>
  50.   string(5) "49648"
  51.   ["SCRIPT_FILENAME"]=>
  52.   string(54) "/students/musman1/public_html/php/cs130a/labs/lab1.php"
  53.   ["SCRIPT_URI"]=>
  54.   string(56) "http://hills.ccsf.cc.ca.us/~musman1/cs130a/labs/lab1.php"
  55.   ["SCRIPT_URL"]=>
  56.   string(30) "/~musman1/cs130a/labs/lab1.php"
  57.   ["SERVER_ADDR"]=>
  58.   string(11) "147.144.1.2"
  59.   ["SERVER_ADMIN"]=>
  60.   string(21) "sbarger@ccsf.cc.ca.us"
  61.   ["SERVER_NAME"]=>
  62.   string(19) "hills.ccsf.cc.ca.us"
  63.   ["SERVER_PORT"]=>
  64.   string(2) "80"
  65.   ["SERVER_SIGNATURE"]=>
  66.   string(71) "<ADDRESS>Apache/1.3.41 Server at hills.ccsf.cc.ca.us Port 80</ADDRESS>
  67. "
  68.   ["SERVER_SOFTWARE"]=>
  69.   string(20) "Apache/1.3.41 (Unix)"
  70.   ["GATEWAY_INTERFACE"]=>
  71.   string(7) "CGI/1.1"
  72.   ["SERVER_PROTOCOL"]=>
  73.   string(8) "HTTP/1.1"
  74.   ["REQUEST_METHOD"]=>
  75.   string(3) "GET"
  76.   ["QUERY_STRING"]=>
  77.   string(0) ""
  78.   ["REQUEST_URI"]=>
  79.   string(30) "/~musman1/cs130a/labs/lab1.php"
  80.   ["SCRIPT_NAME"]=>
  81.   string(45) "/cgi-bin/phpwrap/musman1/cs130a/labs/lab1.php"
  82.   ["PATH_INFO"]=>
  83.   string(0) ""
  84.   ["PATH_TRANSLATED"]=>
  85.   string(43) "/inet/www/docs/musman1/cs130a/labs/lab1.php"
  86.   ["PHP_SELF"]=>
  87.   string(45) "/cgi-bin/phpwrap/musman1/cs130a/labs/lab1.php"
  88.   ["REQUEST_TIME"]=>
  89.   int(1283449893)
  90. }
  91.     </pre>
  92. </div> 
  93.    
  94.     <h2>Strings</h2>
  95.     <h3>Double-quoted</h3>
  96. <pre>
  97. All PHP variables begin with a "$" character.  
  98.     <br />We're learning about proper quoting using double quotes (") and single quotes (').  
  99.     <br />We can print variables inside of double-quoted strings. For example: DEMO.</pre>
  100. <h3>Single-quoted</h3>
  101. <pre>
  102.     All PHP variables begin with a "$" character.  
  103.     <br />We're learning about proper quoting using double quotes (") and single quotes (').  
  104.     <br />We can print variables inside of doublt-quoted strings. For example: $demo.</pre>
  105. <p>
  106. <a href="index.php">Go back to Index</a>
  107. </p>
  108.  
  109. </body>
  110. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement