Hi All,
I am not exactly sure if i am doing it coreect or not but my issue is, in my site whenever user login into site a sms will go to the site-admin; For that i am using curl as mentioned below
PHP Code:
//after login is successfull
$curl = curl_init();
curl_setopt ($curl, CURLOPT_URL, "http://name/page.php?num=123456789&msg=test");
// link was provided by my sms api provider. When i manually click on that link, sms will work fine but i need it to be automatic whenever user login into the site.
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$result = curl_exec ($curl);
Above code is not working for me, just giving balnk page. Curl is installed in mine(Ubuntu) and tested.
Bookmarks