curl in php using post method

hello friends now i work with navdeep bagga .navdeep is my monitor and they create one api and plugin with help send the this api they face some error .this api not work with diffrent servers .i and my partner robin update this api using of curl.

i work on this library before one year .but i not impalement in any project now be have chance to do this i add this function in api

install cyrl library in ubantu by this comand

sudo apt-get install curl libcurl3 libcurl3-dev php5-curl.

this page name is sendsms.php


function sensms($number,$message)
echo $f;


this page is index.php


echo $_POST[‘number’];

echo $_POST[‘message’];



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s