Tuesday, 19 July 2016

is it possible to execute PHP code from the command line instead of Browser ?


Yes !
Use php command with ./
php ./hello.php

You can use -i flag to generate the result in HTML file.
php -i > /tmp/phpresult.html

No comments:

Post a Comment

Note: only a member of this blog may post a comment.