I followed the tutorials etc, as far as I can tell it is all set up correctly. I have also read through the faq/solutions below.
http://otland.net/f137/faq-daopay-solutions-29245/
I get the following error
Warning: fopen(https://daopay.com/svc/pincheck?appcode=50907&prodcode=1&pin=fdsf4) [function.fopen]: failed to open stream: Result too large in C:\Documents and Settings\Luke\Desktop\xampplite\htdocs\buypoints.php on line 58
Any help is greatly appreciated
-Michael
Line 58 is bold.
http://otland.net/f137/faq-daopay-solutions-29245/
I get the following error
Errors occured:
* Server has problem with connection to daopay.com, can't verify PIN code.
Warning: fopen(https://daopay.com/svc/pincheck?appcode=50907&prodcode=1&pin=fdsf4) [function.fopen]: failed to open stream: Result too large in C:\Documents and Settings\Luke\Desktop\xampplite\htdocs\buypoints.php on line 58
Any help is greatly appreciated
-Michael
Code:
function check_code_daopay($appcode, $prodcode, $pin)
{
[B]$handle = fopen("https://daopay.com/svc/pincheck?appcode=".$appcode."&prodcode=".$prodcode."&pin=".$pin, 'r');[/B]
if ($handle)
{
$status = fgets($handle, 128);
fclose($handle);
if($status[0] == 'o' && $status[1] == 'k')
$return = 1;
else
$return = 2;
}
else
$return = 3;
return $return;
}