in your example I did exactly everything as you said...so when you try to register a new account it gives this error...
Fatal error: Call to undefined function curl_init() in C:\\practicesite\API.php on line 8
new accounts problem
-
- Site Admin
- Posts: 5882
- Joined: Wed Mar 19, 2008 8:47 pm
Re: new accounts problem
The curl functions are a PHP add-in (libcurl). If you're running PHP from a hosted web site, you may need to get your service provider to install that option in your PHP configuration.pokerisawesome wrote:in your example I did exactly everything as you said...so when you try to register a new account it gives this error...
Fatal error: Call to undefined function curl_init() in C:\\practicesite\API.php on line 8
-
- Site Admin
- Posts: 5882
- Joined: Wed Mar 19, 2008 8:47 pm
Re: new accounts problem
Also, if you're installing PHP locally using EasyPHP (http://sourceforge.net/projects/quickeasyphp/) all you have to do is right-click the EasyPHP icon in the sytem tray, select Configuration, PHP Extension, and then make sure php_curl is checked in the extension list.
-
- Posts: 19
- Joined: Mon Sep 01, 2008 7:12 pm
Re: new accounts problem
Thanks done...
Now whenever I fill all the fields in it does this...
Error: Password is incorrect
Click Back Button to correct.
Now whenever I fill all the fields in it does this...
Error: Password is incorrect
Click Back Button to correct.
-
- Site Admin
- Posts: 5882
- Joined: Wed Mar 19, 2008 8:47 pm
Re: new accounts problem
Check the API.php file and make sure the $pw variable matches your API password (and the $url variable matches your URL).pokerisawesome wrote:Thanks done...
Now whenever I fill all the fields in it does this...
Error: Password is incorrect
Click Back Button to correct.