Jump to content

HELP! anyone know how to send data outside by URL.?


poonoo
 Share

You are about to reply to a thread that has been inactive for 4700 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

i already know the AIP llLoadURL ,

i need to send some data like a tab.

data[1][2] = 1;

data[2][2] = 0;

like this kinda data ,,,how to use llLoadURL(player,"abc","http://www.XXXX.com") to send data outside?

 

its more like a quiz about URL ,, how to translate data into a URL ??

like http://XXXX.com/? d12=1 d22=0    ?

should i write like that??

 

 

im confused :matte-motes-mad:

 

Link to comment
Share on other sites

Hi, the stuff you will have to put in the URL will really depend on what the web site expects, there are standard encodings but the details are application specific.

Most times when you have a name-value pair in a web address, the ? goes between the address and the parameters, and & separates parameters. So, your example might look like http://xxxx.com/?d12=1&d22=0 or it could be something very different. It is not really possible to give a "yes this will work" answer without knowing how that web site works.

Link to comment
Share on other sites

Well, you usually send data to a a file or application that's able to receive it. Which format to use to send it to the file or application depends on them. What your example resembles is to use the GET method plus the URL to send and the PHP global $_GET to retrieve data. This could be:

http://xxx.com/somefile.php?d12=1&d22=0

PHP will use & as the separator of different naes for values. On the PHP in this case the data could be retrieved by chcking the global $_GET - e.g. getting $_GET['d12'] would be 1.

As for the usage of llLoadURL: This method is uded to open a page. Of course you can use it to send data to the webserver as well, but if you don't really want to open the web page and but just send data to the server, use llHTTPRequest .

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4700 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...