(Note: I'm new to PHP)
I am trying to pass command line arguments to a PHP script on a Linux web server. I do not have access to the command line directly but I can run cron jobs OK which is how this needs to work.
I can call PHP scripts from cron OK so that bit is OK but when I look at $argv I can't see any arguments, I can't even see anything in $argv which should be the script name.
I've been on this frustratingly simple step for a few hours and nothing online has helped.
I should be able to call:
script.php A B C
and see "A" in $argv, and "B" in $argv etc.