Hi,
Issue solved.
Issue
Moderator: General Moderators
Re: curl Issue
Send your debug info to a file using the following
And see where the error is.
Code: Select all
//redirect stderr to file stream
$fp = fopen("debug.txt","w");
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt ($ch, CURLOPT_STDERR, $fp);
//don't forget fclose at the end...Re: curl Issue
Hi Eric.
working now
working now
Last edited by bidoun on Mon Nov 02, 2009 9:25 am, edited 1 time in total.
Re: curl Issue
Have you tried it without urlencode() on your posted data? I'm not sure you want to it urlencode your fields.
Also, try the debug snipet and view the debug.txt file, you might find more ideas there.
Sorry that I don't have the desire to do the work for you on your account. Post the debug.txt file back here if you are still stuck.
Also, try the debug snipet and view the debug.txt file, you might find more ideas there.
Sorry that I don't have the desire to do the work for you on your account. Post the debug.txt file back here if you are still stuck.
Re: curl Issue
Okay, as I work on local "my machine". the file which contain the code is located in /var/www which is not writable. If you can't do this so tell me where to add the debug code exactly on the code above and I will run it from a remote server, my hosting provider.Eric! wrote:Have you tried it without urlencode() on your posted data? I'm not sure you want to it urlencode your fields.
Also, try the debug snipet and view the debug.txt file, you might find more ideas there.
Sorry that I don't have the desire to do the work for you on your account. Post the debug.txt file back here if you are still stuck.
Think You
Re: curl Issue
before line 90 and put in an fclose($fp) after line 90
Re: curl Issue
Are you sure about the position you give me, because when I do what you tell me, it create a file debug.txt but this file is void didn't contain any data.