Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #14945 > unrolled thread

help smsgateway.me

Started byAdnan Shiekh <adnanshahi123@gmail.com>
First post2015-02-20 14:56 -0800
Last post2019-05-20 09:19 -0700
Articles 20 on this page of 60 — 17 participants

Back to article view | Back to comp.lang.php


Contents

  help smsgateway.me Adnan Shiekh <adnanshahi123@gmail.com> - 2015-02-20 14:56 -0800
    Re: help smsgateway.me Jerry Stuckle <jstucklex@attglobal.net> - 2015-02-20 19:25 -0500
      Re: help smsgateway.me Denis McMahon <denismfmcmahon@gmail.com> - 2015-02-21 03:42 +0000
        Re: help smsgateway.me Jerry Stuckle <jstucklex@attglobal.net> - 2015-02-20 22:52 -0500
          Re: help smsgateway.me Denis McMahon <denismfmcmahon@gmail.com> - 2015-02-21 06:36 +0000
          Re: help smsgateway.me Allodoxaphobia <knock_yourself_out@example.net> - 2015-02-21 19:25 +0000
    Re: help smsgateway.me Adnan Shiekh <adnanshahi123@gmail.com> - 2015-02-20 22:44 -0800
      Re: help smsgateway.me "J.O. Aho" <user@example.net> - 2015-02-21 09:58 +0100
    Re: help smsgateway.me Adnan Shiekh <adnanshahi123@gmail.com> - 2015-02-21 08:36 -0800
      Re: help smsgateway.me Jerry Stuckle <jstucklex@attglobal.net> - 2015-02-21 12:58 -0500
      Re: help smsgateway.me Denis McMahon <denismfmcmahon@gmail.com> - 2015-02-22 02:06 +0000
    Re: help smsgateway.me Adnan Shiekh <adnanshahi123@gmail.com> - 2015-02-22 07:25 -0800
      Re: help smsgateway.me khurram@itlinkonline.com - 2017-06-30 23:26 -0700
        Re: help smsgateway.me "J.O. Aho" <user@example.net> - 2017-07-01 08:34 +0200
        Re: help smsgateway.me denispeterson96@gmail.com - 2018-05-18 23:53 -0700
    Re: help smsgateway.me nguyenphuthuybk@gmail.com - 2019-02-22 01:13 -0800
      Re: help smsgateway.me Jerry Stuckle <jstucklex@attglobal.net> - 2019-02-22 09:35 -0500
    Re: help smsgateway.me qlixess@gmail.com - 2019-05-19 21:16 -0700
      Re: help smsgateway.me Jerry Stuckle <jstucklex@attglobal.net> - 2019-05-20 14:44 -0400
        Re: help smsgateway.me qlixess@gmail.com - 2019-05-20 09:01 -0700
          Re: help smsgateway.me Jerry Stuckle <jstucklex@attglobal.net> - 2019-05-20 16:07 -0400
            Re: help smsgateway.me qlixess@gmail.com - 2019-05-20 09:20 -0700
              Re: help smsgateway.me Jerry Stuckle <jstucklex@attglobal.net> - 2019-05-20 19:57 -0400
                Re: help smsgateway.me qlixess@gmail.com - 2019-05-20 15:54 -0700
                  Re: help smsgateway.me Martin Gregorie <martin@mydomain.invalid> - 2019-05-20 23:15 +0000
                    Re: help smsgateway.me qlixess@gmail.com - 2019-05-20 17:45 -0700
                      Re: help smsgateway.me Jerry Stuckle <jstucklex@attglobal.net> - 2019-05-21 02:09 -0400
                        Re: help smsgateway.me andrepinote01@gmail.com - 2019-06-11 12:09 -0700
                          Re: help smsgateway.me Jerry Stuckle <jstucklex@attglobal.net> - 2019-06-12 10:32 -0400
                          Re: help smsgateway.me qlixess@gmail.com - 2019-06-12 11:32 -0700
                            Re: help smsgateway.me tim.soladoye@gmail.com - 2019-06-14 22:08 -0700
                              Re: help smsgateway.me dhakamoto@gmail.com - 2019-06-28 09:28 -0700
                                Re: help smsgateway.me Jerry Stuckle <jstucklex@attglobal.net> - 2019-06-28 23:17 -0400
                                  Re: help smsgateway.me tim.soladoye@gmail.com - 2019-07-28 00:32 -0700
                                    Re: help smsgateway.me "J.O. Aho" <user@example.net> - 2019-07-28 11:45 +0200
                                      Re: help smsgateway.me tim.soladoye@gmail.com - 2019-07-28 10:26 -0700
                                    Re: help smsgateway.me Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2019-07-28 14:13 -0400
                                      Re: help smsgateway.me tim.soladoye@gmail.com - 2019-07-28 14:28 -0700
                                        Re: help smsgateway.me Arno Welzel <usenet@arnowelzel.de> - 2019-07-29 10:17 +0200
                                          Re: help smsgateway.me tim.soladoye@gmail.com - 2019-07-29 01:29 -0700
                                            Re: help smsgateway.me Arno Welzel <usenet@arnowelzel.de> - 2019-07-29 15:26 +0200
                                              Re: help smsgateway.me tim.soladoye@gmail.com - 2019-07-29 06:39 -0700
                                                Re: help smsgateway.me Jerry Stuckle <jstucklex@attglobal.net> - 2019-07-29 10:38 -0400
                                                  Re: help smsgateway.me tim.soladoye@gmail.com - 2019-07-29 09:54 -0700
                                                    Re: help smsgateway.me "J.O. Aho" <user@example.net> - 2019-07-29 19:42 +0200
                                                      Re: help smsgateway.me tim.soladoye@gmail.com - 2019-07-29 10:52 -0700
                                                        Re: help smsgateway.me "J.O. Aho" <user@example.net> - 2019-07-29 20:28 +0200
                                                    Re: help smsgateway.me Jerry Stuckle <jstucklex@attglobal.net> - 2019-07-29 23:21 -0400
                                                    Re: help smsgateway.me Jerry Stuckle <jstucklex@attglobal.net> - 2019-07-29 23:23 -0400
                                                      Re: help smsgateway.me bolfem1771@gmail.com - 2019-07-29 21:53 -0700
                                                        Re: help smsgateway.me "J.O. Aho" <user@example.net> - 2019-07-30 07:15 +0200
                                                          Re: help smsgateway.me Jerry Stuckle <jstucklex@attglobal.net> - 2019-07-30 10:50 -0400
                                                            Offtopic: kdeconnect/adb (Was: help smsgateway.me) "J.O. Aho" <user@example.net> - 2019-07-30 19:40 +0200
                                                      Re: help smsgateway.me tim.soladoye@gmail.com - 2019-07-29 22:00 -0700
                                                        Re: help smsgateway.me Arno Welzel <usenet@arnowelzel.de> - 2019-07-30 11:55 +0200
                                                        Re: help smsgateway.me Jerry Stuckle <jstucklex@attglobal.net> - 2019-07-30 10:52 -0400
                                                  Re: help smsgateway.me Arno Welzel <usenet@arnowelzel.de> - 2019-07-30 11:53 +0200
                                                Re: help smsgateway.me Arno Welzel <usenet@arnowelzel.de> - 2019-07-30 11:51 +0200
          Re: help smsgateway.me dimitri.lekien@visitonweb.com - 2019-05-20 09:10 -0700
            Re: help smsgateway.me qlixess@gmail.com - 2019-05-20 09:19 -0700

Page 1 of 3  [1] 2 3  Next page →


#14945 — help smsgateway.me

FromAdnan Shiekh <adnanshahi123@gmail.com>
Date2015-02-20 14:56 -0800
Subjecthelp smsgateway.me
Message-ID<f5e1168b-3b9f-4abf-b2dc-eb26146d21f4@googlegroups.com>
Hi everyone,

i want to receive a message using smsgateway.me api, i have successfully send sms, but i can't receive message.. help me in this situation.. thanks in advance

[toc] | [next] | [standalone]


#14946

FromJerry Stuckle <jstucklex@attglobal.net>
Date2015-02-20 19:25 -0500
Message-ID<mc8j7n$ugu$1@dont-email.me>
In reply to#14945
On 2/20/2015 5:56 PM, Adnan Shiekh wrote:
> Hi everyone,
> 
> i want to receive a message using smsgateway.me api, i have successfully send sms, but i can't receive message.. help me in this situation.. thanks in advance
> 

Are you sure the sms message is properly addressed to your server?

Have you checked smsgateway.me support?  When working with a package,
your first line of support is almost always the support section for that
package.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#14947

FromDenis McMahon <denismfmcmahon@gmail.com>
Date2015-02-21 03:42 +0000
Message-ID<mc8urf$pba$1@dont-email.me>
In reply to#14946
On Fri, 20 Feb 2015 19:25:02 -0500, Jerry Stuckle wrote:

