Here's how I create the URL I want my script to contact (with the name of the server changed):
// I create the string exactly as I would type it into the web browser
string urlForStoringStatus = "http://www.myserver.com/MySqlExample.php?command=store&key=objectStatus&value="
+myStatus+"&group=objectState&owner_key="+(string)llGetKey();
// I print out the string for debug purposes
llWhisper(0,urlForStoringStatus);
// I send it to the server
saveOfObjectStatusRequestid = llHTTPRequest(urlForStoringStatus,[HTTP_METHOD,"GET"],""
;When I run this I see whispered in the chat area the exact string I intended to create:
http://www.myserver.com/MySqlExample.php?command=store&key=objectStatus&value=status0&group=objectState&owner_key=826cc6c6-0b8c-6521-d1b9-1dc845c394b8
However, when I look in the database the key has been stored as the value:
64a938c8-0c35-4de1-95e8-b55eca07b378
However, when I cut and paste the same string that was whispered into my web browser, I see the key properly stored as:
826cc6c6-0b8c-6521-d1b9-1dc845c394b8
What's the difference between these two method???