Witango-Talk: Feature Request

2008-03-31 Thread William M Conlon
Hi Phil, I'm integrating virus scanning into a file upload system. I use ClamAV, and it's simple to do with an external action: #!/bin/sh cat $file | /usr/local/bin/clamdscan - But it's not terribly efficient, since I have to: *write the variable containing the upload to the file system,

Witango-Talk: Feature Request: @ISARRAY

2008-03-31 Thread William M Conlon
I would like to have a metatag @ISARRAY SCOPE=scope NAME=name. Current workaround: (@NUMROWS ARRAY=name 0 AND @NUMCOLS ARRAY=name 0) Bill William M. Conlon, P.E., Ph.D. To the Point 2330 Bryant Street Palo Alto, CA 94301 vox: 650.327.2175 (direct) fax: 650.329.8335 mobile:

Re: Witango-Talk: Feature Request: @ISARRAY

2008-03-31 Thread Ben Johansen
All Witango vars are arrays when you do @var local$name it is the same as @var local$name[1,1] And isarray doesnt imply having data just would mean that it is an array. and since you need the name of the array, and you get that with @numrows Just makes me wonder if this is really needed

Re: Witango-Talk: Feature Request: @ISARRAY

2008-03-31 Thread Alan Wolfe
you might have to check number of columns too since it could be a 1xN array (: On 3/31/08, Ben Johansen [EMAIL PROTECTED] wrote: All Witango vars are arrays when you do @var local$name it is the same as @var local$name[1,1] And isarray doesnt imply having data just would mean that it is an

Re: Witango-Talk: Feature Request: @ISARRAY

2008-03-31 Thread William M Conlon
Well, maybe I shouldn't be trying to enforce types in method calls, but I do. I have a tag @ISINT which takes a string and returns a boolean based on whether the string represents an integer. Maybe I should have written the tag to accept an array in addition to a string, and process

Re: Witango-Talk: Feature Request: @ISARRAY

2008-03-31 Thread Ben Johansen
My real concern was the name of the tag @define local$name type=array cols=5 rows=1 local$name is an array something like @hasdata or @thisdarnarrayexistsandhasdata ;) Ben On Mar 31, 2008, at 4:08 PM, William M Conlon wrote: Well, maybe I shouldn't be trying to enforce types in method

Re: Witango-Talk: variableTimeout

2008-03-31 Thread Roland Dumas
Ah, I get it. You want to have a never expiring experience. I did one in which a user scope array was mirrored in a global scope array. When the timeout trigger fired, it stored the global scope mirror of the array in a database with the user reference cookie as a field and then killed the

Re: Witango-Talk: Feature Request: @ISARRAY

2008-03-31 Thread Robert Garcia
I believe @calc does that, doesn't it? It returns 0 if empty, or not array, and num rows if it is an array. The only way, I think, to find out if an EMPTY var is an array, is if DEFINE was used first. -- Robert Garcia President - BigHead Technology VP Application Development - eventpix.com

Re: Witango-Talk: Feature Request: @ISARRAY

2008-03-31 Thread William M Conlon
Bingo! We have a winner. thx On Mar 31, 2008, at 5:37 PM, Scott Cadillac wrote: Hi Robert, There is also @VARINFO Hope that helps. Scott, On Monday, March 31, 2008 9:24pm, Robert Garcia [EMAIL PROTECTED] said: I believe @calc does that, doesn't it? It returns 0 if empty, or not

Witango-Talk: Email from address

2008-03-31 Thread Wayne Irvine
Using the Email action is there anyway to have a from address appear as: Wayne Irvine [EMAIL PROTECTED] Rather than [EMAIL PROTECTED] Wayne Byte Services Pty Ltd http://www.byteserve.com.au/ [EMAIL PROTECTED] Ph 02 9960 6099 Mob 0409 960

Re: Witango-Talk: Email from address

2008-03-31 Thread William M Conlon
Put your name in quotes, the address in angle brackets. Bill On Mar 31, 2008, at 7:51 PM, Wayne Irvine wrote: Using the Email action is there anyway to have a from address appear as: Wayne Irvine [EMAIL PROTECTED] Rather than [EMAIL PROTECTED] Wayne Byte Services Pty

Re: Witango-Talk: Email from address

2008-03-31 Thread Anthony M. Humphreys
...and then use a comma to delimit each address fname lname [EMAIL PROTECTED], user2 uLname [EMAIL PROTECTED] etc - Original Message - From: William M Conlon [EMAIL PROTECTED] To: witango-talk@witango.com Sent: Monday, March 31, 2008 22:36 Subject: Re: Witango-Talk: Email from address