> On 2/20/2015 5:56 PM, Adnan Shiekh wrote:

>> i want to receive a message using smsgateway.me api, i have
>> successfully send sms, but i can't receive message.. help me in this
>> situation.. thanks in advance

> Are you sure the sms message is properly addressed to your server?

> Have you checked smsgateway.me support?  When working with a package,
> your first line of support is almost always the support section for that
> package.

I just looked at their API Jerry. It's the sort of thing I wouldn't touch 
with a barge pole.

Their API works like this. You install their app on your phone. Then to 
send an sms from your app on your phone, you send the sms to their 
server, their server pushes it back to the app on the phone, and the app 
on the phone then sends the sms from the phone.

Given that there's an api in the phone already to send an sms (which 
their app uses), if you wanted to send an sms from your app, wouldn't it 
make more sense to call the phone's api directly, rather than sending the 
message through a third party server off the phone which simply bounces 
it back to an app on the phone which calls the phone api.

I can't see the benefit to the person developing apps on a phone of 
sending sms in such a convoluted manner, although I guess the people 
running smsgateway.me are happily harvesting any data they can from the 
sms texts passing through their system.

Daft doesn't begin to describe it. And why would you be using php to code 
on an android device? It would make a lot more sense to code in java and 
use the native apis.

-- 
Denis McMahon, denismfmcmahon@gmail.com

[toc] | [prev] | [next] | [standalone]


#14948

FromJerry Stuckle <jstucklex@attglobal.net>
Date2015-02-20 22:52 -0500
Message-ID<mc8vce$tep$1@dont-email.me>
In reply to#14947
On 2/20/2015 10:42 PM, Denis McMahon wrote:
> On Fri, 20 Feb 2015 19:25:02 -0500, Jerry Stuckle wrote:
> 
>> On 2/20/2015 5:56 PM, Adnan Shiekh wrote:
> 
>>> i want to receive a message using smsgateway.me api, i have
>>> successfully send sms, but i can't receive message.. help me in this
>>> situation.. thanks in advance
> 
>> Are you sure the sms message is properly addressed to your server?
> 
>> Have you checked smsgateway.me support?  When working with a package,
>> your first line of support is almost always the support section for that
>> package.
> 
> I just looked at their API Jerry. It's the sort of thing I wouldn't touch 
> with a barge pole.
> 
> Their API works like this. You install their app on your phone. Then to 
> send an sms from your app on your phone, you send the sms to their 
> server, their server pushes it back to the app on the phone, and the app 
> on the phone then sends the sms from the phone.
> 
> Given that there's an api in the phone already to send an sms (which 
> their app uses), if you wanted to send an sms from your app, wouldn't it 
> make more sense to call the phone's api directly, rather than sending the 
> message through a third party server off the phone which simply bounces 
> it back to an app on the phone which calls the phone api.
> 
> I can't see the benefit to the person developing apps on a phone of 
> sending sms in such a convoluted manner, although I guess the people 
> running smsgateway.me are happily harvesting any data they can from the 
> sms texts passing through their system.
> 
> Daft doesn't begin to describe it. And why would you be using php to code 
> on an android device? It would make a lot more sense to code in java and 
> use the native apis.
> 

Hi, Denis,

I looked at it briefly, but not nearly as deeply as you did.  From what
you said, I agree it's pretty convoluted.  However, I see they also have
a PHP driver; are there any phones out there which run PHP?  Or is it
something you can put on a PC or server to send SMS messages from there
(I still don't know how you'd receive a message).

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#14949

