IHYPRESS PROGRAMMING
PHP programs with code and output for beginners
php logo
HOME | ASP | C | CSS | GNUPLOT | HTML | JAVASCRIPT | PERL | PHP | PYTHON | RUBY | SVG
PHP ❯ IP Addresses and Domains
<17>
<div style="color:blue;font-size:18px;font-family:arial,helvetica"> <?php $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); echo "$hostname<br><br>"; $ip = gethostbyname('ihypress.de'); echo "$ip<br><br>"; $hosts = gethostbynamel('yimago.net'); print_r($hosts); ?> </div>
Hergestellt in Deutschland / Made in Germany
172.70.42.84

104.21.61.34

Array ( [0] => 172.67.155.228 [1] => 104.21.81.10 )
COPYRIGHT © 2015-2024 IHY PRESS Frankfurt am Main 60329 Deutschland