Re: [PHP-DEV] PHP Documentation Problem 100th time

2004-09-07 Thread Philip Olson
> I just realised that > > Example 34-2. Validating file uploads > > Is still showing a bullshit example. It constructs a destination path > for move_uploaded_file() that consists of user input. There is no sanity > check on it like removing / and .. sequences. > > Can one of the DOC guys fina

Re: [PHP-DEV] PHP Documentation Problem 100th time

2004-09-07 Thread Hartmut Holzgraefe
[EMAIL PROTECTED] is the right list for stuff like this btw ... -- Hartmut Holzgraefe <[EMAIL PROTECTED]> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP Documentation Problem 100th time

2004-09-07 Thread Hartmut Holzgraefe
Stefan Esser wrote: Example 34-2. Validating file uploads Is still showing a bullshit example. It constructs a destination path for move_uploaded_file() that consists of user input. There is no sanity check on it like removing / and .. sequences. Would you agree that aplying basename() would be o