Since my server was upgraded to a new php 5.4.24 it stopped working. It was throwing one php error:
PHP Fatal error: Call-time pass-by-reference has been removed in /home/me/public_html/Client.php on line 76
But I fixed that by removing "&" here:
$socket = fsockopen ($server,$port, &$errno, &$errstr, 30);
However, the script still wont work. Now it doesn't throw any php errors, it simply does nothing. When you click on "Accept and Connect", page just refresh but wont connect to gift and no search form displayed.