I need to execute a php file with parameters through shell.
here is how I would run the php file:
php -q htdocs/file.php
I need to have the parameter ‘show’ be passed through and
php -q htdocs/file.php?show=show_name
doesn’t work
If someone could spell out to me what command to execute to get the php file to execute with set parameters, it would be much appreciated. If not, try to lead me the right direction.
test.php:
Shell: