Integration with php

Integration with php SearchSearch
Author Message
MIS
New member
Username: Mynul

Post Number: 1
Registered: 12-2011
Posted on Saturday, December 03, 2011 - 01:38 pm:   

Hello there! I'm very new to this forum & particularly NowSMS. I'm trying to integrate my web interface with the gateway but something is missing I guess! ... Nothing is happening!

I took the script from NowSMS site and modified it accordingly. One more thing is my gateway and website are on different machine!

please help!
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3653
Registered: 08-2008
Posted on Saturday, December 03, 2011 - 02:20 pm:   

Hi,

Can you access the web interface and send a message manually?

If you output the response from the PHP script, what does it say?

--
Des
NowSMS Support
MIS
New member
Username: Mynul

Post Number: 2
Registered: 12-2011
Posted on Sunday, December 04, 2011 - 04:42 am:   

Well, I Can't access the web interface even manually!!! :( I'm using a server (running on a real/live IP) which runs several application on different ports, and when I use "http://*.*.*.*:8800" actually nothing happens. But all other ports are working fine. All my apps are running smoothly. What might be the problem!?
MIS
New member
Username: Mynul

Post Number: 3
Registered: 12-2011
Posted on Sunday, December 04, 2011 - 04:44 am:   

In both the cases it says - "Connection has timed out!"
MIS
New member
Username: Mynul

Post Number: 4
Registered: 12-2011
Posted on Monday, December 05, 2011 - 04:01 am:   

Hello there...? Anyone know why I can't connect to NowSmS which resides in a remote PC? Every other program is accessible but only NowSMS fails and it says "Connection time out". My remote pc runs on live IP. Any help would be highly appreciated.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3656
Registered: 08-2008
Posted on Monday, December 05, 2011 - 11:27 am:   

Is the NowSMS service running?

Enable the SMSDEBUG.LOG (checkbox on the Serial # page). Stop and restart the service. View the SMSDEBUG.LOG (and post details in reply). Perhaps NowSMS cannot allocate its normal port 8800, and you could try a different port.

--
Des
NowSMS Support
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3657
Registered: 08-2008
Posted on Monday, December 05, 2011 - 11:29 am:   

Another question. With a web browser on the same PC as NowSMS, is http://127.0.0.1:8800 accessible?
MIS
New member
Username: Mynul

Post Number: 5
Registered: 12-2011
Posted on Monday, December 05, 2011 - 06:41 pm:   

HI,

I now can access the panel from both local & remote PC. as I'm not using the MMSC I didn't have any problem with the default port :8800. The problem was with Web Server. It blocked many IP's and ports.

So now I can access the now sms web interface from the internet too. thanks for the help.