Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How to use llHTTPRequest

Minoru Musashi
Oriental Flair
Join date: 20 Oct 2004
Posts: 76
06-05-2006 06:20
From: MSo Lambert
Yes, but you'd have to proxy the requests through your own webserver. The reason for this is the User-Agent string - Shoutcast server expects a string that contains the words ";(Mozilla Compatible)", otherwise it assumes its not a browser but a streaming client, and doesn't display the status page.

I once played with a similar service using llEmail / XML-RPC, which I'm rewriting for llHTTPRequest at the moment. Drop me a line inworld if you need any info.


From: Moonshine Herbst
Yes. I've just made a radio that does it, after MSo's and Rickard's radios that used email to do it stopped working. However, I don't think I'm going to sell it. It requests song info once per minute. If I sell 1,000 of those radios, my web server will get 1,000 hits per minute. So I've just given it to a few close friends, plus I use it at my own venues.

Search for Scstats on google or hotscripts.com to find a freeware php routine that does the shoutcast lookup.


I appreciate the information. My web server is with DreamHost. I'll see if I can put something together to work with it. I suspect both radios ceased to operate because of bandwidth usage. If any of your systems can be easily modified to use my web server please send me a PM or IM in world.
_____________________
SiRiS Asturias
Chaotic Coder
Join date: 27 Sep 2005
Posts: 93
More Examples...
06-12-2006 04:25
The link below shows basic, fast examples for PHP & ASP.Net2.0:

/54/4d/109215/1.html#post1086611

Enjoy! :p
_____________________
Proud founder of:
S3 - Self Storage Systems
S3storage.net (Coming Soon!)

SLBoutique.com
SLExchange.com - Find What You Need, When You Need It.

"Light travels faster than sound. This is why some people appear bright, until you hear them speak."
Aaron Levy
Medicated Lately?
Join date: 3 Jun 2004
Posts: 2,147
07-03-2006 23:10
I get this error on my PHP output when trying to add that head info to make it plain text:

From: someone
Warning: Cannot modify header information - headers already sent by (output started at /home/simshare/public_html/testing/test.php:3) in /home/simshare/public_html/testing/test.php on line 4
Rodrick Harrington
Registered User
Join date: 9 Jul 2005
Posts: 150
07-03-2006 23:31
make sure you don't send ANYTHING to the browser before you send header information this includes whitespace before the opening <? tag
_____________________
1 2