Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llHTTPRequest and spaces....

Chri5 Somme
:)
Join date: 18 Nov 2005
Posts: 204
05-06-2007 12:14
Hey, I've just started using llHTTPRequest to post to a database outside of SL. So far so good but i've noticed one thing, when I use the httprequest with lsl it seems to remove the spaces on any text i try to send out. Does anyone know a work around?

I.e.

string name = "Chri5 Somme";

llHTTPRequest("http://example.com/test.php?name="+name,[HTTP_METHOD,"POST"],"";);



will result in the request reading back as "Chri5Somme".
Chri5 Somme
:)
Join date: 18 Nov 2005
Posts: 204
05-06-2007 12:17
From: Chri5 Somme
Hey, I've just started using llHTTPRequest to post to a database outside of SL. So far so good but i've noticed one thing, when I use the httprequest with lsl it seems to remove the spaces on any text i try to send out. Does anyone know a work around?

I.e.

string name = "Chri5 Somme";

llHTTPRequest("http://example.com/test.php?name="+name,[HTTP_METHOD,"POST"],"";);



will result in the request reading back as "Chri5Somme".



n/m

it is llEscapeURL. Sorry for the waste of forum space.
Ultralite Soleil
Registered User
Join date: 31 Aug 2006
Posts: 108
05-06-2007 12:38
From: Chri5 Somme
n/m

it is llEscapeURL. Sorry for the waste of forum space.


Don't apologize. First of all, you're not the only person to have that problem. Secondly, by leaving it here on the board, you've probably helped other people who will have the problem in the future.