Jump to content

PHP: Difference between revisions

145 bytes added ,  8 January 2008
m
mNo edit summary
Line 21: Line 21:


  #!/usr/local/bin/php
  #!/usr/local/bin/php
  <?php
  <?php
     echo “Hello World!”;
     echo "Hello World!";
  ?>
  ?>
Notice the use of the hashbang (or shebang - yes, make all the jokes you want), which must be present at the top of every PHP file.
#!/usr/local/bin/php


* Save and exit (CTRL + O, CTRL + X)
* Save and exit (CTRL + O, CTRL + X)
244

edits