Lol, wat is er mis met die andere
Die van mij werkt Prima
Die van mij werkt Prima


Shredder schreef:Die van mij werkt PrimaLol, wat is er mis met die andere

Zzeldje schreef:Hij wil ook dat je word doorgestuurt als de site online is en dat doet die van jou niet volgens mij en die van mij welHoi
Ik zoek een script die controleert of mijn website online is of offline is. Als de website online is word je naar die site naar toe gestuurt. Maar als hij offiline is staat er: Sorry, de website is nu offline Probeer het morgen weer.
Deze script komt natuurlijk op een 24/7 host
Wie heeft deze script?

die van shredder werkt denk ik al niet want dat zie ik zo al
klik<link rel="stylesheet" type="text/css" href="http://www.habbotjes.be/pagina/style_contact.css" />
<style type="text/css">
table,tr,td,th {
font-size: 11px;
}
</style>
<center><table border="0">
<tbody>
<tr>
<td>
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]site[/COLOR][COLOR= #007700]])) {[/COLOR]
[COLOR= #0000BB]$verbind[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/fsockopen"]fsockopen[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]site[/COLOR][COLOR= #007700]],[/COLOR] [COLOR= #0000BB]80[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$errno[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$errstr[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]50[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700](![/COLOR][COLOR= #0000BB]$verbind[/COLOR][COLOR= #007700]) {[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<br />"[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<center>"[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]site[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000] is <span style="color:#FF0000"><b>offline!</b></span>[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"</center>"[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<br />"[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]site[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000] is <span style="color:#04B404"><b>online!</b></span>[/COLOR][COLOR= #007700];
}
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{
}[/COLOR]
?> </tr></td>
</tbody></table></center>
<br><center>
<table border="0">
<tbody>
<tr>
<td>
<form method="post" action="">
Website (zonder http://):
<input name="site" type="text" id="site">
<input type="submit" name="Submit" value="Check">
</form>
</tr></td>
</tbody></table>
</center> 
