List Info

Thread: note 77495 added to function.ftp-chmod




note 77495 added to function.ftp-chmod
user name
2007-08-31 15:36:38
Hi,
The commet with the "ftp_site" is not correct!
You must use it like this:

<?php
if (!function_exists('ftp_chmod')) {
    function ftp_chmod($ftp_stream, $mode, $filename)
    {
        return ftp_site($ftp_stream, sprintf('CHMOD %u %s',
$mode, $filename));
    }
}
?>
----
Server IP: 212.124.37.9
Probable Submitter: 217.5.204.77
----
Manual Page -- h
ttp://www.php.net/manual/en/function.ftp-chmod.php
Edit        -- https://master
.php.net/note/edit/77495
Del: integrated  -- h
ttps://master.php.net/note/delete/77495/integrated
Del: useless     -- http
s://master.php.net/note/delete/77495/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/77495/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/77495/spam
Del: non-english -- 
https://master.php.net/note/delete/77495/non-english
Del: in docs     -- http
s://master.php.net/note/delete/77495/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/77495
Reject      -- https://mast
er.php.net/note/reject/77495
Search      -- https://
master.php.net/manage/user-notes.php

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


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )