|
Kia Carpaccio
Registered User
Join date: 17 Dec 2008
Posts: 6
|
12-17-2008 14:55
hi i have a script to detect every avatar who comes in my island. this script generates a list but instead of writting manually the visitor of my island i want to put the list automatically in my own database. thank you for responding me. i really need help
|
|
Pedro McMillan
SLOODLE Developer
Join date: 28 Jul 2007
Posts: 231
|
12-17-2008 15:02
What kind of database is it? And where is it hosted?
|
|
Klug Kuhn
Registered User
Join date: 7 Sep 2007
Posts: 126
|
12-17-2008 22:16
You need to create an out-world database such as MySQL, as well as some PHP scripts stored in your web hosting server. Then using LSL sending information to the PHP, and the PHP update the database. 
|
|
Kia Carpaccio
Registered User
Join date: 17 Dec 2008
Posts: 6
|
12-19-2008 14:19
ok will try. in fact my database is SQL database.
|
|
Pedro McMillan
SLOODLE Developer
Join date: 28 Jul 2007
Posts: 231
|
12-19-2008 16:04
Just a quick point of information: SQL isn't actually a type of database, it's just a language for 'talking to' a database. There are lots of database systems with "SQL" in the name, such as MySQL, PostgreSQL, and MSSQL.
If it's on a web-server, then it's quite likely to be MySQL (although not definite).
|
|
Kia Carpaccio
Registered User
Join date: 17 Dec 2008
Posts: 6
|
12-20-2008 02:37
yes i made a mistake i meant mySQL. so how can i do to update my database with my generated list of visitors?
|
|
Pedro McMillan
SLOODLE Developer
Join date: 28 Jul 2007
Posts: 231
|
12-20-2008 04:23
You need to write a script on your server (usually in PHP) which will actually write to your database. You then use llHTTPRequest in your LSL script to send data to the PHP script. This topic comes up quite often, so there's loads of information on the forum about it: /54/2c/290880/1.html
|
|
Kia Carpaccio
Registered User
Join date: 17 Dec 2008
Posts: 6
|
12-20-2008 13:34
thank u very much. this is a good chat there and many things to learn
|