2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-05 12:00:16 +00:00
cheat.sheets/sheets/_php/hello

12 lines
346 B
Plaintext
Raw Normal View History

2017-05-28 21:22:22 +00:00
/* 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!';