I have a php script that I use it like a cient to connect to a Java server with MySql. It worked yersterday, but today doesn’t do anything anymore.
Anyone experienced this ? What could the problem be ?
edit: when i run it from command line, it doesnt output anything:
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>
edit 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";
There are several things you can do: