Hey,
Nice solution, I think i'll use it.
Thanks.
-Ryan

On 1/31/2004 8:56:02 PM, [EMAIL PROTECTED] wrote:
> Ryan A wrote:
> > Hey all,
> > I needed to make a simple upload script so users could upload their
> > images but had a small extra requirment, after searching google,
> > hotscripts and all the other usual places and downloading code, i
> > realized its better to write the whole damn thing myself, so i did.
> >
> > Now that the little history lesson is over.....I have run into a
> > problem which i am sure you guys must have too, when you take the
> > uploaded pic of the user...how do you save it?
> > I dont mean saving onto disk, i can do that, i mean the name of the
> > file...I am having all the pics upload to one common directory
> > (member_pics) so what do you suggest I name the pictures?
> > eg:
> > username.jpg?
> > first_last_name.jpg?
> > <random_number>_username.jpg?
> > etc etc
> > (for this example i wrote only jpg, i will be having png and gif too)
> >
> > The reason I didnt want to use the
> user's username as his pic name is
> > coz then if someone wanted to break into his account they already
> > know the username and they could try to bruteforce the password...
> > if i use first and last name...there is  a _small_ possibility of 2
> > members

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

Reply via email to