Page 1 of 1

send sms with url method

Posted: Mon Jul 27, 2009 12:18 pm
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

Re: send sms with url method

Posted: Mon Jul 27, 2009 1:15 pm
by requinix
Post code.

Then look into the urlencode function.

Re: send sms with url method

Posted: Tue Jul 28, 2009 12:00 am
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

Re: send sms with url method

Posted: Tue Jul 28, 2009 12:33 am
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