Page 1 of 1

registration help

PostPosted: Thu Sep 11, 2008 10:27 pm
by pokerisawesome
for the api you posted an example of...

Error: Connection failed
Click Back Button to correct.

but if you mistype the password or something it tells you to fix that...what do you think?

the api url and password is correct

Re: registration help

PostPosted: Thu Sep 11, 2008 10:39 pm
by Kent Briggs
pokerisawesome wrote:for the api you posted an example of...

Error: Connection failed
Click Back Button to correct.

but if you mistype the password or something it tells you to fix that...what do you think?

the api url and password is correct


I assume you are referring to the Poker_API() function I posted. You only get that "Connection failed" result if your script can't connect to the game server (it's either offline or there's an internet connection problem). If there is some other problem with a parameter then $api["Result"] will be set to "Error" and $api["Error"] will have a description of that error. This is all documented in the help file examples.