2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-15 06:12:59 +00:00
cheat.sheets/sheets/_php/hello
2017-05-28 21:22:22 +00:00

12 lines
346 B
Plaintext

/* Create the file, hello.php, in your htdocs or public_html directory,
* or somewhere in the system.
*
* If Apache is running on your local computer and you saved the file in htdocs,
* open a web browser and go to http://localhost/hello.php
*
* If you want to run it in the command line mode:
* php hello.php
*/
echo 'Hello, world!';