Anyone know how to get variables passed to a PHP script ran in shell?
Like: php -q myfile.php arg1 arg2 arg3
In C you would find how many arguments there were with argc, then you could process them through the array argv[]. I'm sure PHP has this, but what is it?
Thanks,
Mike