mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
- typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@211496 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
0c955729b5
commit
4d1ad1853c
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id="function.ftp-rename">
|
||||
<refnamediv>
|
||||
<refname>ftp_rename</refname>
|
||||
|
@ -72,7 +72,7 @@ $conn_id = ftp_connect($ftp_server);
|
|||
// login with username and password
|
||||
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
|
||||
|
||||
// try to rename $olf_file to $new_file
|
||||
// try to rename $old_file to $new_file
|
||||
if (ftp_rename($conn_id, $old_file, $new_file)) {
|
||||
echo "successfully renamed $old_file to $new_file\n";
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue