- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我目前正在研究一个 SMS 网关项目。
在 ubuntu 13.04 上运行并使用 gammu。
安装并配置了 gammu 然后我使用了
gammu --identify
Device : /dev/ttyUSB0
Manufacturer : Wavecom
Model : MULTIBAND 900E 1800 (MULTIBAND 900E 1800)
Firmware : 65209gg.Q2406B 244 112706 01:12
IMEI : 353805012839937
SIM IMSI : 510101262086274
gammu getallsms
gammu sendsms TEXT [number] -text "SMS Test"
If you want break, press Ctrl+C...
Sending SMS 1/1....waiting for network answer..error 29, message reference=-1
Unknown error.
port = /dev/ttyUSB0
model =
connection = at115200
synchronizetime = yes
logfile = /var/log/gammulog
logformat = textall
use_locking =
gammuloc =
port = /dev/ttyUSB0
connection = at115200
[Gammu - 1.33.0 built 16:20:47 Aug 1 2013 using GCC 4.8]
[Connection - "at115200"]
[Connection index - 0]
[Model type - ""]
[Device - "/dev/ttyUSB0"]
[Running on - Linux, kernel 3.11.0-12-generic (#19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013)]
Serial device: DTR is up, RTS is up, CAR is down, CTS is up
Setting speed to 115200
[Module - "auto"]
Escaping SMS mode
SENDING frametype 0x00/length 0x02/2
1B |0D ..
Sending simple AT command to wake up some devices
SENDING frametype 0x00/length 0x03/3
41A|54T|0D AT.
1 "AT"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x09/9
41A|54T|0D |0D |0A |4FO|4BK|0D |0A AT...OK..
Enabling echo
SENDING frametype 0x00/length 0x05/5
41A|54T|45E|311|0D ATE1.
1 "ATE1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x0B/11
41A|54T|45E|311|0D |0D |0A |4FO|4BK|0D |0A ATE1...OK..
Trying Motorola mode switch
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D AT+MODE=2.
1 "AT+MODE=2"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x13/19
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D |0D |0A |45E|52R|52R|4FO AT+MODE=2...ERRO
52R|0D |0A R..
Seems not to be supported
Enabling CME errors
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D AT+CMEE=1.
1 "AT+CMEE=1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x10/16
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D |0D |0A |4FO|4BK|0D |0A AT+CMEE=1...OK..
SENDING frametype 0x00/length 0x09/9
41A|54T|2B+|43C|53S|43C|53S|3F?|0D AT+CSCS?.
1 "AT+CSCS?"
2 "+CSCS: "HEX""
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x1F/31
41A|54T|2B+|43C|53S|43C|53S|3F?|0D |0D |0A |2B+|43C|53S|43C|53S AT+CSCS?...+CSCS
3A:|20 |22"|48H|45E|58X|22"|0D |0A |0D |0A |4FO|4BK|0D |0A : "HEX"....OK..
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|49I|0D AT+CGMI.
1 "AT+CGMI"
2 " WAVECOM MODEM"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x20/32
41A|54T|2B+|43C|47G|4DM|49I|0D |0D |0A |20 |57W|41A|56V|45E|43C AT+CGMI... WAVEC
4FO|4DM|20 |4DM|4FO|44D|45E|4DM|0D |0A |0D |0A |4FO|4BK|0D |0A OM MODEM....OK..
Manufacturer info received
[Manufacturer: Wavecom]
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D AT+CSCS=?.
1 "AT+CSCS=?"
2 "+CSCS: ("GSM","PCCP437","CUSTOM","HEX")"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x3B/59
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D |0D |0A |2B+|43C|53S|43C AT+CSCS=?...+CSC
53S|3A:|20 |28(|22"|47G|53S|4DM|22"|2C,|22"|50P|43C|43C|50P|344 S: ("GSM","PCCP4
333|377|22"|2C,|22"|43C|55U|53S|54T|4FO|4DM|22"|2C,|22"|48H|45E 37","CUSTOM","HE
58X|22"|29)|0D |0A |0D |0A |4FO|4BK|0D |0A X")....OK..
Chosen HEX as normal charset
Getting model
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|4DM|0D AT+CGMM.
1 "AT+CGMM"
2 " MULTIBAND 900E 1800 "
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x29/41
41A|54T|2B+|43C|47G|4DM|4DM|0D |0D |0A |20 |4DM|55U|4CL|54T|49I AT+CGMM... MULTI
42B|41A|4EN|44D|20 |20 |399|300|300|45E|20 |20 |311|388|300|300 BAND 900E 1800
20 |0D |0A |0D |0A |4FO|4BK|0D |0A ....OK..
[Model name: `MULTIBAND 900E 1800']
[Model data: `MULTIBAND 900E 1800']
[Model data: `MULTIBAND 900E 1800']
[Connected model - "MULTIBAND 900E 1800"]
Checking for OBEX support
SENDING frametype 0x00/length 0x0B/11
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D AT+CPROT=?.
1 "AT+CPROT=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x14/20
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D |0D |0A |45E|52R|52R AT+CPROT=?...ERR
4FO|52R|0D |0A OR..
Checking for SYNCML/OBEX support
SENDING frametype 0x00/length 0x0C/12
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D AT+SYNCML=?.
1 "AT+SYNCML=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x15/21
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D |0D |0A |45E|52R AT+SYNCML=?...ER
52R|4FO|52R|0D |0A ROR..
Checking for SYNCML/OBEX support
SENDING frametype 0x00/length 0x0D/13
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D AT$TSSPCSW=?.
1 "AT$TSSPCSW=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x16/22
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D |0D |0A |45E AT$TSSPCSW=?...E
52R|52R|4FO|52R|0D |0A RROR..
[Module - "A2D|iPAQ|at|M20|S25|MC35|TC35|C35i|S65|S300|5110|5130|5190|5210|6110|6130|6150|6190|6210|6250|6310|6310i|6510|7110|8210|8250|8290|8310|8390|8850|8855|8890|8910|9110|9210"]
Escaping SMS mode
SENDING frametype 0x00/length 0x02/2
1B |0D ..
Sending simple AT command to wake up some devices
SENDING frametype 0x00/length 0x03/3
41A|54T|0D AT.
1 "AT"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x09/9
41A|54T|0D |0D |0A |4FO|4BK|0D |0A AT...OK..
Enabling echo
SENDING frametype 0x00/length 0x05/5
41A|54T|45E|311|0D ATE1.
1 "ATE1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x0B/11
41A|54T|45E|311|0D |0D |0A |4FO|4BK|0D |0A ATE1...OK..
Trying Motorola mode switch
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D AT+MODE=2.
1 "AT+MODE=2"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x13/19
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D |0D |0A |45E|52R|52R|4FO AT+MODE=2...ERRO
52R|0D |0A R..
Seems not to be supported
Enabling CME errors
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D AT+CMEE=1.
1 "AT+CMEE=1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x10/16
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D |0D |0A |4FO|4BK|0D |0A AT+CMEE=1...OK..
SENDING frametype 0x00/length 0x09/9
41A|54T|2B+|43C|53S|43C|53S|3F?|0D AT+CSCS?.
1 "AT+CSCS?"
2 "+CSCS: "HEX""
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x1F/31
41A|54T|2B+|43C|53S|43C|53S|3F?|0D |0D |0A |2B+|43C|53S|43C|53S AT+CSCS?...+CSCS
3A:|20 |22"|48H|45E|58X|22"|0D |0A |0D |0A |4FO|4BK|0D |0A : "HEX"....OK..
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|49I|0D AT+CGMI.
1 "AT+CGMI"
2 " WAVECOM MODEM"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x20/32
41A|54T|2B+|43C|47G|4DM|49I|0D |0D |0A |20 |57W|41A|56V|45E|43C AT+CGMI... WAVEC
4FO|4DM|20 |4DM|4FO|44D|45E|4DM|0D |0A |0D |0A |4FO|4BK|0D |0A OM MODEM....OK..
Manufacturer info received
[Manufacturer: Wavecom]
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D AT+CSCS=?.
1 "AT+CSCS=?"
2 "+CSCS: ("GSM","PCCP437","CUSTOM","HEX")"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x3B/59
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D |0D |0A |2B+|43C|53S|43C AT+CSCS=?...+CSC
53S|3A:|20 |28(|22"|47G|53S|4DM|22"|2C,|22"|50P|43C|43C|50P|344 S: ("GSM","PCCP4
333|377|22"|2C,|22"|43C|55U|53S|54T|4FO|4DM|22"|2C,|22"|48H|45E 37","CUSTOM","HE
58X|22"|29)|0D |0A |0D |0A |4FO|4BK|0D |0A X")....OK..
Chosen HEX as normal charset
Checking for OBEX support
SENDING frametype 0x00/length 0x0B/11
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D AT+CPROT=?.
1 "AT+CPROT=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x14/20
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D |0D |0A |45E|52R|52R AT+CPROT=?...ERR
4FO|52R|0D |0A OR..
Checking for SYNCML/OBEX support
SENDING frametype 0x00/length 0x0C/12
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D AT+SYNCML=?.
1 "AT+SYNCML=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x15/21
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D |0D |0A |45E|52R AT+SYNCML=?...ER
52R|4FO|52R|0D |0A ROR..
Checking for SYNCML/OBEX support
SENDING frametype 0x00/length 0x0D/13
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D AT$TSSPCSW=?.
1 "AT$TSSPCSW=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x16/22
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D |0D |0A |45E AT$TSSPCSW=?...E
52R|52R|4FO|52R|0D |0A RROR..
Setting date & time
SENDING frametype 0x00/length 0x1F/31
41A|54T|2B+|43C|43C|4CL|4BK|3D=|22"|311|366|2F/|300|366|2F/|322 AT+CCLK="16/06/2
399|2C,|311|300|3A:|300|300|3A:|344|366|2B+|300|300|22"|0D 9,10:00:46+00".
1 "AT+CCLK="16/06/29,10:00:46+00""
2 "+CME ERROR: 3"
Checking line: +CME ERROR: 3
AT reply state: 6
RECEIVED frametype 0x00/length 0x30/48
41A|54T|2B+|43C|43C|4CL|4BK|3D=|22"|311|366|2F/|300|366|2F/|322 AT+CCLK="16/06/2
399|2C,|311|300|3A:|300|300|3A:|344|366|2B+|300|300|22"|0D |0D 9,10:00:46+00"..
0A |2B+|43C|4DM|45E|20 |45E|52R|52R|4FO|52R|3A:|20 |333|0D |0A .+CME ERROR: 3..
CME Error 3: "operation not allowed"
Getting firmware versions
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|52R|0D AT+CGMR.
1 "AT+CGMR"
2 "65209gg.Q2406B 244 112706 01:12"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x31/49
41A|54T|2B+|43C|47G|4DM|52R|0D |0D |0A |366|355|322|300|399|67g AT+CGMR...65209g
67g|2E.|51Q|322|344|300|366|42B|20 |322|344|344|20 |311|311|322 g.Q2406B 244 112
377|300|366|20 |300|311|3A:|311|322|0D |0A |0D |0A |4FO|4BK|0D 706 01:12....OK.
0A .
Received firmware version: "65209gg.Q2406B 244 112706 01:12"
Number version is "65209.240624"
[Firmware version - "65209gg.Q2406B 244 112706 01:12"]
[Connected]
Entering GSM_SetIncomingUSSD
Enabling incoming USSD
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|55U|53S|44D|3D=|311|0D AT+CUSD=1.
1 "AT+CUSD=1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x10/16
41A|54T|2B+|43C|55U|53S|44D|3D=|311|0D |0D |0A |4FO|4BK|0D |0A AT+CUSD=1...OK..
Leaving GSM_SetIncomingUSSD
Entering GSM_DialService
SENDING frametype 0x00/length 0x0E/14
41A|54T|2B+|43C|53S|43C|53S|3D=|22"|47G|53S|4DM|22"|0D AT+CSCS="GSM".
1 "AT+CSCS="GSM""
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x14/20
41A|54T|2B+|43C|53S|43C|53S|3D=|22"|47G|53S|4DM|22"|0D |0D |0A AT+CSCS="GSM"...
4FO|4BK|0D |0A OK..
SENDING frametype 0x00/length 0x09/9
41A|54T|2B+|43C|53S|43C|53S|3F?|0D AT+CSCS?.
1 "AT+CSCS?"
2 "+CSCS: "GSM""
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x1F/31
41A|54T|2B+|43C|53S|43C|53S|3F?|0D |0D |0A |2B+|43C|53S|43C|53S AT+CSCS?...+CSCS
3A:|20 |22"|47G|53S|4DM|22"|0D |0A |0D |0A |4FO|4BK|0D |0A : "GSM"....OK..
SENDING frametype 0x00/length 0x2C/44
41A|54T|2B+|43C|55U|53S|44D|3D=|311|2C,|22"|2A*|377|377|377|2A* AT+CUSD=1,"*777*
300|388|311|322|333|322|355|355|322|322|344|344|2A*|322|355|2A* 081232552244*25*
355|355|322|311|344|388|23#|22"|2C,|311|355|0D 552148#",15.
1 "AT+CUSD=1,"*777*081232552244*25*552148#",15"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x32/50
41A|54T|2B+|43C|55U|53S|44D|3D=|311|2C,|22"|2A*|377|377|377|2A* AT+CUSD=1,"*777*
300|388|311|322|333|322|355|355|322|322|344|344|2A*|322|355|2A* 081232552244*25*
355|355|322|311|344|388|23#|22"|2C,|311|355|0D |0D |0A |4FO|4BK 552148#",15...OK
0D |0A ..
Incoming USSD received
Leaving GSM_DialService
1 "+CUSD: 2,"Pembelian 1 buah voucher <SimPATI> senilai <25> untuk <081232552244 telah berhasil. SN <6062910003021133120>.Stok anda 25K=348.",15"
Checking line: +CUSD: 2,"Pembelian 1 buah voucher <SimPATI> senilai <25> untuk <081232552244 telah berhasil. SN <6062910003021133120>.Stok anda 25K=348.",15
AT reply state: 4
RECEIVED frametype 0x00/length 0x8F/143
2B+|43C|55U|53S|44D|3A:|20 |322|2C,|22"|50P|65e|6Dm|62b|65e|6Cl +CUSD: 2,"Pembel
69i|61a|6En|20 |311|20 |62b|75u|61a|68h|20 |76v|6Fo|75u|63c|68h ian 1 buah vouch
65e|72r|20 |3C<|53S|69i|6Dm|50P|41A|54T|49I|3E>|20 |73s|65e|6En er <SimPATI> sen
69i|6Cl|61a|69i|20 |3C<|322|355|3E>|20 |75u|6En|74t|75u|6Bk|20 ilai <25> untuk
3C<|300|388|311|322|333|322|355|355|322|322|344|344|20 |74t|65e <081232552244 te
6Cl|61a|68h|20 |62b|65e|72r|68h|61a|73s|69i|6Cl|2E.|20 |53S|4EN lah berhasil. SN
20 |3C<|366|300|366|322|399|311|300|300|300|333|300|322|311|311 <60629100030211
333|333|311|322|300|3E>|2E.|53S|74t|6Fo|6Bk|20 |61a|6En|64d|61a 33120>.Stok anda
20 |322|355|4BK|3D=|333|344|388|2E.|22"|2C,|311|355|0D |0A 25K=348.",15..
Incoming USSD received
Parsing +CUSD: 2,"Pembelian 1 buah voucher <SimPATI> senilai <25> untuk <081232552244 telah berhasil. SN <6062910003021133120>.Stok anda 25K=348.",15
with +CUSD: @i @0
Parsed int 2
Status: 2
Parsing +CUSD: 2,"Pembelian 1 buah voucher <SimPATI> senilai <25> untuk <081232552244 telah berhasil. SN <6062910003021133120>.Stok anda 25K=348.",15
with +CUSD: @i, @s @0
Parsed int 2
Grabbed string from reply: "Pembelian 1 buah voucher <SimPATI> senilai <25> untuk <081232552244 telah berhasil. SN <6062910003021133120>.Stok anda 25K=348." (parsed 129 bytes)
Parsed generic string "Pembelian 1 buah voucher <SimPATI> senilai <25> untuk <081232552244 telah berhasil. SN <6062910003021133120>.Stok anda 25K=348."
Generic string decoded as "Pembelian 1 buah voucher <SimPATI> senilai <25> untuk <081232552244 telah berhasil. SN <6062910003021133120>.Stok anda 25K=348."
1 "+CMTI: "SM",3"
Checking line: +CMTI: "SM",3
AT reply state: 4
RECEIVED frametype 0x00/length 0x0F/15
2B+|43C|4DM|54T|49I|3A:|20 |22"|53S|4DM|22"|2C,|333|0D |0A +CMTI: "SM",3..
Incoming SMS
Entering GSM_SetIncomingUSSD
SENDING frametype 0x00/length 0x0E/14
41A|54T|2B+|43C|53S|43C|53S|3D=|22"|48H|45E|58X|22"|0D AT+CSCS="HEX".
1 "AT+CSCS="HEX""
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x14/20
41A|54T|2B+|43C|53S|43C|53S|3D=|22"|48H|45E|58X|22"|0D |0D |0A AT+CSCS="HEX"...
4FO|4BK|0D |0A OK..
SENDING frametype 0x00/length 0x09/9
41A|54T|2B+|43C|53S|43C|53S|3F?|0D AT+CSCS?.
1 "AT+CSCS?"
2 "+CSCS: "HEX""
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x1F/31
41A|54T|2B+|43C|53S|43C|53S|3F?|0D |0D |0A |2B+|43C|53S|43C|53S AT+CSCS?...+CSCS
3A:|20 |22"|48H|45E|58X|22"|0D |0A |0D |0A |4FO|4BK|0D |0A : "HEX"....OK..
Terminating possible incoming USSD
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|55U|53S|44D|3D=|322|0D AT+CUSD=2.
1 "AT+CUSD=2"
2 "+CME ERROR: 3"
Checking line: +CME ERROR: 3
AT reply state: 6
RECEIVED frametype 0x00/length 0x1B/27
41A|54T|2B+|43C|55U|53S|44D|3D=|322|0D |0D |0A |2B+|43C|4DM|45E AT+CUSD=2...+CME
20 |45E|52R|52R|4FO|52R|3A:|20 |333|0D |0A ERROR: 3..
CME Error 3: "operation not allowed"
Disabling incoming USSD
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|55U|53S|44D|3D=|300|0D AT+CUSD=0.
1 "AT+CUSD=0"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x10/16
41A|54T|2B+|43C|55U|53S|44D|3D=|300|0D |0D |0A |4FO|4BK|0D |0A AT+CUSD=0...OK..
Leaving GSM_SetIncomingUSSD
[Terminating]
[Closing]
No response in specified timeout. Probably phone not connected.
最佳答案
您不能在一台设备上同时使用 gammu 和 gammu-smsd,因此在这种情况下可能会损坏。
关于php - gammu发送短信返回错误29,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38089764/
我在 JavaScript 文件中运行 PHP,例如...... var = '';). 我需要使用 JavaScript 来扫描字符串中的 PHP 定界符(打开和关闭 PHP 的 )。 我已经知道使
我希望能够做这样的事情: php --determine-oldest-supported-php-version test.php 并得到这个输出: 7.2 也就是说,php 二进制检查 test.
我正在开发一个目前不使用任何框架的大型 php 站点。我的大问题是,随着时间的推移慢慢尝试将框架融入应用程序是否可取,例如在创建的新部件和更新的旧部件中? 比如所有的页面都是直接通过url服务的,有几
下面是我的源代码,我想在同一页面顶部的另一个 php 脚本中使用位于底部 php 脚本的变量 $r1。我需要一个简单的解决方案来解决这个问题。我想在代码中存在的更新查询中使用该变量。 $name)
我正在制作一个网站,根据不同的情况进行大量 PHP 重定向。就像这样...... header("Location: somesite.com/redirectedpage.php"); 为了安全起见
我有一个旧网站,我的 php 标签从 因为短标签已经显示出安全问题,并且在未来的版本中将不被支持。 关于php - 如何避免在 php 文件中写入
我有一个用 PHP 编写的配置文件,如下所示, 所以我想用PHP开发一个接口(interface),它可以编辑文件值,如$WEBPATH , $ACCOUNTPATH和 const值(value)观
我试图制作一个登录页面来学习基本的PHP,首先我希望我的独立PHP文件存储HTML文件的输入(带有表单),但是当我按下按钮时(触发POST到PHP脚本) )我一直收到令人不愉快的错误。 我已经搜索了S
我正在寻找一种让 PHP 以一种形式打印任意数组的方法,我可以将该数组作为赋值包含在我的(测试)代码中。 print_r 产生例如: Array ( [0] => qsr-part:1285 [1]
这个问题已经有答案了: 已关闭11 年前。 Possible Duplicate: What is the max key size for an array in PHP? 正如标题所说,我想知道
我正在寻找一种让 PHP 以一种形式打印任意数组的方法,我可以将该数组作为赋值包含在我的(测试)代码中。 print_r 产生例如: Array ( [0] => qsr-part:1285 [1]
关闭。这个问题需要多问focused 。目前不接受答案。 想要改进此问题吗?更新问题,使其仅关注一个问题 editing this post . 已关闭 9 年前。 Improve this ques
我在 MySQL 数据库中有一个表,其中存储餐厅在每个工作日和时段提供的菜单。 表结构如下: i_type i_name i_cost i_day i_start i_
我有两页。 test1.php 和 test2.php。 我想做的就是在 test1.php 上点击提交,并将 test2.php 显示在 div 中。这实际上工作正常,但我需要向 test2.php
我得到了这个代码。我想通过textarea更新mysql。我在textarea中回显我的MySQL,但我不知道如何更新它,我应该把所有东西都放进去吗,因为_GET模式没有给我任何东西,我也尝试_GET
首先,我是 php 的新手,所以我仍在努力学习。我在 Wordpress 上创建了一个表单,我想将值插入一个表(data_test 表,我已经管理了),然后从 data_test 表中获取所有列(id
我有以下函数可以清理用户或网址的输入: function SanitizeString($var) { $var=stripslashes($var); $va
我有一个 html 页面,它使用 php 文件查询数据库,然后让用户登录,否则拒绝访问。我遇到的问题是它只是重定向到 php 文件的 url,并且从不对发生的事情提供反馈。这是我第一次使用 html、
我有一个页面充满了指向 pdf 的链接,我想跟踪哪些链接被单击。我以为我可以做如下的事情,但遇到了问题: query($sql); if($result){
我正在使用 从外部文本文件加载 HTML/PHP 代码 $f = fopen($filename, "r"); while ($line = fgets($f, 4096)) { print $l
我是一名优秀的程序员,十分优秀!