calebudy
asked on
Check status of TCP port with PHP
Below is some neglected code for checking TCP ports with PHP.
http://www.schwebdesigns.com/serverstatus/
http://www.schwebdesigns.com/serverstatus/status.zip
However I keep getting the following errors.
Can someone who has experience with fsocketopen function take a look at this?
I'm not sure why it cannot modify the header info, that's a new one to me.
Notice: Undefined variable: link in e:\inetpub\www\intranet\st atus\statu s.php on line 16
Notice: Undefined offset: 1 in e:\inetpub\www\intranet\st atus\statu s.php on line 16
Warning: Cannot modify header information - headers already sent by (output started at e:\inetpub\www\intranet\st atus\statu s.php:16) in e:\inetpub\www\intranet\st atus\statu s.php on line 23
PS if anyone knows of another PHP script that can monitor TCP ports and is reliable, please let me know.
This is the only script I came across after hours of looking.
http://www.schwebdesigns.com/serverstatus/
http://www.schwebdesigns.com/serverstatus/status.zip
However I keep getting the following errors.
Can someone who has experience with fsocketopen function take a look at this?
I'm not sure why it cannot modify the header info, that's a new one to me.
Notice: Undefined variable: link in e:\inetpub\www\intranet\st
Notice: Undefined offset: 1 in e:\inetpub\www\intranet\st
Warning: Cannot modify header information - headers already sent by (output started at e:\inetpub\www\intranet\st
PS if anyone knows of another PHP script that can monitor TCP ports and is reliable, please let me know.
This is the only script I came across after hours of looking.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:
Accept: ASCII_Man {http:#8157543}
Any objections should be posted here in the next 4 days. After that time, the question will be closed.
snoyes_jw
EE Cleanup Volunteer
I will leave the following recommendation for this question in the Cleanup topic area:
Accept: ASCII_Man {http:#8157543}
Any objections should be posted here in the next 4 days. After that time, the question will be closed.
snoyes_jw
EE Cleanup Volunteer
I guess you didn't request the script, just some help... but hey, I thought it was ugly anyway :)