CS174
Chris Pollett
Sep 19, 2016
body {background-image: url(background.jpg);}
<style type="text/css">
p.first {position: absolute; top:1in; left:2in;}
p.second {position: relative; left:-1in;}
</style>
<p class="first">displays one inch down
two inches from left of top of screen</p>
<p class="second">displays 1inch to the left
of where the first paragraph finished</p>
<input type="text" name="fname" accesskey="f" />
php name_of_script.php #runs name_of_script.php
php -a # run in enter interactive mode. will get a prompt...
php > echo "hello world";
hello world
php > quit
cd ~/public_html
php -S localhost:8000 #starts built-in web server on port 8000
# using current dir as document root
short_open_tag = Onso that you can escape to a PHP script using <? rather than <?php
;error_reporting = E_ALL & ~E_NOTICEand uncomment it, restart Apache
Which of the following statements is true?
Which of the following statements is true?