I would like to run a php program say x.php, which is accessed through browser like http://yy.com/x.php rather than doing so since i've got both ssh and telnet access i would like to run the same program by ssh or telnet is it possible. if so pls. help me
just run the php executable from the command line with the script as an argument:
/path/to/php /path/to/script.php >/path/to/output.log 2>/path/to/error.err