Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,209,139 members, 8,005,063 topics. Date: Sunday, 17 November 2024 at 01:58 PM

Help With Sending String $_data Via SMS Test Message - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Help With Sending String $_data Via SMS Test Message (471 Views)

How To Sell Mtn Sme Data Without Manually Sending Sms Or Dialing The Ussd Codes / Amazon SES AWS Accounts For Sale - 50k Sending Limit Approved / Transferwise Review :sending Money Worldwide With Few Clicks (2) (3) (4)

(1) (Reply) (Go Down)

Help With Sending String $_data Via SMS Test Message by fineboynl(m): 6:27pm On May 29, 2020
i have this scipt below that send the plain message. but i want to add this string variable. e.g $masked $number. but the it not working.
rather i am getting a plain message of $message.

cc: WebMind


<?php

$message = "message $masked $number";


// sms starts
// Account details
$url = ('Bleep.COM');
$username = ('Bleep@XX.com');
$apikey = ('XBXNX');


// Message details
$sender = urlencode('INFO');
$messagetext = rawurlencode ('$message');
$flash = urlencode('0');
$recipients = urlencode('234704444444');

// Send the GET request with cURL
$ch = curl_init("$url?username=$username&apikey=$apikey&sender=$sender&messagetext=$messagetext&flash=$flash&recipients=$recipients"wink;
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

// Process your response here
echo $response;

// sms ends

?>
Re: Help With Sending String $_data Via SMS Test Message by WebMind: 8:54am On Jun 01, 2020
fineboynl:


i have this scipt below that send the plain message. but i want to add this string variable. e.g $masked $number. but the it not working.
rather i am getting a plain message of $message.

cc: WebMind
Please let's do this privately this time around. Also explain the problem better.
Re: Help With Sending String $_data Via SMS Test Message by fineboynl(m): 3:17pm On Jun 02, 2020
WebMind:
Please let's do this privately this time around. Also explain the problem better.
done. did that already
Re: Help With Sending String $_data Via SMS Test Message by WebMind: 3:26pm On Jun 02, 2020
fineboynl:
done. did that already
OK.

(1) (Reply)

RUSH! 32 Hrs Digital Marketing Masterclass On Udemy / Tunesalert Income Program / Techpally On How To Multiply Your Blog Traffic Using Outbrain

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.