FromDenis McMahon <denismfmcmahon@gmail.com>
Date2015-02-21 06:36 +0000
Message-ID<mc991r$pba$5@dont-email.me>
In reply to#14948
On Fri, 20 Feb 2015 22:52:22 -0500, Jerry Stuckle wrote:

> I looked at it briefly, but not nearly as deeply as you did.  From what
> you said, I agree it's pretty convoluted.  However, I see they also have
> a PHP driver; are there any phones out there which run PHP?  Or is it
> something you can put on a PC or server to send SMS messages from there
> (I still don't know how you'd receive a message).

Oh - yeah, maybe it's a case of using your PHP app to send and receive 
messages via your phone ... that might be more useful (I did wonder about 
writing apps in php on a phone).

The only way I can see to receive messages is to poll their server for 
them from the php app, which would either mean running a cron job 
(reliable) or relying on someone accessing the PHP code manually to 
trigger a poll.

Assuming the idea is that the php would be sitting on your web server 
(now makes more sense I guess) that really means a cron job to poll for 
incoming messages.

But even so, assuming the phone has an ip address, it would make more 
sense for a phone app and your web server to communicate directly, rather 
than via a third party server.

Hang your phone off the wifi on your lan, get the phone's lan ip, tell 
the api code on the webserver to make it's rpc calls to the phone ip on 
whatever port the phone app listens to. Then a java app on the phone 
handles the rpc calls from the webserver and interfaces with the phone's 
sms api.

And a third party isn't harvesting data from your sms traffic (except for 
NSA / GCHQ and the mobile network operator, but that's hard to prevent).

Writing a java app for android to listen on a nominated port, receive a 
json string over tcp/ip, talk to the phone sms api and then respond with 
a json string over the same tcp/ip connection wouldn't be difficult.

-- 
Denis McMahon, denismfmcmahon@gmail.com

[toc] | [prev] | [next] | [standalone]


#14958

FromAllodoxaphobia <knock_yourself_out@example.net>
Date2015-02-21 19:25 +0000
Message-ID<slrnmehmtl.qgl.knock_yourself_out@vps.jonz.net>
In reply to#14948
On Fri, 20 Feb 2015 22:52:22 -0500, Jerry Stuckle wrote:
>
> I looked at it briefly, but not nearly as deeply as you did.  From what
> you said, I agree it's pretty convoluted.  However, I see they also have
> a PHP driver; are there any phones out there which run PHP?  

> is it(? Is here...)
> something you can put on a PC or server to send SMS messages from there

	http://textbelt.com/

See also for comments/discussion/examples:;

	http://www.google.com/search?as_q=curl+textbelt

> (I still don't know how you'd receive a message).

True.  
However, some cell service prividers permit texting to email addys.

Jonesy
-- 
  Marvin L Jones    | Marvin      | W3DHJ  | linux
   38.238N 104.547W |  @ jonz.net | Jonesy |  OS/2
    * Killfiling google & XXXXbanter.com: jonz.net/ng.htm

[toc] | [prev] | [next] | [standalone]


#14950

FromAdnan Shiekh <adnanshahi123@gmail.com>
Date2015-02-20 22:44 -0800
Message-ID<da46916e-51f4-489f-a304-c5fa03945ed8@googlegroups.com>
In reply to#14945
Hello everyone,

Thanks to all for reply , i have decided to explain my problem in detail, basically i have write a web service to send and receive sms using my android phone and if anyone can reply then my application auto reply to user, i am firstly use Smssync for this purpose but through this i can't message send successfully then i am decided to use smsgateway.me but through this api i am successfully send sms but not receive messages ,api claims to support receive messages but i have not done, if anyone can help me in this case and know better tools for this purpose please told me.... i have used in initial days EnvayaSms but i have not successfull to send sms using Envaya... thanks in advance

[toc] | [prev] | [next] | [standalone]


#14951

