Is it possable to send an error message to another computer on a LAN?
Dave
PHP and Windows Messenger
Moderator: General Moderators
I really don't think so. That would require one PHP connection being able to see data and send data to another PHP connection, which is a GAPING security issue. Why not send an email with the error message in it?
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Through a LAN it is possible if you're on a Windows based server. If the Messenging Service is active (normally is), you can do an exec with the net command. This service is different from Windows Messenger though. It's built into the OS Services and has been around since Win95.
type: "net send /?" in command line to see the options for it.
Although this would work, I'd do something more like what Pickle said and send an email.
type: "net send /?" in command line to see the options for it.
Although this would work, I'd do something more like what Pickle said and send an email.