Dear all.

How can I configure a simple sms-service to only take sms messages with
a given prefix, send the message to a php script which inserts values
into mysql database.

I do NOT want to reply to ANY of these sms messages, I simply want to
capture them.

Does this look right?

#SMS SERVICES
group = sms-service
keyword = PTA
aliases = JHB;KZN
post-url = "http://www.myhost.co.za/sms.php?k=%k&p=%p&t=%r&s=%t";
max-messages = 0

This does work, but for some unknown reason, the url gets called twice,
thus duplicating all of the data.

Please help!:-(

Best regards

Scott

--
Scott Houseman
Senior Software Developer
Junk Mail Publishing (Pty) Ltd
T + 27 12 342 3840 ext 2806 F +27 12 342 3876
E [EMAIL PROTECTED] | www.junkmail.co.za
A 1312 Pretorius Street, Hatfield, Pretoria
P O Box 6574, Pretoria, 0001, South Africa
+27 82 491 8021


Reply via email to