From"J.O. Aho" <user@example.net>
Date2015-02-21 09:58 +0100
Message-ID<ckqvknFfvauU1@mid.individual.net>
In reply to#14950
On 21/02/15 07:44, Adnan Shiekh wrote:
> Hello everyone,
>
> Thanks to all for reply , i have decided to explain my problem in detail, basically i have write a web service to send and receive sms using my android phone and if anyone can reply then my application auto reply to user, i am firstly use Smssync for this purpose but through this i can't message send successfully then i am decided to use smsgateway.me but through this api i am successfully send sms but not receive messages ,api claims to support receive messages but i have not done, if anyone can help me in this case and know better tools for this purpose please told me.... i have used in initial days EnvayaSms but i have not successfull to send sms using Envaya... thanks in advance
>

Your web service has to ask the API to see if there is new message, you 
have an example at 
https://smsgateway.me/sms-api-documentation/messages/fetch-single-message

If you don't do this every X minute, you will never know that you got a 
message. I recommend you to use a cron job for that part, so you need to 
write a cli script and run it.

The phone will not in a magical way send a message to your script.

-- 

  //Aho

[toc] | [prev] | [next] | [standalone]


#14955

FromAdnan Shiekh <adnanshahi123@gmail.com>
Date2015-02-21 08:36 -0800
Message-ID<c9ee7df5-7f4a-4c9d-825e-2f654954dd00@googlegroups.com>
In reply to#14945
i have know about how to fetch single which one sent from my android phone but i have not any issue about sending message only problem in receiving sms. any one can tell me how to receive sms using this api.. i have try to add callbacks "Message is received" but not working.... if any body know about the better approach for this api or solution of receiving message please tell me.. thanks

[toc] | [prev] | [next] | [standalone]


#14957

FromJerry Stuckle <jstucklex@attglobal.net>
Date2015-02-21 12:58 -0500
Message-ID<mcagvn$d8v$1@dont-email.me>
In reply to#14955
On 2/21/2015 11:36 AM, Adnan Shiekh wrote:
> i have know about how to fetch single which one sent from my android phone but i have not any issue about sending message only problem in receiving sms. any one can tell me how to receive sms using this api.. i have try to add callbacks "Message is received" but not working.... if any body know about the better approach for this api or solution of receiving message please tell me.. thanks
> 

Try asking the people who wrote the API.  They know their code better
than anyone else.  I don't think anyone here is going to spend the hours
necessary to understand the API.  After all, we're all volunteers.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#14961

FromDenis McMahon <denismfmcmahon@gmail.com>
Date2015-02-22 02:06 +0000
Message-ID<mcbdjc$rp4$1@dont-email.me>
In reply to#14955
On Sat, 21 Feb 2015 08:36:47 -0800, Adnan Shiekh wrote:

> i have know about how to fetch single which one sent from my android
> phone but i have not any issue about sending message only problem in
> receiving sms. any one can tell me how to receive sms using this api.. i
> have try to add callbacks "Message is received" but not working.... if
> any body know about the better approach for this api or solution of
> receiving message please tell me.. thanks

It looks like the callback is meant to be a page on your web server that 
the smsgateway.me requests to inform you that there is a message.

You want a php script on your webserver that might contain something like 
the following code:

<?php

$mysecret = '<your api callback secret>';

if ($_POST['secret'] == $mysecret) {

  switch($_POST['event']) {

    case 'Received': 
      // an sms was received
      // process received message
      break;

    case 'Sent':
      // an sms was sent
      break;

    case 'Update':
      // there was an update
      break;

    default:
      // this should never happen
      error_log('bad api callback event received in smscallback.php', 0);
  }

}
else {
  // record in your log that the secret was wrong
  error_log('bad api callback secret received in smscallback.php', 0);
}

Then you log in to your account at smsgateway.me, you go to the events 
page, you set up a callback event for received messages, you use the http 
method, you set the secret to <your api callback secret> and you set the 
http url to http://your-web-server-address/path/to/smscallback.php

This will inly work if the smsgateway.me server can connect to 

http://your-web-server-address/path/to/smscallback.php

If you are working from home with dynamic ip on adsl you will have all 
sorts of network configuration issues to resolve, none of which are 
relevant to the php newsgroup.

-- 
Denis McMahon, denismfmcmahon@gmail.com

[toc] | [prev] | [next] | [standalone]


#14963

