Page 1 of 1
If you Need a Programmer
Posted: Sat Mar 24, 2012 11:54 am
by Bonza
A couple of weeks ago i asked for someone to help me with programming i got a reply from PokerMavenDeveloper he did what i needed and then the next day told me he upgraded the program that made it easier to use,
If you need anything he is your man to go to i highly recommend him iv even gone back to him for other things 
Re: If you Need a Programmer
Posted: Tue Mar 27, 2012 10:04 am
by PokerMavenDeveloper
Thaaks Bonza

Curl Problem
Posted: Tue Mar 27, 2012 10:06 am
by PokerMavenDeveloper
i had the following problem with curl call
Warning: curl_error(): 2 is not a valid cURL handle resource in /home/sportpar/public_html/fpoker/admindtp/API.php on line 15
ocurio error
Poker Server Status
Error: Connection failed Password=t~GNhmT;h@
http://xx.xxx.xxx.xx:8087/api
Re: Curl Problem
Posted: Tue Mar 27, 2012 10:17 am
by Kent Briggs
PokerMavenDeveloper wrote:i had the following problem with curl call
Warning: curl_error(): 2 is not a valid cURL handle resource in /home/sportpar/public_html/fpoker/admindtp/API.php on line 15
Make sure you aren't calling any curl functions after you've already called curl_close();
Re: If you Need a Programmer
Posted: Tue Mar 27, 2012 10:33 am
by PokerMavenDeveloper
Code: Select all
curl_setopt($curl,CURLOPT_POST,true);
curl_setopt($curl,CURLOPT_POSTFIELDS,$params);
curl_setopt($curl,CURLOPT_TIMEOUT,30);
curl_setopt($curl,CURLOPT_RETURNTRANSFER,true);
$response = trim(curl_exec($curl));
curl_close($curl);
$api = Array();
i no hvae idea wath conecction fail

, im using a vps curl is enabled thanks for your help
Re: If you Need a Programmer
Posted: Tue Mar 27, 2012 10:39 am
by PokerMavenDeveloper
i think my hosting provider is blocking the port, because i test from my locolhost the system work perfectly

Re: If you Need a Programmer
Posted: Tue Mar 27, 2012 12:00 pm
by Kent Briggs
PokerMavenDeveloper wrote:i think my hosting provider is blocking the port, because i test from my locolhost the system work perfectly

Yes, that's very common. They often block all outgoing ports except for 80 and 443. I had to specifically ask my web hosting service to open those up.
Re: If you Need a Programmer
Posted: Tue Mar 27, 2012 12:25 pm
by PokerMavenDeveloper
Yes Kent was that problem my hosting provider, thanks for your help