how to run PHP in command line?

Answer Posted / ish

php -f myfile.php

:)

Is This Answer Correct ?    25 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is a constant defined in a PHP script?

533


What is the use of count() function in php?

526


Does php support inheritance?

503


Is python better than php?

499


Write syntax to open a file in php?

516






What kind of things have you done on the social side?

8581


How to read one character from a file?

538


Php code to find whether a number armstrong or not?

539


What kind of variable is age?

598


How can I display text with a php script?

477


What would occur if a fatal error was thrown in your php program?

539


Tell me what the difference between the 'bitwise and' operator and the 'logical and' operator?

525


What is the use of explode() function?

567


What does pear stand for?

534


What is the use of array_search() in php?

529