gethostbynamel() (funzione PHP) restituisce un array contenente l’elenco degli indirizzi IPv4 corrispondenti a un determinato hostname.
tips&tricks
Sintassi
gethostbynamel($hostname)
| parametro | descrizione |
|---|---|
| $hostname | L’hostname |
Esempi
print_r(gethostbyname("www.gestiolex.it"));
/* RISULTATO
www.gestiolex.it
*/
Contenuti correlati
- CSS
- HTML
- JavaScript
- jQuery
- PHP
- SQL
- WORDPRESS
0 Comment