The command line ain't the web. When you run a script via the command line, CGI doesn't come into play, so you won't have superglobals such as $_SERVER and $_GET. If your scripts need these, either write a boot script that sets them, or use curl or wget. As for the latter two not succeeding, how...