um... any way of doing it without using asp? I run my app on Apache and i dont think i can use asp.
Maybe i need to use javascript... ?? ----- Original Message ----- From: "Myles Penlington" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Friday, October 04, 2002 1:05 PM Subject: RE: [DUG]: detect browser > This is what you want. The following is some asp script to show all the > server/browser variables. The item you need is "HTTP_USER_AGENT" > > And you will get something back like this - > > "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)" > > Which tells you I am running MS Internet explorer 5.5. > > Myles. > > > > > <% @ LANGUAGE="JScript" %> > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > > <html> > <head> > <title>Test Posting</title> > </head> > > <body> > <form action="Esessn3.asp" method="post"> > <input type="text" name="textBx"><input type="submit"> > > </form> > </body> > </html> > > <TABLE> > <TR><TD><B>Server Variable</B></TD><TD><B>Value</B></TD></TR> > <% e = new Enumerator( Request.ServerVariables ); > s = ""; > for (; !e.atEnd(); e.moveNext()) > { > x = e.item(); > s += "<tr><td>"+x+"</td><td>"+Request.ServerVariables( x > )+"</td></tr>"; > if (x=="ALL_HTTP") s += > "<tr><td>"+x+"</td><td>"+escape(Request.ServerVariables( x ))+"</td></tr>"; > } > %> > <%=s%> > </table> > > > -----Original Message----- > From: Rose, Alan (MDF Rangiora) [mailto:[EMAIL PROTECTED]] > Sent: Friday, 4 October 2002 12:57 p.m. > To: Multiple recipients of list delphi > Subject: RE: [DUG]: detect browser > > > This only relates to the Pocket PC but it may give you some clues as to > where to start. > > http://mobileinternetguide.org/xhtml/ch01s23s33s39.xhtml > > > -----Original Message----- > From: Tracey Maule [SMTP:[EMAIL PROTECTED]] > Sent: Friday, 4 October 2002 12:37 > To: Multiple recipients of list delphi > Subject: [DUG]: detect browser > > Hi guys > > I need to display different input forms for users hitting my cgi app > from a handheld. > > does anyone here know anything about how to detect what browser is > hitting an app ? > > > > Tracey > Software Developer / Web Master > Logis > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > (025) 213-1065 > > > DISCLAIMER: This electronic message together with any attachments is > confidential. If you are not the intended recipient, do not copy, disclose > or > use the contents in any way. Please also advise us by return e-mail that > you > have received the message and then please destroy. Carter Holt Harvey is > not > responsible for any changes made to this message and / or any attachments > after > sending by Carter Holt Harvey. We use virus scanning software but exclude > all > liability for viruses or anything similar in this email or any attachment. > -------------------------------------------------------------------------- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > -------------------------------------------------------------------------- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/