fsockopen

Status
Not open for further replies.

olavo27

New Member
Messages
7
Reaction score
0
Points
0
To check if my game server is online i have to use that command
PHP:
 $fp = @fsockopen('megaot.com', 7171, $errno, $errstr,3);
but $fp aways return false in this host, why?
I tried in my local host, and some other freewebhosts and all of them worked ($fp returned true when the game server is online).

Is there any way to make it work? Is that not working for some reason?
 

Danielx386

Member
Messages
712
Reaction score
9
Points
18
Curl and fsockopen have been disabled on all servers because people use it to create proxy scripts. There nothing that can be done about it.
 

masshuu

Head of the Geese
Community Support
Enemy of the State
Messages
2,293
Reaction score
50
Points
48
To restate what danielx386 said. fsock and curl are allowed. The port you are trying is most likely blocked, as most outgoing ports are blocked.
 
Status
Not open for further replies.
Top