note 72151 added to function.chmod

From: Date: Thu, 04 Jan 2007 21:11:44 +0000
Subject: note 72151 added to function.chmod
Groups: php.notes 
Request: Send a blank email to php-notes+get-121295@lists.php.net to get a copy of this message
As you might have noticed there is a minor bug in webmaster at danopia dot 5gigs dot com's code: You have to set $ftp_root variable outside the function chmod_open() and have to set it as global within the chmod_file() function. With these patches the code really works fine. THX! Ben ---- Server IP: 217.160.72.57 Probable Submitter: 89.27.224.63 ---- Manual Page -- http://www.php.net/manual/en/function.chmod.php Edit -- https://master.php.net/note/edit/72151 Del: integrated -- https://master.php.net/note/delete/72151/integrated Del: useless -- https://master.php.net/note/delete/72151/useless Del: bad code -- https://master.php.net/note/delete/72151/bad+code Del: spam -- https://master.php.net/note/delete/72151/spam Del: non-english -- https://master.php.net/note/delete/72151/non-english Del: in docs -- https://master.php.net/note/delete/72151/in+docs Del: other reasons-- https://master.php.net/note/delete/72151 Reject -- https://master.php.net/note/reject/72151 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#121295) next »