note 23779 added to ref.filesystem

From: Date: Sun, 28 Jul 2002 15:22:38 +0000
Subject: note 23779 added to ref.filesystem
Groups: php.notes 
Request: Send a blank email to php-notes+get-33830@lists.php.net to get a copy of this message
how does one copy an entire directory including it's sub-directories? this is sort of a cheapo backup scheme for php files.. about that guestbook, if you set the data file as world writeable, then people accessing a shell such as yours (if you have one) can change it. safer to use mySQL, a lot easier in a way, too. use htmlspecialchars and nl2br to convert html etc. -- http://www.php.net/manual/en/ref.filesystem.php http://master.php.net/manage/user-notes.php?action=edit+23779 http://master.php.net/manage/user-notes.php?action=delete+23779 http://master.php.net/manage/user-notes.php?action=reject+23779

« previous php.notes (#33830) next »