我有一个PHP脚本,我使用它像一个客户端使用MySql连接到Java服务器。它在Yersterday工作,但今天不再做任何事了 有人经历过吗?问题是什么?
编辑:当我从命令行运行它时,它不会输出任何内容:
C:\Users\astan>"c:\Program Files (x86)\PHP\php.exe" c:\Users\astan\Downloa
ds\workspace\workspace\VR\src\test\php\VR.php
C:\Users\astan>
编辑2:
include('common.inc.php');
echo "Videoraptor Client\n";
// Maximum number of requests the client will handle before exiting.
// (0 = unlimited)
$VR_MAX_REQUESTS = 0;
if (count($_SERVER['argv']) >= 2) {
$VRSERVER['url'] = $_SERVER['argv'][1];
if (count($_SERVER['argv']) >= 3)
$VR_MAX_REQUESTS = $_SERVER['argv'][2];
}
echo "Server: ".$VRSERVER['url']."\n";
echo "Max requests: $VR_MAX_REQUESTS\n\n";
答案 0 :(得分:4)
你可以做几件事: