I've abandoned the GUI portion of the DKP addon I've been working on for now, but is it possible to write into the LUA script a method of contacting a webserver to load and execute LUA script from it?
I first got the idea that this could be done when i saw this line in the Enchantrix addon:
Code:
Enchantrix_RegisterRevision("$URL: http://norganna.org/svn/auctioneer/trunk/enchantrix/EnxMain.lua $", "$Rev: 1984 $")
I just need to load a short string from the website which will pass along the character's name as a variable in a get string and cause the PHP script to access the MySQL database, get that player's current DKP, and return it as a variable to the addon.
I tried using dofile() but it seems that command doesn't work to import from a URL.
Any ideas on how to do this, or is it just not possible?