Ryan A <mailto:[EMAIL PROTECTED]>
    on Friday, January 30, 2004 10:09 AM said:

> common directory (member_pics) so what do you suggest I name the
> pictures? eg:
> username.jpg?
> first_last_name.jpg?
> <random_number>_username.jpg?

how about <timestamp>_originalfilename.jpg?

Someone uploads "breadbox.jpg" you save it as "1010342461_breadbox.jpg".

Or if the traffic will not be insanely high you can just call it
"1010342461.jpg".


hth,
Chris.

* Unless more than one person is uploading a picture within the same
second you won't have any problems with duplicate names.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to