I've been doing a good share of batch scripting and work with PHP as a server lately. One of the things I've noticed is that I can't just use $argc / $argv. But, I can use $_SERV[argc] / $_SERV[argv]. However, I am encountering issues even with this. For example....
Code: Select all
echo "$_SERVERїargvї1]]\n";Code: Select all
echo $_SERVERїargv]ї1];Now I've been able to deal with the above with this code here.
Code: Select all
@$argc = $_SERVERїargc];
@$argv = $_SERVERїargv];Later on,
BDKR