Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

XML-RPC to an external MySQL/PHP page

Lucky Sterling
Registered User
Join date: 7 May 2006
Posts: 4
05-16-2006 21:46
XML-RPC to an external MySQL/PHP page
Hi, I need to XML-RPC to an external MySQL/PHP page to create a database and in need of direction for resources.

Any Ideas?


~ Lucky Sterling
Hal9k Andalso
Registered User
Join date: 30 Mar 2006
Posts: 60
Follow the Example
05-16-2006 22:03
Lucky,

I don't know if you've found the LSL Dev Wiki yet, but it's a great source to get started with for almost any scripting task. They even have an example of exactly what you are trying to do:

http://secondlife.com/badgeo/wakka.php?wakka=ExampleRPC2PHP

Something else to be aware of is that the 1.10 release (I think) will support HTTP functions making any kind of SL -> Internet communication much better. Depending on how long your development cycle is, you might be better off just workin in Preview and getting it ready for the update.

Good Luck.
Zodiakos Absolute
With a a dash of lemon.
Join date: 6 Jun 2005
Posts: 282
05-17-2006 00:47
I wanted to add to that - be sure to save your scripts also to an external source, such as your computer - that way if there's a database error on the preview grid, or they decide to patch the main grid, you'll still have your scripts.
Lucky Sterling
Registered User
Join date: 7 May 2006
Posts: 4
XML-RPC to an external MySQL/PHP page
05-17-2006 21:58
Thanks!
Any other tips?

~ Lucky Sterling