FromAdnan Shiekh <adnanshahi123@gmail.com>
Date2015-02-22 07:25 -0800
Message-ID<8ce77547-c500-41b1-ae20-f1aa47648bd9@googlegroups.com>
In reply to#14945
thanks Denis alot...nice to meet you..:)

[toc] | [prev] | [next] | [standalone]


#17522

Fromkhurram@itlinkonline.com
Date2017-06-30 23:26 -0700
Message-ID<7455f0d2-a6da-4100-b699-c9e868f9c9df@googlegroups.com>
In reply to#14963
Hi i am new in programming
i want to send sms using smsgateway.me Api

Here is my code:
include "smsGateway.php";
$smsGateway = new SmsGateway('demo@gmail.com', 'admin');

$deviceID = xxxxx;
$number = '+xxxxxxxxxxxx';
$message = 'Hello World!';

$options = [
    'send_at' => strtotime('+1 minutes'), // Send the message in 10 minutes
    'expires_at' => strtotime('+1 hour') // Cancel the message in 1 hour if the message is not yet sent
];

//Please note options is no required and can be left out
//$result = $smsGateway->sendMessageToNumber($number, $message, $deviceID, $options);
$result = $smsGateway->sendMessageToNumber($number, $message, $deviceID);
echo json_encode($result);
----------------------------------------------

i think my code is ok but i am getting this response

{"response":false,"status":0}

please help me


[toc] | [prev] | [next] | [standalone]


#17523

From"J.O. Aho" <user@example.net>
Date2017-07-01 08:34 +0200
Message-ID<erou48FlkleU1@mid.individual.net>
In reply to#17522
On 07/01/17 08:26, khurram@itlinkonline.com wrote:
> Hi i am new in programming
> i want to send sms using smsgateway.me Api

I suggest you  visit the following page:
https://smsgateway.me/contact-us

and ask for help there, as I doubt there is anyone who has used the API
in question and can answer you questions.

-- 

 //Aho

[toc] | [prev] | [next] | [standalone]


#17757

Fromdenispeterson96@gmail.com
Date2018-05-18 23:53 -0700
Message-ID<c45d7c69-7dbb-4702-863d-0e895d99e4da@googlegroups.com>
In reply to#17522
{"response":false,"status":0}  means you are not connected to the internet ... connect and try again

[toc] | [prev] | [next] | [standalone]


#17874

Fromnguyenphuthuybk@gmail.com
Date2019-02-22 01:13 -0800
Message-ID<3d58b117-8764-4f23-999a-19b1bb317d01@googlegroups.com>
In reply to#14945
Vào 05:56:22 UTC+7 Thứ Bảy, ngày 21 tháng 2 năm 2015, Albertestein đã viết:
> Hi everyone,
> 
> i want to receive a message using smsgateway.me api, i have successfully send sms, but i can't receive message.. help me in this situation.. thanks in advance

,php it ok but this javascript send sms not run :  

var p = {
    "phone1": "9999999999",
    "phone2": "8888888888"
};

for (var key in p) {
    if (p.hasOwnProperty(key)) {
        var phone_number = p[key];
        var message = "Test SMS";
        var device_id = 1;
        var obj = [{
            "phone_number": phone_number,
            "message": message,
            "device_id": device_id
        }];
        var mydata = JSON.stringify(obj);
        var settings = {
            "async": true,
            "crossDomain": true,
            "url": "https://smsgateway.me/api/v4/message/send",
            "method": "POST",
            "headers": {
                "Authorization": "MY_API_KEY",
                "Content-Type": "application/json",
            },
            "processData": false,
            data: mydata
        }
        $.ajax(settings).done(function(response) {
            console.log(response);
        });
    }
}

[toc] | [prev] | [next] | [standalone]


#17875

