Obtenez ce code PHP utile pour récupérer l'adresse IP de votre visiteur. Ce code affiche essentiellement l'adresse IP des visiteurs à l'écran avec son nom d'hôte
Assurez-vous de mettre ce code dans un fichier .php ou si vous savez comment intégrer php en html, vous pouvez également.
CODE PHP
VIH_BackColor = "vert pâle";
VIH_ForeColor = "marine";
VIH_FontPix = "16";
VIH_DisplayFormat = “You are visiting from:<br>IP Address: %%IP%%<br>Host: %%HOST%%”;
VIH_DisplayOnPage = "oui";
<script language=”JavaScript” src=”http://scripts.hashemian.com/js/visitorIPHOST.js.php”></script>
Et voici la démo
Crédits à http://www.hashemian.com/
This method is seriously impressive, thank you for bringing it to our attention.
This method has completely turned my world upside down, thank you.
I’m so thankful for the method, it’s made a huge difference in my life.
This method is seriously game-changing, thank you for sharing it.
This method is seriously impressive, thank you for bringing it to our attention.