vinyl Posted April 23, 2007 Posted April 23, 2007 Well, I had a table for this, it's annoying when you want to find out who ID:78758743 was last month, but considering it costs you game cash to change your name in some games, this may be more effective and not really stuff too much into your staff notes. in preferences.php find in function do_name_change(): You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. BEFORE it, insert: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. change mysql_query to $db->query for V2 of course Quote
hamster01 Posted April 23, 2007 Posted April 23, 2007 Re: log name changes fopen You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Hope that helps Quote
vinyl Posted April 23, 2007 Author Posted April 23, 2007 Re: log name changes well, this way the names kinda 'stick' because the people working on the game see it constantly. --and I hate flat files..but that's me. Thx for the alternative. It's nice to have choices of methods. Quote
oxidati0n Posted April 23, 2007 Posted April 23, 2007 Re: log name changes Database is always the best way to store information. If you lock a page then the file only visits the page if it has a lock then it applies nothing. So basicly your easier to use db than files for storage. Plus if you know your stuff DB data can be a WHOLE lot easier! Quote
UCC Posted April 23, 2007 Posted April 23, 2007 Re: log name changes That code is soooo simple, but it never crossed my mind to do something like that. cool! Quote
vinyl Posted April 23, 2007 Author Posted April 23, 2007 Re: log name changes I have the title of Simple. Lazy is an honorary title in recognition of my contribution to the furtherance of laziness. Quote
oxidati0n Posted April 23, 2007 Posted April 23, 2007 Re: log name changes I have the title of Simple. Lazy is an honorary title in recognition of my contribution to the furtherance of laziness. lol. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.