update record not working

update record not working

Hello Forum Admins,

   I am PHP developer. and i am using zoho crm api ,and I am trying to update the record.

$curl_handle  = curl_init();
curl_setopt( $curl_handle, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1" );
curl_setopt($curl_handle,CURLOPT_FRESH_CONNECT,true);//No caching
$buffer = curl_exec($curl_handle);

echo $buffer;

$url variable holds proper details...because when i copy paste $url contents in browsers address bar and hit enter, it shows me "record updated successfully" message, that means there is no problem with $url, 

I tried many CURL variations but nothing worked it keep returning "false" can u please show me some standard php examples or find whats wrong i m doing ???

I have spent 3 days solving this problem....i posted this in few forums too but didnt find working answer.

Please help  
    Zoho Marketing Automation
      Zoho Mail - CRM Integration

              Zoho Pagesense Resources

                Zoho SalesIQ Resources

                      Zoho TeamInbox Resources

                        Zoho DataPrep Resources

                          Zoho CRM Plus Resources

                            Zoho Books Resources

                              Zoho Subscriptions Resources

                                Zoho Desk Resources

                                  Zoho Projects Resources

                                    Zoho Sprints Resources

                                      Qntrl Resources

                                        Zoho Creator Resources

                                          Zoho WorkDrive Resources

                                              Zoho Campaigns Resources

                                                Zoho CRM Resources

                                                        Design. Discuss. Deliver.

                                                        Create visually engaging stories with Zoho Show.

                                                        Get Started Now