curt Sat Jun 19 11:42:56 2004 EDT
Modified files:
/phpdoc/en/reference/ftp/functions ftp-exec.xml
Log:
Fixed example
http://cvs.php.net/diff.php/phpdoc/en/reference/ftp/functions/ftp-exec.xml?r1=1.9&r2=1.10&ty=u
Index: phpdoc/en/reference/ftp/functions/ftp-exec.xml
diff -u phpdoc/en/reference/ftp/functions/ftp-exec.xml:1.9
phpdoc/en/reference/ftp/functions/ftp-exec.xml:1.10
--- phpdoc/en/reference/ftp/functions/ftp-exec.xml:1.9 Mon Dec 15 11:49:47 2003
+++ phpdoc/en/reference/ftp/functions/ftp-exec.xml Sat Jun 19 11:42:56 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<!-- splitted from ./en/functions/ftp.xml, last change in rev 1.32 -->
<refentry id='function.ftp-exec'>
<refnamediv>
@@ -31,9 +31,8 @@
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
-if ($res = ftp_exec($conn_id, $command)) {
+if (ftp_exec($conn_id, $command)) {
echo "$command executed successfully<br />\n";
- echo nl2br($res);
} else {
echo 'could not execute ' . $command;
}