Paste Search Dynamic
Recent pastes
curl setopt sms api
  1. <?php
  2. $url="http://routee.com/vendorsms/pushsms.aspx?user=abc&password=xyz&msisdn=919898123456&sid=WebSMS&msg=Test message from SMSLane&fl=0";
  3. $ch = curl_init();
  4. curl_setopt( $ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1" );
  5. curl_setopt( $ch, CURLOPT_URL, $url );  
  6. $content = curl_exec( $ch );
  7. $response = curl_getinfo( $ch );
  8. curl_close ( $ch );
  9. echo $content;
  10. ?>
Parsed in 0.009 seconds