This is regarding paypal through Curl. I am trying to access paypal by using below code. The code is working fine in one server. After moving this code to live server, getting the below error. Can anybody tell me the solution for this.

 $API_Endpoint = "";
     $version = urlencode('76.0');
     $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $API_Endpoint);
        curl_setopt($ch, CURLOPT_VERBOSE, 1);

        // Turn off the server and peer verification (TrustManager Concept).
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
        curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);

        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($ch, CURLOPT_POST, 1);

        // Set the API operation, version, and API signature in the request.
        $nvpreq = "METHOD=$methodName_&VERSION=$version&PWD=$API_Password&USER=$API_UserName&SIGNATURE=$API_Signature$nvpStr_";

        // Set the request as a POST FIELD for curl.
        curl_setopt($ch, CURLOPT_POSTFIELDS, $nvpreq);

        // Get response from the server.
        $httpResponse = curl_exec($ch);


SetExpressCheckout failed: Unknown SSL protocol error in connection to (35)

Hi frnds,

I need to seperate keys based on valuee.

Please check the below array.

Array ( [0] => 10:00 to 10:15, 10:30 to 11:00, 
        [1] => 10:00 to 10:15, 10:30 to 11:00,
        [2] => 10:30 to 12:15, 
        [3] =>
        [4] => 10:00 to 10:15, 10:30 to 11:00,
        [5] => 
        [6] => 10:30 to 12:15, ) 

i want to get the keys based on the duplicate values and distinct values like below.




Please suggest me......

Thanks in Advance...

Hi friends,

i want to redirection script for to

my website saved in abc folder. first i set the permenent redirection in Cpanel from to but i want to display onley website name..dont want to display folder.

Now, i am using this code.. but not working...

RewriteRule ^abc/$ / [R=302]

Please suggest that..

Hi friends,

I am having small doubt regarding redirection of my webpages.

folder structure : project/admin/

i want to redirect this to project/admin/adminlogin.php

Please check the below .htaccess code and corect me plz.

Below .htaccess file saved in project/admin/ this path.

Options +FollowSymLinks
RewriteEngine On
DirectoryIndex adminlogin.php

i am not getting any errors... but all the existed equations are displaying as Text format...

Hi frnds,

three months back i was integrated Tiny Mce editor to my website whick integrates Equation Editor Plugin.

At that time everything was going good. From last couple of days all the existed equations are displaying as Text formate. Can any body solve this issue please.

Thank you for ur quick and valuble response. smaller one means?..can you tell me any suggestions will be very helpful to me..

Hi Team,

This is Kishore, I have good experiance in Core PHP with Mysql. I am looking for learn new tools like frame work or CMS. I have 3.9 years exp in PHP Environment. Now I am looking for job change, So i want to improve my skills.

Please suggest me which one is best.

Thanks in Advance...

If u want count manually, then this is one solution ...

1) take $count=0;
2) Increment $count at the end of the while loop.
3) Print $count;


while($row = mysql_fetch_array($result)) {
    $rec = $row['receiver'];
    $d1 = '4';
    if(in_array($d1,$dept_rc) == TRUE){ //dp2
          $dc1="1"; } else $dc1="0";
          for($x=0; $x <= count($dc1['$x']); $x++)  {
      <td><?php echo $row['dept_name']; ?></td>
      <td><?php echo $dc1; ?></td>
      <td> </td>
     <?php $count++; } ?>
      <td><?php echo $count; ?></td> 
      <td> </td>

thanks for quick response again....

So, based on ur response, i can use this on free of cost i correct?

It is working fine till now...

Thank You..


Thanks for your response.

Need to confirm Restrictions like

1) After some days, Payment for Continuation of using this tool

2) Deactivation like after trail period of using this tool. I am not sure about this tool having Trail version....

Thats y i need to cofirm.....

Hi Team,

This is my first thread from Daniweb.. I observed Daniweb is great support for PHP Developers...

I am planning to integrate this Tiny Editor in my website for mathematical calculations. As per my observation Our math expression images saved in Codecogs server. In future is there any trail period or any restrictions regarding integration.

This is the website related to that

Please tell me about this...Experience guys.... it ll be very helpful to me....

Thanks in advance...