Re: [PHP] sending SMS messages to mobile phones from PHP

2004-10-12 Thread Andrew Cowles
You can send an SMS via kapow easily using PHP.
Here are a few examples of how you can send (via HTTP Get/Post  email).
assuming you have defined a couple of variables;
$user = youruser;
$pass = yourpass;
$mob = 447971325173;
$message = urlencode(This is just a test SMS message from kapow.co.uk);
You can send the message via HTTP Get using the fopen() function, like this;
fopen(http://www.kapow.co.uk/scripts/sendsms.php?username=$userpassword=$passmobile=$mobsms=$message,r;)
That's it... your message will be on it's way (and should arrive within 
about 10 seconds).

Alternatively you could send via email by using the mail() function;
mail([EMAIL PROTECTED],$message,$user\n$pass);
If you have set-up your account to automatically trust your sending address 
then you don't need to include the user/pass details in the email, so it'd 
work with just;

mail([EMAIL PROTECTED],$message,);
You can also make an HTTP Post. The best way to do this is by writing a 
quick HTTP Post function using sockets... you should be able to find an 
example on this mailing list. If not then I'll happily send you one.

Best regards,
Andy
Andrew Cowles

KAPOW! SMS Communication Solutions
WEB: http://www.kapow.co.uk/
EMAIL: [EMAIL PROTECTED]
TEL: 0870 757 1610 or FAX: 0870 757 1615

Cygnet Internet Services Ltd ( http://www.cygnet.co.uk/ )

Thanks. Your SMS service looks ideal for what I need but how do I make an
HTTP request from PHP to kapow?
Can I just use fopen()?
Please can you give a PHP example.
We operate an SMS Gateway service (http://www.kapow.co.uk/) which would 
do
exactly what you need.
It's been reliably sending SMS since 1995 - and MANY of our clients use
PHP.
What you'd probably want to do is make an HTTP Get / Post request 
directly
from your script to our servers, alternatively you can use our
Email-to-SMS
interface and then just generate an email.
Using either method with PHP should get you up and running in a few
minutes.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] sending SMS messages to mobile phones from PHP

2004-10-11 Thread Andrew Cowles
Hi Jordi,

What's wrong with British Pounds? It's a good currency - been around for a
long time.
We have customers all over the world and can send SMS messages to over 500
networks in 200+ countries.
We have MANY clients in the USA, across Europe, Australia  Africa.
However we are based in the UK; which means our prices are in pounds... but
you can pay using most major credit cards, so it shouldn't be a big problem.
There is a good currency converter at http://www.xe.com/ if you need it, or
I'm sure our Sales staff will happily give you the current rates.
Best regards,

Andy

Andrew Cowles

KAPOW! SMS Communication Solutions
WEB: http://www.kapow.co.uk/
EMAIL: [EMAIL PROTECTED]
TEL: 0870 757 1610 or FAX: 0870 757 1615

Cygnet Internet Services Ltd ( http://www.cygnet.co.uk/ )


 Unfoturnately your price list is only in pounds: No Euros, No Dollars
 :( It Looks like you only accept British Customers.

 Regards,
 Jordi.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] sending SMS messages to mobile phones from PHP

2004-10-11 Thread Sagar C Nannapaneni
You can use SMSTERM

/sagar
- Original Message -
From: SunTan.co.uk [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, October 10, 2004 7:38 PM
Subject: [PHP] sending SMS messages to mobile phones from PHP


 Hi there,

 I want my website to be able to send me an SMS message to my phone when
 somebody fills our contact form in.
 Does anybody do this already? If so, how?
 I think that I need an SMS service but I'm not sure what one is or how
much
 it'll cost us.
 Please advise.

 [EMAIL PROTECTED]


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] sending SMS messages to mobile phones from PHP

2004-10-11 Thread Jad Madi
-
User8 is [EMAIL PROTECTED] * [EMAIL PROTECTED]
User8 using arcor.de.eu.dal.net www.arcor.de - Arcor Online Serv


On Mon, 11 Oct 2004 23:34:18 +0530, Sagar C Nannapaneni
[EMAIL PROTECTED] wrote:
 You can use SMSTERM
 
 /sagar
 
 
 - Original Message -
 From: SunTan.co.uk [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, October 10, 2004 7:38 PM
 Subject: [PHP] sending SMS messages to mobile phones from PHP
 
  Hi there,
 
  I want my website to be able to send me an SMS message to my phone when
  somebody fills our contact form in.
  Does anybody do this already? If so, how?
  I think that I need an SMS service but I'm not sure what one is or how
 much
  it'll cost us.
  Please advise.
 
  [EMAIL PROTECTED]
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 


-- 
http://www.W3planet.info/
http://www.EasyHTTP.com/jad/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] sending SMS messages to mobile phones from PHP

2004-10-11 Thread Jordi Canals
On Sun, 10 Oct 2004 15:23:54 +0100, Andrew Cowles
[EMAIL PROTECTED] wrote:

 We operate an SMS Gateway service (http://www.kapow.co.uk/) which would do
 exactly what you need.
 It's been reliably sending SMS since 1995 - and MANY of our clients use PHP.

Unfoturnately your price list is only in pounds: No Euros, No Dollars
:( It Looks like you only accept British Customers.

Regards,
Jordi.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] sending SMS messages to mobile phones from PHP

2004-10-10 Thread SunTan.co.uk
Thanks. Your SMS service looks ideal for what I need but how do I make an
HTTP request from PHP to kapow?
Can I just use fopen()?
Please can you give a PHP example.

 We operate an SMS Gateway service (http://www.kapow.co.uk/) which would do
 exactly what you need.
 It's been reliably sending SMS since 1995 - and MANY of our clients use
PHP.

 What you'd probably want to do is make an HTTP Get / Post request directly
 from your script to our servers, alternatively you can use our
Email-to-SMS
 interface and then just generate an email.

 Using either method with PHP should get you up and running in a few
minutes.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php