mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-01 21:40:24 +00:00
added _php
This commit is contained in:
parent
2e451750e9
commit
5ae952ebdd
11
sheets/_php/hello
Normal file
11
sheets/_php/hello
Normal file
@ -0,0 +1,11 @@
|
||||
/* 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!';
|
Loading…
Reference in New Issue
Block a user