944,007 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 4607
  • ASP.NET RSS
May 5th, 2004
0

uploading jpeg file

Expand Post »
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

Thanks,

Slade
Reputation Points: 115
Solved Threads: 7
Practically a Master Poster
Slade is offline Offline
633 posts
since Mar 2004
May 8th, 2004
0

Re: uploading jpeg file

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?
Team Colleague
Reputation Points: 211
Solved Threads: 27
Master Poster
Paladine is offline Offline
793 posts
since Feb 2003
May 9th, 2004
0

Re: uploading jpeg file

Sure did dude!

Many Thanks!
Reputation Points: 115
Solved Threads: 7
Practically a Master Poster
Slade is offline Offline
633 posts
since Mar 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Connecting via Winmatrix to Access
Next Thread in ASP.NET Forum Timeline: Visual Studio .NET 2003 layout





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC