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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to