Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

LSL and PHP Scripting Request - Data Storage

Dragon Muir
Registered User
Join date: 25 Jun 2005
Posts: 60
03-24-2008 19:19
-=- Thank you for the help -=- ^.=.^
Bobbyb30 Zohari
SL Mentor Coach
Join date: 11 Nov 2006
Posts: 466
03-25-2008 13:39
You don't need to send the avatarkey (if its the owner)...

You should also be aware of the amount of information that can be retrieved from parsing the header. See

http://www.lslwiki.net/lslwiki/wakka.php?wakka=llHTTPRequest

for more info
Zolen Giano
Free the Shmeats!
Join date: 31 Dec 2007
Posts: 146
03-26-2008 00:18
If I was you, I wouldn't use flatfiles to store the data. I'd start off on the right foot and use MySQL with your PHP on a Linux platform of some sorts.

Imagine if you had only 1000 unique visitors tracked.....thats 1000 files your way. Now lets say you want to find the last 10 visitors....lol...you would have to write a script that will read and parse ALL 1000 files...just to do a SIMPLE statistic. Lets say you wanted to sort your data...how are you going to sort 1000 files?

Bleah..its just fugly. Take some time to learn a bit on how to make PHP talk to a MySQL database and you will be half way there.