Page 1 of 1
Issue
Posted: Sun Nov 01, 2009 6:57 am
by bidoun
Hi,
Issue solved.
Re: curl Issue
Posted: Sun Nov 01, 2009 1:46 pm
by Eric!
Send your debug info to a file using the following
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...
And see where the error is.
Re: curl Issue
Posted: Sun Nov 01, 2009 6:00 pm
by bidoun
Hi Eric.
working now
Re: curl Issue
Posted: Sun Nov 01, 2009 6:24 pm
by Eric!
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.
Re: curl Issue
Posted: Sun Nov 01, 2009 6:54 pm
by bidoun
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.
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.
Think You
Re: curl Issue
Posted: Sun Nov 01, 2009 8:05 pm
by Eric!
before line 90 and put in an fclose($fp) after line 90
Re: curl Issue
Posted: Sun Nov 01, 2009 8:14 pm
by bidoun
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.
Re: curl Issue
Posted: Sun Nov 01, 2009 8:28 pm
by bidoun
.
Re: Issue
Posted: Mon Nov 02, 2009 9:38 am
by Eric!
Why did you delete all your posts? It might have helped someone else in the future.