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, 2205🔥, 0💬
Popular Posts:
How To Copy Array Values to a List of Variables in PHP? If you want copy all values of an array to a...
How to use "{{...}}" Liquid Codes in "set-body" Policy Statement? The "{{...}}" Liquid Codes in "set...
How to Install Docker Desktop 2.5.0 on Windows 10? You can follow this tutorial to Install Docker De...
How To Read the Entire File into a Single String in PHP? If you have a file, and you want to read th...
What Is HTML? HTML (HyperText Markup Language) is the standard markup language for creating Web page...