Guest Posted November 3, 2006 Share Posted November 3, 2006 As the topic says, I want to connect as admin to my mta-server through PHP. I want my website and my mta-server to communicate with each other. I've made the MTAmA communicate with PHP, and it's working. Buy I don't know how to connect PHP to the MTA-server. The only way I see is connect to IRC and send a pm to the MTAmA-bot... But it'll be more simple just connect to mta and send a pm to MTAmA-bot... If that's possible? I mean, two admins connected. Is it possible to send pm to the other admin, or is it even impossible to connect due to double nickname? Anyone know what I should do? Link to comment
Jani Posted November 3, 2006 Share Posted November 3, 2006 As far as I know you can't communicate with the MTAserver through PHP, you'll HAVE to do it MTAserver->MTAmA->PHP. Link to comment
Guest Posted November 3, 2006 Share Posted November 3, 2006 I've just fixed it with /socklisten in mIRC. Just open a socket in PHP and send some data through it to mIRC that's listening to the same port as you was sending to. So simple..! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now