I am working on cisco voice gateway and all i need to is post an audio file which I save on the local RAM at the gateway to my server (IIS 5.0)
the code for submit is
" namelist ="myrec" method="post" enctype="multipart/form-da
the audio file is being saved as myrec.
My loadsound.php goes as follows:-
$msg = "";
$code = 1;
$msg = "audio saved";
$code = 0;
$msg = "unable to save audio";
$to = "XXXX@yahoo.com";
$from = "janedoe@anotherfakedomain
$subject = "This is a test email";
$message = "Dear John,\n\nThis is a fake email, I hope you enjoy it.\n\nFrom Jane.";
$headers = "From: $from\r\n";
$success = mail($to, $subject, $message, $headers);
echo "The email to $to from $from was successfully sent";
echo "An error occurred when sending the email to $to from $from" ;
But What is happening is that even the php script is not being invoked since I do not recieve an email as it should
But if i use
It calls the script and sends me a mail.
So the paths and IP addresses,portno. all are fine.
Some problem with POST. Am I doing something wrong while posting it? At times I even get a http 503 .