I am trying out Esendex, and just created the following Push Notification SMS handler:
Name Type Url
BF Handler MessageReceived http://www.bubblefoundry.com/esendex/
I placed a very similar PHP script there to test things and make sure the connection was working:
- Code: Select all
<?php
$filename = "request.txt";
$fh = fopen($filename, "w");
fwrite($fh, print_r($_REQUEST, true));
fclose($fh);
print "request saved";
?>
All I do is write the GET and POST parameters to a log file. However, every time I send an SMS to the virtual number attached to my account the log file, while updated (as shown by its timestamp), only has an empty array of parameters.
Why is this? Thanks.
