/    Sign up×
Community /Pin to ProfileBookmark

Help me please with this ip status checker!!!

Hey guys i have this status checker which was working but it aint working now i dont know why can you guys fix it for me here its:

also here is a link to the site and below is the code:

[URL=”http://new-legacy.zxq.net/status%20checker.php”]http://new-legacy.zxq.net/status%20checker.php[/URL]

[CODE]<form action=”” method=”post”>
IP:<input style=” font-size: 15px; width:200px;” name=”ip” type=”text” title=”Type the IP in Here”/><br>
Port:<input name=”port” type=”text” style=” font-size: 15px; width:100px;” title=”Type the Port in Here”/><br>
<input style=” font-size: 20px; width:70px; height:30;” type=”submit” name=”submit”/>
</form>
<?php

if(isset($_POST[‘submit’])) {
$ip = $_POST[‘ip’];
$port = $_POST[‘port’];

if(!$sock=@fsockopen($ip, $port, $num, $error, 30)) {
echo “offline”;

} else {

echo “Online”;

fclose($socket);
}
}
?>[/CODE]

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @alien_creep spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...