output command and php
| From: | El Ale... | Date: | Fri, 28 Sep 2012 20:43:25 +0000 |
| Subject: | output command and php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-319297@lists.php.net to get a copy of this message | ||
People good afternoon am using a system called the collects gammu sms my
cell with a command "gammu getallsms" sms me when I pick up the following:
gammu getallsms> messages.txt
and I keep it in a text file with the following format:
messages.txt
folder, input code, tray
number: +54025487555
SCMD number: 0000000
no coding
Date: 25/02/2012
hello this is a test message
sms January 1
How could I give a more ordered format command output with php?
My idea is to get him into this mysql table but I can not understand how to
format it to work on it I could lend a hand?.
Greetings to all and thanks!