SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Sat May 25, 2024 11:44
SMSTools3 Community » Help and support Bottom

[answered] the best way to get received msg ?

  This topic is locked

Page:  1

Author Post
Member
Registered:
Aug 2010
Location: beijing, China
The incoming file fomat is like this :
---------------------------------
From:
From_TOA:
From_SMSC:
Sent:
Received:
Subject: GSM1
Modem: GSM1
IMSI:
Report:
Alphabet: UCS2
Length:

message content
------------------------------------

I failed to get the msg content by using split("\n\n",$msg) or "\x0a\x0a"

so what's the best way to get received msg ?

thanks

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
In PHP? Try this:

$content = substr($msg, strpos($msg, "\n\n") +2);

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.