Check server status with PHP

Hi, today I’m going to give you a little snippet on testing if a server with a specific port is online or not.First of all this is going to be a function with 2 parameters, server ip and port.We are going to test if the server is online or not with the fsockopen() function that […]

How to disable errors for FSOCKOPEN

Hi, today I want to share with you a little tip on the FSOCKOPEN function.You know that when fsockopen function fails on php it always gives you a warning like this: Warning: fsockopen(): unable to connect to google.com:8440 (A connection attempt failed because the connected party did not properly respond after a period of time, […]