note 22914 added to security.filesystem
| From: | php-general at lists dot php dot net | Date: | Thu, 04 Jul 2002 07:50:28 +0000 |
| Subject: | note 22914 added to security.filesystem | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32568@lists.php.net to get a copy of this message | ||
Normally I just changes the username like this:
<?
$username = str_replace(".", "", $username);
?>
In this way I'm sure the user has no way to access top-folders.
--
http://www.php.net/manual/en/security.filesystem.php
http://master.php.net/manage/user-notes.php?action=edit+22914
http://master.php.net/manage/user-notes.php?action=delete+22914
http://master.php.net/manage/user-notes.php?action=reject+22914