I'm executing a php file via web browser but I used to run it in linux command line by doing:
php phpfile.php
now I have to use the browser to execute the file because I have to pass an argument like this:
localhost/mywebsite/phpfile.php?argument=false
Is it possible to still do it in the command line?
php -f somefile.php a=1 b[]=2 b[]=3
See http://php.net/manual/en/features.commandline.php
Hope this helps!