The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
"fsockopen" - Does Nothing for Me
Please help! I'm not a coding n00b - not by any stretch. On the other hand, I'm not an expert with sockets. I've tried the most basic of examples, and still nothing. I can't connect to anything, even my own machine.
I'm simply trying to query a game server with the fsockopen command. Here's an example of a Jolt server that's always on: PHP Code:
Here it is, running on my server. It's an expensive server with 1&1 Hosting, Professional package: http://www.clanplay.com/fsockopen.php See? Times out. Does chuff all. Please help me! I'm running leagues, ladders, you name it on Clanplay, and I'm trying to develop a ranking system for SoF - but I can't even get past stage 1. There's a big kiss in it for the first person who can get server queries working on my server. By the way, fsockopen isn't disabled. Here's a link to my phpinfo.php: CLICK HERE |
#2
|
|||
|
|||
Okay, I've made advances. It is NOT "fsockopen" that is hanging, but "fread"!!! This code works fine:
PHP Code:
I can run that all day long. However, as soon as I add the "fread" command I'm completely buggered. Well, it's not much good being able to open a port unless you can read something from it. Even if I could just grab the first few bytes I'd break open a bottle of champagne, I swear to God... Any ideas? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|