Problem with ftp_rmdir

From: Date: Tue, 02 May 2006 13:06:49 +0000
Subject: Problem with ftp_rmdir
Groups: php.general 
Request: Send a blank email to php-general+get-235260@lists.php.net to get a copy of this message
Hello everybody, I'm using function ftp_rmdir to create some aplication and for testing I've used following sample from php.net if (ftp_rmdir($conn_id, $dir)) { echo "Successfully deleted $dir\n"; } else { echo "There was a problem while deleting $dir\n"; } Command really removed specified directory, but stopped script as well. So there is no more output about "Successfully deleting" of this file after line with ftp_rmdir.... When I tried this: $x=ftp_rmdir($conn_id, $dir); echo "start $x end"; the second line with echo wasn't put to output... It seems like there is exit function after ftp_rmdir... Does anybody knows, what goes wrong?? Thanx Pavel

« previous php.general (#235260) next »