FromJerry Stuckle <jstucklex@attglobal.net>
Date2019-02-22 09:35 -0500
Message-ID<q4p1b6$5a7$1@jstuckle.eternal-september.org>
In reply to#17874
On 2/22/2019 4:13 AM, nguyenphuthuybk@gmail.com wrote:
> Vào 05:56:22 UTC+7 Thứ Bảy, ngày 21 tháng 2 năm 2015, Albertestein đã viết:
>> Hi everyone,
>>
>> i want to receive a message using smsgateway.me api, i have successfully send sms, but i can't receive message.. help me in this situation.. thanks in advance
> 
> ,php it ok but this javascript send sms not run :
> 
> var p = {
>      "phone1": "9999999999",
>      "phone2": "8888888888"
> };
> 
> for (var key in p) {
>      if (p.hasOwnProperty(key)) {
>          var phone_number = p[key];
>          var message = "Test SMS";
>          var device_id = 1;
>          var obj = [{
>              "phone_number": phone_number,
>              "message": message,
>              "device_id": device_id
>          }];
>          var mydata = JSON.stringify(obj);
>          var settings = {
>              "async": true,
>              "crossDomain": true,
>              "url": "https://smsgateway.me/api/v4/message/send",
>              "method": "POST",
>              "headers": {
>                  "Authorization": "MY_API_KEY",
>                  "Content-Type": "application/json",
>              },
>              "processData": false,
>              data: mydata
>          }
>          $.ajax(settings).done(function(response) {
>              console.log(response);
>          });
>      }
> }
> 

Try a javascript newsgroup.  This one is for PHP help.


-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#17916

Fromqlixess@gmail.com
Date2019-05-19 21:16 -0700
Message-ID<a5754cf4-39d6-4a62-9425-37ce29732542@googlegroups.com>
In reply to#14945
On Saturday, February 21, 2015 at 5:56:22 AM UTC+7, Albertestein wrote:
> Hi everyone,
> 
> i want to receive a message using smsgateway.me api, i have successfully send sms, but i can't receive message.. help me in this situation.. thanks in advance

Dear Sir,
I have some problem while tried to login into smsgateway.me
I've input right credentials but that site still show incorrect username/password.
also i couldn't receive any email for reset password.
Thank you a lot

[toc] | [prev] | [next] | [standalone]


#17917

FromJerry Stuckle <jstucklex@attglobal.net>
Date2019-05-20 14:44 -0400
Message-ID<qbuege$tuf$1@jstuckle.eternal-september.org>
In reply to#17916
On 5/20/2019 12:16 AM, qlixess@gmail.com wrote:
> On Saturday, February 21, 2015 at 5:56:22 AM UTC+7, Albertestein wrote:
>> Hi everyone,
>>
>> i want to receive a message using smsgateway.me api, i have successfully send sms, but i can't receive message.. help me in this situation.. thanks in advance
> 
> Dear Sir,
> I have some problem while tried to login into smsgateway.me
> I've input right credentials but that site still show incorrect username/password.
> also i couldn't receive any email for reset password.
> Thank you a lot
> 

Are you using PHP?  This is a PHP support group.


-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#17918

Fromqlixess@gmail.com
Date2019-05-20 09:01 -0700
Message-ID<39e17ad5-955c-4898-828c-cd0ed35f90b4@googlegroups.com>
In reply to#17917
On Monday, May 20, 2019 at 9:44:35 PM UTC+7, Jerry Stuckle wrote:
> On 5/20/2019 12:16 AM, qlixess@gmail.com wrote:
> > On Saturday, February 21, 2015 at 5:56:22 AM UTC+7, Albertestein wrote:
> >> Hi everyone,
> >>
> >> i want to receive a message using smsgateway.me api, i have successfully send sms, but i can't receive message.. help me in this situation.. thanks in advance
> > 
> > Dear Sir,
> > I have some problem while tried to login into smsgateway.me
> > I've input right credentials but that site still show incorrect username/password.
> > also i couldn't receive any email for reset password.
> > Thank you a lot
> > 
> 
> Are you using PHP?  This is a PHP support group.
> 
> 
> -- 
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> jstucklex@attglobal.net
> ==================

Yes, I'm using lumen.
i'm tried to reset my password, but it's still not worked.
while I've tried on smsgateway.me apk, it's worked.
note : i'm tried login via browser, it's shown incorrect username/password
thanks a lot

[toc] | [prev] | [next] | [standalone]


Page 1 of 3  [1] 2 3  Next page →

Back to top | Article view | comp.lang.php


csiph-web