Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - How to correlate member to file upload directory
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to correlate member to file upload directory

 Post Reply Post Reply
Author
grantorinosport View Drop Down
Groupie
Groupie


Joined: 12 February 2003
Location: United States
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote grantorinosport Quote  Post ReplyReply Direct Link To This Post Topic: How to correlate member to file upload directory
    Posted: 27 April 2017 at 8:38pm
So most of my upload directories for member file uploads are just numbered in the uploads directory on the server. A few are by user name, but most are not.

How does one go about correlating a specific user with a specific file folder in the uploads? For example, if I was looking for user john_doe, how would I know Mr. Doe is folder 2045?

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (1) Thanks(1)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2017 at 10:46am
Folders stopped using usernames many years ago. The reason was that if a username used special charters or used non western characters then windows could not create or read in the folder.

Instead each user in the database is given a unique user ID  which is a number. This is used for the folder. Each members upload folder does contain an XML file called 'folder_info.xml' which includes the members username.

You can also get the members user ID by going to their forum profile, in the URL bar in your browser you would have 'member_profile.asp?PF=8290' the part '8290' will also be the same as their folder name in the uploads folder.


Edited by WebWiz-Bruce - 02 May 2017 at 7:58am
Back to Top
grantorinosport View Drop Down
Groupie
Groupie


Joined: 12 February 2003
Location: United States
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote grantorinosport Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2017 at 4:13pm
Thank you Bruce!
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.