send sms with url method

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mostafa.fayyaz
Forum Newbie
Posts: 5
Joined: Mon Jul 27, 2009 12:08 pm

send sms with url method

Post by mostafa.fayyaz »

hello !
i want to send sms to my users .
my sms service is "URL" with this link :

Code: Select all

http://www.site.com/sendsms.php?from=\$from&to=\$to&username=\$username&password=\$password&message=text

if i fill and run this url , a sms send to number .
if my words includes Persian language , those function send one Word to url link. 
i used fopen , file_get_contents, fsockopen 
please help me
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: send sms with url method

Post by requinix »

Post code.

Then look into the urlencode function.
mostafa.fayyaz
Forum Newbie
Posts: 5
Joined: Mon Jul 27, 2009 12:08 pm

Re: send sms with url method

Post by mostafa.fayyaz »

tasairis wrote:Post code.

Then look into the urlencode function.
i think you cant't underestand my problem .
i need a function to open a url
iamngk
Forum Commoner
Posts: 50
Joined: Mon Jun 29, 2009 2:20 am

Re: send sms with url method

Post by iamngk »

i hope, CURL functions will help you..

see the example is in following URL:

http://in3.php.net/manual/en/curl.examples.php
Post Reply