1
logicbloke
avatar filenames
  • 2010/1/26 19:01

  • logicbloke

  • Just popping in

  • Posts: 2

  • Since: 2010/1/26


Hello,

I built my website based on xoops' database, in the upload, I'm wondering how avatarfile names are composed ? using what formula ?

Thanks in advance,

Regards, Logicbloke

2
ghia
Re: avatar filenames
  • 2010/1/27 0:51

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


logicbloke, Welcome to the XOOPS Forum!

The names are formed by a prefix of cavt and savt, for user avatar or system avatar, and then follows a unique 13 character id.

3
logicbloke
Re: avatar filenames
  • 2010/1/28 0:26

  • logicbloke

  • Just popping in

  • Posts: 2

  • Since: 2010/1/26


Yes, I have already noticed that, Thanks anyway, I didn't now about savt =)

Now what I'm looking for is this unique id ? is it completely random ? I'll maybe do a md5 hash there ... of (uid+name)

4
ghia
Re: avatar filenames
  • 2010/1/28 19:57

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It is a random number generated by the uniqid function of PHP.

Login

Who's Online

102 user(s) are online (53 user(s) are browsing Support Forums)


Members: 0


Guests: 102


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits