gethost

From: Date: Fri, 21 Jul 2000 14:08:19 +0000
Subject: gethost
Groups: php.general 
Request: Send a blank email to php-general+get-7564@lists.php.net to get a copy of this message
I have a little problem. If the host is a non existing i get a php error, how can i go around this problem?? So i dont get a page error, maybe instead echo Host not found??? $who = gethostbyname("www.fbi.com"); Med vänlig hälsning Kasper Kristiansson 042-217785, Fax 0703-831214

« previous php.general (#7564) next »