note 27972 added to function.imap-ping

From: Date: Fri, 27 Dec 2002 22:28:33 +0000
Subject: note 27972 added to function.imap-ping
Groups: php.notes 
Request: Send a blank email to php-notes+get-41367@lists.php.net to get a copy of this message
This is a great solution for a webmail class if you want to make sure that a user is still logged in. Example: <?php if(!(imap_ping($stream)) { die("The user is no longer logged in."); ?> -- http://www.php.net/manual/en/function.imap-ping.php http://master.php.net/manage/user-notes.php?action=edit+27972 http://master.php.net/manage/user-notes.php?action=delete+27972 http://master.php.net/manage/user-notes.php?action=reject+27972

« previous php.notes (#41367) next »