note 118927 added to function.echo
| From: | stakkertje at yahoo dot com | Date: | Tue, 01 Mar 2016 02:30:05 +0000 |
| Subject: | note 118927 added to function.echo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-205070@lists.php.net to get a copy of this message | ||
If you put backquotes
... around the string echo will treat the string between the
backquotes as a shell command and execute it. The output of the command will be echoed.
Example:
<?php
echo "It is now ".date;
?>
will output something like:
It is now Tue Mar 1 09:42:11 CST 2016
----
Server IP: 72.52.91.14
Probable Submitter: 223.166.95.254
----
Manual Page -- http://php.net/manual/en/function.echo.php
Edit -- https://master.php.net/note/edit/118927
Del: integrated -- https://master.php.net/note/delete/118927/integrated
Del: useless -- https://master.php.net/note/delete/118927/useless
Del: bad code -- https://master.php.net/note/delete/118927/bad+code
Del: spam -- https://master.php.net/note/delete/118927/spam
Del: non-english -- https://master.php.net/note/delete/118927/non-english
Del: in docs -- https://master.php.net/note/delete/118927/in+docs
Del: other reasons-- https://master.php.net/note/delete/118927
Reject -- https://master.php.net/note/reject/118927
Search -- https://master.php.net/manage/user-notes.php