in winnt theres a command run from the cmd prompt that allows you to send a console message to any user or computer on the network.
MSG /SERVER:servername [username] [message]
I want to write a script that will run that command and insert form variables where they need to be (servername,username,message,etc...)
not what i meant. print to screen. i've pretty much given up though. i just wrote a script to print messages based on error codes. it'll work for what I need it to do. thanks anyway everyone.
If there's an error, the output at the command promt gives a reason. User not connected, User does not exist, etc... I was trying to figure out a way to make the browser display that error. instead it just gave numbers. but i figured it out.
0 = OK
256 = Not Connected
For anything else it doesn't do anything. so i made a script that works with that.