I am trying to send the message from a below url. I am taking the values from database like phno and text message. but i am getting the error.
Below is the code.
<?php
include(“config.php”);
$query=mysql_query("select s_no,phno,smstext from smstest where sent is null or sent=‘’ ");
while($res=mysql_fetch_array($query))
{
$sno=$res[‘s_no’];
$phone=$res[‘phno’];
$message=$res[‘smstext’];
but iam gettng the error
Warning: fopen(http%3A%2F%2Fmy.watchadz.com.%2Fsendsms.php%3Fusername%3DPOP+TECH%26password%3Dpeople%26sender%3DTTT%26mobile%3D9160919293&type=1&message=hi+test): failed to open stream: No such file or directory in /var/www/mts/mtsproject/phpforms/sms.php on line 27
Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/mts/mtsproject/phpforms/sms.php on line 31 Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/mts/mtsproject/phpforms/sms.php on line 32