954,193 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

uploading jpeg file

Hey, I'm making a website as you all know by the millions of threads I've created, and I have a members area. I will have a datagrid that will display data and an image (chosen by the user). All data is bound to a database stored procedure. I suppose I will give each user a certain path and filename for their image. e.g. zorba will get www.sladesfaculty.com/images/imgZ.jpg . How do I enable the users to overwrite this file, but not any others?

If there is a better alternative to this, please tell me :confused:

Thanks,

Slade

Slade
Practically a Master Poster
633 posts since Mar 2004
Reputation Points: 115
Solved Threads: 7
 

Slade, I am not sure what you mean by not allowing others to overwrite the path, but allow the user? Why not store the path in the database (which I think you are doing) and set a restrictions level on editing that path. The path can only be edited by the user logged in that matches the user name associated with the "path".

Hope that made some sense?

Paladine
Master Poster
Team Colleague
824 posts since Feb 2003
Reputation Points: 211
Solved Threads: 27
 

Sure did dude!

Many Thanks!

Slade
Practically a Master Poster
633 posts since Mar 2004
Reputation Points: 115
Solved Threads: 7
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You