Welcome Guest, Not a member yet? Register   Sign In
Random chars for file name?
#1

[eluser]stuffradio[/eluser]
I am making a public photo sharing type site. It is for a client, and I am trying to be as secure as possible to also prevent hot linking, etc.

What would you say is the best method for file naming when they upload the image?

Method:
The user goes to the site, logs in to their account.

They go to the upload page, enters the caption, whether or not it's nsfw (There is a report button if it is not appropriate if it's marked as sfw)

When it's uploaded, it gets put in to a folder.

The user can also email the photo, and it gets uploaded.

End Method;

That's a bit of insight as to how it works. What's the best method for randomizing the file names and making sure it doesn't exist?


Messages In This Thread
Random chars for file name? - by El Forum - 08-04-2008, 04:17 PM
Random chars for file name? - by El Forum - 08-04-2008, 04:25 PM
Random chars for file name? - by El Forum - 08-04-2008, 04:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB