Sending an SMS via PHP on a distant web site. | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through October 31, 2007 ⬆ |
◄ ► |
Author | Message | ||||
Simon Jones New member Username: Elsrj Post Number: 9 Registered: 04-2007 |
We want to develop a simple system. It takes in MMS and returns SMS. We got the MMS in via the 2-part PHP code on this site. Great. When I send an MMS it is uploaded to the website hunky dory. Now we want to send back an SMS message. I took the code you made available and put it on our website and entered the IP address of our development machine (which does NOT run the website). I keep getting the following message. Warning: fsockopen() [function.fsockopen]: unable to connect to 87.80.42.85:81 in d:\websites\secondemotion.com\wwwroot\returnsms.php on line 5 Fatal error: Maximum execution time of 30 seconds exceeded in d:\websites\secondemotion.com\wwwroot\returnsms.php on line 5 I thought it might be a port error - but Activate MMSC page has port 81 as the http port I tried changing windows firewall to accept nowsms, I even switched the firewall off. I am running out of ideas now - all I want to do is send a standard SMS in response to receiving an MMS - any suggestion as to why I can not send an SMS back?
|