note 16400 added to function.ftp-chdir

From: Date: Sun, 28 Oct 2001 16:22:16 +0000
Subject: note 16400 added to function.ftp-chdir
Groups: php.notes 
Request: Send a blank email to php-notes+get-19527@lists.php.net to get a copy of this message
If you want to check if something is a dir or file you could do something like this: if (ftp_chdir($connection, $fileordir)) { // a dir ftp_cdup(); return true; } else { // no dir return false; } -- http://www.php.net/manual/en/function.ftp-chdir.php http://master.php.net/manage/user-notes.php?action=edit+16400 http://master.php.net/manage/user-notes.php?action=delete+16400 http://master.php.net/manage/user-notes.php?action=reject+16400

« previous php.notes (#19527) next »