![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: May 2005
Posts: 210
|
Need just a bit of php help...
I have a java-based chat service and I use a bit of php code to display the current number of chatters on my main splash page. We had an incident this morning where the java chat did not start up properly after a server reboot, and the result was that this bit of php code blared a huge error message across the page. How can I change this php code to suppress the warning/error message?
PHP Code:
PHP Code:
Thanks in adance for any help. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Feb 2002
Posts: 1,424
|
try
$fp = @fsockopen("localhost", $port, &$errno, &$errstr, 2); |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Join Date: May 2005
Posts: 210
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |