Tools, FAQ, Tutorials:
Running a PHP Script
How To Run a PHP Script?
✍: FYIcenter.com
A standard alone PHP script can be executed directly with the PHP Command Line Interface (CLI). Write the following script in a file called hello.php:
<?php echo "Hello world!"; ?>
This script can be executed by CLI interface like this:
\php\php hello.php
You should see the "Hello world!" message printed on your screen.
⇒ Understanding PHP String Literals and Operations
⇐ PHP Configuration Setting File
2016-10-13, 2021🔥, 0💬
Popular Posts:
How To Use an Array as a Queue in PHP? A queue is a simple data structure that manages data elements...
Where to find tutorials on API Management Services at Azure Portal? Here is a list of tutorials to a...
Where Can I get a copy of the RSS XML Schema? RSS XML Schema is an XML Schema that defines how an RS...
What's Wrong with "while ($c=fgetc($f)) {}" in PHP? If you are using "while ($c=fgetc($f)) {}" to lo...
How to use the RSS Online Validator at w3.org? You can follow this tutorial to learn how to use the ...