Witango-Talk: Browser detection

2003-09-03 Thread Tan Lim Soon Fu
Hi, I would like to detect the mime type support from the user browser so that I can return the correct file format for the user. But when I checked with the <@CGIPARAM> metatag, it did not provides the attribute that I required. Is there have any other solution for this? Thanks. Regards, Tan __

RE: Witango-Talk: <@serverstatus>

2003-09-03 Thread Robert Shubert
@SERVERSTATUS did not appreciably change in W5. They updated the Version (Row 1) and “Trip” became “Wisp”, otherwise the structure and the values are similar. It is true that T2K used ‘ticks’ to count time, a tick is 1/60 of a second or 16.7 milliseconds. W5 now uses milliseconds as its na

RE: Witango-Talk: Adding time

2003-09-03 Thread Robert Shubert
I would keep the hours and minutes in separate columns (or @tokenize on the colon) then just sum() the columns. You’d have to convert > 59 minutes into hours, but that’s a simple math step.   Robert   -Original Message- From: Marc Leblanc [mailto:[EMAIL PROTECTED] Sent: Tuesda

RE: Witango-Talk: Browser detection

2003-09-03 Thread Niall Merrigan
The PARAM you need is USER_AGENT which gives the Browser string and OS of the machine accessing the site >From the docs USER_AGENT The internal name of the Web browser application being used to request the URL. This often contains information about the platform (Mac OS, Windows, etc.) on which

RE: Witango-Talk: Browser detection

2003-09-03 Thread Scott Cadillac
Hi Tan, Are you looking for the "Accept" property? Like from the following example HTTP Request header? GET / HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */* Accep

Re: Witango-Talk: Browser detection

2003-09-03 Thread Campbell Steve
Just a fast question? Does this return the short string as in regards to the browser name and the OS they are using? First off, I sit here Dumbfounded as to WHY I have never used this and secondly, if I was going to collect this info and store it ina table, I was wondering if I would need more th

Re: Witango-Talk: Browser detection

2003-09-03 Thread Roland Dumas
On Wednesday, September 3, 2003, at 08:39 AM, Campbell Steve wrote: Just a fast question? Does this return the short string as in regards to the browser name and the OS they are using? First off, I sit here Dumbfounded as to WHY I have never used this and secondly, if I was going to collect th

Re: Witango-Talk: Browser detection

2003-09-03 Thread Campbell Steve
On 9/3/03 11:00 AM, "Roland Dumas" <[EMAIL PROTECTED]> wrote: > > On Wednesday, September 3, 2003, at 08:39 AM, Campbell Steve wrote: > >> Just a fast question? >> >> Does this return the short string as in regards to the browser name >> and the >> OS they are using? First off, I sit here Dumb

Witango-Talk: PDF stored in db?

2003-09-03 Thread Wilcox, Jamileh (HSC)
Tango2000, W2K server, IIS5, SQL2K I'm building an application to search and display lots of PDF files. My preference would be to store the files in the database, rather than try to organize and keep track of all the separate files. Does anyone know if this method will work with PDF files? If s

RE: Witango-Talk: Browser detection

2003-09-03 Thread Scott Cadillac
Hi Steve, <@CGIPARAM USER_AGENT> is a very useful little feature, but be cautious, there are so many different possible values, that it could be difficult to parse http://www.pgts.com.au/pgtsj/pgtsj0208c.html I usually store the value in a single field, but make sure you chop off the length at s

Re: Witango-Talk: Browser detection

2003-09-03 Thread Atrix Wolfe
Hey Tan, Me and a buddy were talking about this before and in the javascript world there is lots of peices of code to detect whether the browser is nestcape, IE or somethin else. What we were thinking was that you could have an opening page (like a login page) where the javascript detects the bro

Re: Witango-Talk: Browser detection

2003-09-03 Thread Campbell Steve
Hi Scott Thanks for such an informative reply. From the link you gave me I can see so many things that can be down by stripping the left end of the string off and using the Agent field alone. (Browser Name). Thanks for the info! Steve On 9/3/03 11:13 AM, "Scott Cadillac" <[EMAIL PROTECTED]>

RE: Witango-Talk: PDF stored in db?

2003-09-03 Thread Troy Sosamon
I have done it using R:tango, IIS5 and W2k. R:tango is Tango2000 and an R:base database. I am not sure about how your DB handles the blobs, but to load the files, I upload the the file to a temp file on the server and then do a directdbms command to put the file into the database. Pulling the pdf

Re: Witango-Talk: Browser detection

2003-09-03 Thread Steve Smith
Another developer and I are doing this primarily to determine whether the browser is CSS compliant or not. We store the value (0 or 1) in a user-scope variable and have a routine that checks for the existence of the variable on any of the entry pages of the application. On most pages, there are tw

Re: Witango-Talk: <@serverstatus>

2003-09-03 Thread Atrix Wolfe
thats cool, well im glad about the milisecond vs. tick thing, faster hardware shouldnt equal slower times so thats good (: - Original Message - From: Robert Shubert To: [EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 2:00 AM Subject: RE: Witango-Talk: <@

RE: Witango-Talk: PDF stored in db?

2003-09-03 Thread Troy Sosamon
Here is the trickey part that you need. Use a javascrip and open a new window and call a search action that returns a blob and use this code: <@EXCLUDE> <@ASSIGN NAME=ENCODERESULTS VALUE=FALSE SCOPE=LOCAL> <@ASSIGN NAME=HttpHeader SCOPE=LOCAL VALUE="Content-type: application/pdf<@CRLF><@SETCOOK

RE: Witango-Talk: PDF stored in db?

2003-09-03 Thread Scott Cadillac
Great work Troy, Something to add, that I discovered the hard way, is that some versions of the Adobe Plug-in for PDF may not initialize properly because the plug-in needs to know the size of the document before hand. So you might want to add "Content-Length:" to the HTTP Response header, somethi

RE: Witango-Talk: PDF stored in db?

2003-09-03 Thread Ben Johansen
Ok, this is great work, if they were using a user friendly database, something other than M$SQL. Yes M$SQL says you can set up an IMAGE datatype of up to 2Gig. But this is just for spec. try inserting. The max MSSQL can take is 8k blocks and so your nice IMAGE or PDF will need to be broken into 8k

RE: Witango-Talk: PDF stored in db?

2003-09-03 Thread Troy Sosamon
Thanks Sctott, That might explain some problems I have had in the past. Occasionally someone complains about it not working, when they update to the latest version of the Acorbat Reader, the code I have works fine. Troy -Original Message- From: Scott Cadillac [mailto:[EMAIL PROTECTED] Se

Re: Witango-Talk: Browser detection

2003-09-03 Thread Ford Pedersen
Hi, I would like to detect the mime type support from the user browser so that I can return the correct file format for the user. But when I checked with the <@CGIPARAM> metatag, it did not provides the attribute that I required. Is there have any other solution for this? How to approach this depen

Witango-Talk: Witango chat room?

2003-09-03 Thread run run
Hello list. Is there a witango chat room? I would like to witango talk with any of you list members out there. Tabi. __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___

Witango-Talk: File upload COMponent / ASP

2003-09-03 Thread Peter Ternström
Good morning everyone,   has anyone here used a third party ASP / COM object for file upload instead of tangos built-in one? What im looking for is a component that hooks into tangos COM integration, not forcing me to actually call asp pages.   Any ideas, anyone? Peter

Re: Witango-Talk: File upload COMponent / ASP

2003-09-03 Thread Garth Penglase
Title: Re: Witango-Talk: File upload COMponent / ASP Check out the goodies on Ben's PCForge site:  http://www.pcforge.com/WitangoGoodies.htm I think there's an ASP upload component there that has been integrated with Witango. Also check: Latest downloads & List Archives @ http://www.witango.ws

Re: Witango-Talk: File upload COMponent / ASP

2003-09-03 Thread Peter Ternström
Title: Re: Witango-Talk: File upload COMponent / ASP Thanks Garth,   looking at the asp files in the download package, it seems that I have to call the asp upload page from a tango file using http   (   The most elegant (and secure) way would to be able to instantiate the object and make a m

Re: Witango-Talk: Browser detection

2003-09-03 Thread Tan Lim Soon Fu
Thanks for advise. Actually I want to detect the mobile phone browser whether the browser support color image display (then I will use xHTML) or else I will need to use plain WML. I know there are solutions provided in ASP, PHP or PERL scripts by using the HTTP ACCEPT header to return the supported