First, thanks for all the help in advance. I am creating a vendor system - to learn, I know there are plenty out there - and I want each vendor to send its location, basically a landmark, to my database - I have been searching the wiki, but haven't had much luck. I tried llDetectedPos, and a few other things with no luck - any suggestions for basically recording where an object is and sending that to the sql database. I know how to send the information using php and sql, I have done it for many things, but need help with the landmark and LSL. Also, I was playing around with parcel name, parcel owner, parcel description, if I could send that too, that would be cool, but I couldn't get that to work. Here is the script I have with some information blocked out.
This script works, I just need to add the parts listed above.
default
{
state_entry()
{
llSetText( " ", < 1,1,1>, 1 );
}
touch_start(integer total_number)
{
string name;
string uuid;
string landmark;
name = llDetectedName(0);
uuid = llDetectedKey(0);
landmark = ???????;
key http_request_id;
http_request_id = llHTTPRequest( "http://www.blockedout.info/blockedout.php", [HTTP_METHOD,"POST",HTTP_MIMETYPE,"application/x-www-form-urlencoded"], "name=" + name + "&uuid=" + uuid);
}
}