Re: form or no form how can I tell

Martijn Koster (m.koster@nexor.co.uk)
Mon, 23 May 1994 10:42:44 +0100


> Hi,
>
> Is there some clever trick to display some text only when
> the client doesn't support forms (So i can offer an alternative
> link for accessing my data)?
> Perhaps a clever CGI script?

Well, you can make a table of which User-Agent's have forms,
and then look at the HTTP User-Agent field. It's a hack, but
it works quite nicely. For example, ArchiePlex* generates
<IMG>'s with Mosaic's internal images only when the request
comes from Mosaic.

-- Martijn
__________
Internet: m.koster@nexor.co.uk
X-400: C=GB; A= ; P=Nexor; O=Nexor; S=koster; I=M
X-500: c=GB@o=NEXOR Ltd@cn=Martijn Koster
WWW: http://web.nexor.co.uk/mak/mak.html