Jump to content

[PHP] Detector de mudança de IP


Recommended Posts

Old code que encontrei aqui numa pasta perdido:

<?php
set_time_limit(0);
$x = file_get_contents("http://checkip.dyndns.com/");
while(file_get_contents("http://checkip.dyndns.com/") == $x) sleep(60*30);

echo str_repeat("JA MUDAMOS DE IP! JA MUDAMOS DE IP!\n", 60), "\n";

Não peças ajuda por PM! A tua dúvida vai ter menos atenção do que se for postada na secção correcta do fórum!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.