DB and Variable Help - Posted (863 Views)
Average Member
Zuel
Posts: 540
540
Sorta Forum Related, didn't see anywhere else to post this.
I'm trying to finish up the Avatars Add-on I am working on. My Database skills are very very weak. I need to do the following and could use some information on the best approach while I attempt to make an Avatar Config file.
New Variables, probably going to post them in the Config.asp file.
Integers '=== Max File Size for New Avatars ===
intAvatarMaxUploadSize

Possible Booleans '=== Allow Members to Upload - Yes | No ===
intAvatarAllowUpload
'=== Restrict to Specific Usergroups - Yes | No ===
intAvatarUseUsergroups

I need to create Database space to hold those values.
Now what does the Application() function do? I've read a few things but still unclear to what it is suppose to do. It seems to hold information in memory for all users. Sorta like a universal cookie.
I just don't understand its main use if the config is always present on most files why the Application Variable is used.
If there are any tutorials anywhere on building a config that would be very helpful. I still would need to know how to call the variables from the Database, assign them different values, submit new information and loop through database information.
I'll be trying to practice elsewhere on this.
Any and every help is appreciated. smile<
My Completed Mods: News Mod | Zuel's Avatar Add-on
In Development: World of Warcraft Member Roster | [C# Based Forum]
Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.
MSN / E-Mail: ucyimDa_Ruler@Hotmail.com

Personal Bookmarks: How to work a DBS File
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Support Moderator
pdrg
Posts: 2897
2897
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/vsfctubound.asp

hth<
Posted
Junior Member
prescottw
Posts: 189
189
Thank You Very Much! Just What I was looking for.
-prescottw<
What day is it anyway?
You Must enter a message