whats wrong with this code?

From: Date: Fri, 11 Aug 2000 19:58:07 +0000
Subject: whats wrong with this code?
Groups: php.general 
Request: Send a blank email to php-general+get-11395@lists.php.net to get a copy of this message
<? $ip=getenv("REMOTE_ADDR"); $name=gethostbyaddr($ip); $dns_nombre=split(".",$name); for (reset($dns_nombre);$llave=key($dns_nombre);next($dns_nombre)){ echo(sprintf("%s, ",$llave)); echo(sprintf("%s <br>",$dns_nombre[$i])); } ?> It outputs nothing at all. Why is this??? -- "And I'm happy, because you make me feel good, about me." - Melvin Udall ----------------------------------------------------------------- Martín Marqués email: martin@math.unl.edu.ar Santa Fe - Argentina http://math.unl.edu.ar/~martin/ Administrador de sistemas en math.unl.edu.ar -----------------------------------------------------------------

« previous php.general (#11395) next »