note 28685 added to function.socket-getpeername

From: Date: Mon, 20 Jan 2003 21:39:04 +0000
Subject: note 28685 added to function.socket-getpeername
Groups: php.notes 
Request: Send a blank email to php-notes+get-42444@lists.php.net to get a copy of this message
Just to help others using this command, i wrote up a quick example to save you time. socket_getpeername($socket, &$connectip); echo $connectip; Note that $conectip is defined by socket_getpeername which will return the name (ip) of the connecting host. Regards Chris W -- http://www.php.net/manual/en/function.socket-getpeername.php http://master.php.net/manage/user-notes.php?action=edit+28685 http://master.php.net/manage/user-notes.php?action=delete+28685 http://master.php.net/manage/user-notes.php?action=reject+28685

« previous php.notes (#42444) next »