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


Groups > comp.lang.php > #14949

Re: help smsgateway.me

From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.php
Subject Re: help smsgateway.me
Date 2015-02-21 06:36 +0000
Organization A noiseless patient Spider
Message-ID <mc991r$pba$5@dont-email.me> (permalink)
References <f5e1168b-3b9f-4abf-b2dc-eb26146d21f4@googlegroups.com> <mc8j7n$ugu$1@dont-email.me> <mc8urf$pba$1@dont-email.me> <mc8vce$tep$1@dont-email.me>

Show all headers | View raw


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

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web