Hi. First thanks for the replies.
Can anyone confirm that the php 5.2.0 engine takes the file name from the
path automatically and so basename() can be omitted? I understand that
leaving basename() in the code won't hurt, but I need the info for other
purpose. Thanks.
> Hi. There seems to b
Hi. There seems to be a minor error in the page
http://www.php.net/manual/en/features.file-upload.php. In Example 38-2
"Validating file uploads", there is a line:
$uploadfile = $uploaddir . basename($_FILES['userfile']['name']);
It looks like basename() is not required there. Because i found t
2 matches
Mail list logo