LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-11-2003, 08:57 AM   #1
Manuel-H
Member
 
Registered: Apr 2003
Location: Singapore
Distribution: Slackware32/64, Ubuntu, Fedora, RHEL
Posts: 138

Rep: Reputation: 15
MySQL/PHP to SMS File Format


I have this DB with all the necessary records. Now I wish to convert this to SMS format (using SMS Server Tools) in the outgoing queue.

I am not very good in programming especially shell/PERL programming.
I am using Apache/MySQL/PHP for my application.

My SMS is working using sending/receiving individual SMS.

Question: MySQL DB format to SMS file format?
I will need to send weekly SMS for the records on this DB.

SMS file format
filename - send_xxxxx (xxxx - any char, no need to be in sequence)
*******************
To: mobilenumber (get from s_mobile on sms table)

My message here. (get from s_msg on sms table)
*******************

Do I need PERL to do it, or anyone have any suggestion?

MyMySQL table structure
*********************
CREATE TABLE `sms` (
`s_auto_id` int(11) NOT NULL auto_increment,
`s_mobile` int(12) NOT NULL default '0',
`s_msg` varchar(255) NOT NULL default '',
PRIMARY KEY (`s_auto_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

Any suggestion would be appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Send SMS via PHP? Swift&Smart Linux - Software 3 04-20-2008 07:45 PM
Problem getting PHP to recognize MySQL, Using PHP 4.0 and MySQL 4.0.20 d2army Programming 4 06-27-2004 09:54 PM
I want to add MySQL support to PHP via a file Raphael_T Linux - Software 0 01-15-2004 03:39 PM
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 09:59 PM
PHP & MySQL getting info from text file neon Programming 1 10-15-2003 01:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration