Am trying to send SMS using PHP file. All email attributes are included on URL. The problem here is that , only the first word on the message is sent only !
I don’t know why !
<?php
$url = "http://sms-gates.com/smspro/sendsms.php?user=myuser&password=mypass&numbers=".$_GET['mobile']."&sender=JobSeeker&message=".$_GET['msg']."&lang=en";
$link = fopen($url,"r");
while($res = fread($link,1024))
{
echo $res;
}
fclose($link);
?>
You need to urlencode your parameters to replace spaces with %20 and so on.