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, ∼3165🔥, 0💬
Popular Posts:
How To Set session.gc_divisor Properly in PHP? As you know that session.gc_divisor is the frequency ...
How To Read Data from Keyboard (Standard Input) in PHP? If you want to read data from the standard i...
How To Move Uploaded Files To Permanent Directory in PHP? PHP stores uploaded files in a temporary d...
How to send an FTP request with the urllib.request.urlopen() function? If an FTP server supports ano...
FYIcenter.com Online Tools: FYIcenter JSON Validator and Formatter FYIcenter JSON to XML Converter F...