[sldev] New to the list with a complicated question.

Stickman stickman at gmail.com
Tue Sep 29 10:46:21 PDT 2009


When visiting a site with a normal browser:

HTTP_USER_AGENT
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3)
Gecko/20090824 Firefox/3.5.3 GTB5 (.NET CLR 3.5.30729)

When visiting a site with the inworld browser:

HTTP_USER_AGENT
Mozilla/5.0 (Windows; U; Windows NT 5.1;
chrome://navigator/locale/navigator.properties; rv:1.8.1.21)
Gecko/20090305 SecondLife/1.23.4.123908 (Second Life Release; default
skin)

So... for PHP, look and experiment a bit at
http://us2.php.net/manual/en/reserved.variables.server.php and see if
something like $_SERVER['HTTP_USER_AGENT'] has info you can use.

Someone else may have a better way. This is just me answering off the
cuff. Haven't done PHP in a while.

For ASP, you'll need a reply from someone else.

-Stickman

On Tue, Sep 29, 2009 at 10:26 AM, Poppy Foxdale <poppy.foxdale at gmail.com> wrote:
> Greetings everyone,
>
> I apologize in advance if this message seems muddled, I'm not sure how to go
> about fielding my question. Torley pointed me in this direction as I'm
> stepping into something that's a bit over my head. Since the in-Viewer
> browser can't view things like Flash and some other content, is it possible
> to code a website to pull up an alternative page? So if a user views a page
> In-Viewer it pulls up the appropriate version of the website? I know things
> like this can be done with iPhones and such. Id like to do this with a page
> I'm in the process of building, but I've no idea how to go about doing it or
> if it's possible. If anyone could nudge me to the source of such
> information, I would greatly appreciate it.
>
> -Poppy
>
> _______________________________________________
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/SLDev
> Please read the policies before posting to keep unmoderated posting
> privileges
>


More information about the SLDev mailing list