From rudy937 at rogers.com Mon Aug 25 00:04:29 2003 From: rudy937 at rogers.com (rudy) Date: Mon, 25 Aug 2003 01:04:29 -0400 Subject: [thelist] Question about proper tag References: <75058C6D-D6A0-11D7-911E-00039358CB42@earthlink.net><000e01c36ab5$c7a2b5a0$52639c18@r9373j4yqbe8dy> <018801c36aba$1bcd3340$0300a8c0@client1> Message-ID: <001301c36ac6$6637aee0$52639c18@r9373j4yqbe8dy> > > to get around it many people do this -- > > > >
or tags around it
(obviously view source will do the same thing via a vew mouse clicks and
see what is coming back from the DB. This will tell you if the breaks are
coming back.
> > If you've kept the line breaks and have a text area box, try using
> > "wrap" attribute.
>
>Which attribute? virtual | soft | hard..
I normally use hard.
Now that I've thought about this for 5 more seconds, you really should put
the wrap attribute into the Text Area - maybe the returns are not even
going into the DB in the first place.
---
Anthony Baratta
President
Keyboard Jockeys
"Conformity is the refuge of the unimaginative."
From angello at post.cz Mon Aug 25 02:24:55 2003
From: angello at post.cz (angello)
Date: Mon, 25 Aug 2003 09:24:55 +0200
Subject: [thelist] Two column fixed width layout
In-Reply-To: <3F453F02.3030900@wirelust.com>
References: <3F453F02.3030900@wirelust.com>
Message-ID: <3F49B9C7.9060703@post.cz>
hi,
i think that your problem is that you defined same width for "container"
and "body" and if a computer browser can't compute dimensions of a box
it just omits one dimension, so i' recomend you to not define width with
"body" selector.
regards
angello
Mike F wrote:
> I've been designing my new layout and am having a couple problems. If
> you check out the draft (http://www.spoonerist.com/draft/) you'll see
> that the border breaks on the right side (at least for me it does in
> both IE 6 and Firebird 0.6.1). To see the technique I'm using for the
> two-column layout, either check out the CSS
> (http://www.spoonerist.com/draft/default.css) or the site I got the
> layout from (http://www.guyweb.co.uk/experiments/). Does anyone know
> how I could remedy this small problem? Preferably without a hack...
> Thanks in advance.
>
> Mike Foroobar
>
From lists at frankmarion.com Mon Aug 25 03:38:17 2003
From: lists at frankmarion.com (Frank)
Date: Mon, 25 Aug 2003 04:38:17 -0400
Subject: [thelist] CF: Maddening CFPOP problem: UnknownError
Message-ID: <5.2.1.1.0.20030825042423.00a84a90@mail.frankmarion.com>
I keep getting the following error when trying to access pop accounts. They
are admittedly rather largely stuffed. I have re-written my scripts in such
a way that it grabs chunks, rather than the whole thing, ie, in groups of 5
emails.
> unknown exception condition
> unknown error while executing a tag.
I know the account is good, I can download it using other clients with the
same info. I'm not trying to display any information yet, just downloading
it. This is the same whether I run the script on the same server, or a
foreign one (My testing server).
Can anyone suggest what avenues I might investigate?
Additional info
cf 4.5 RH Linux.
qMail is my POP SMTP server
My frustration is reaching a pretty high peak.
Thanks.
--
Frank Marion lists at frankmarion.com Keep the signal high.
From lists at frankmarion.com Mon Aug 25 03:42:06 2003
From: lists at frankmarion.com (Frank)
Date: Mon, 25 Aug 2003 04:42:06 -0400
Subject: [thelist] POP Software recommendations?
Message-ID: <5.2.1.1.0.20030825043849.00a81ab8@mail.frankmarion.com>
There is a wonderful Mac only pop account reader called "Mail Siphon". It
serves as a MUA that reads and handles email directly from the pop account
without needing to download it locally. Can someone recommend a PC version
similar to this?
Link seems to have been down for a couple of days now.
Mail Siphon
http://www.maliasoft.com/
--
Frank Marion lists at frankmarion.com Keep the signal high.
From angello at post.cz Mon Aug 25 04:15:53 2003
From: angello at post.cz (angello)
Date: Mon, 25 Aug 2003 11:15:53 +0200
Subject: QRe: [thelist] Question about proper tag
In-Reply-To: <000e01c36ab5$c7a2b5a0$52639c18@r9373j4yqbe8dy>
References: <75058C6D-D6A0-11D7-911E-00039358CB42@earthlink.net>
<000e01c36ab5$c7a2b5a0$52639c18@r9373j4yqbe8dy>
Message-ID: <3F49D3C9.40002@post.cz>
rudy wrote:
>trickier is if an H is also an anchor, i.e. part way down the page you have
>
> Section
>
>
>
try
Section 157
... later in the document
if (typeOf(cat) == 'mammal')
{
if (typeOf(cat) == 'feline')
{
// Section A
echo 'meow
';
}
else
{
// Section B we jump out of here
}
// Section C and not execute this.
}
else
{
// Section D we do not want to land here
}
// Section E we want to land here
Because that is what I am hearing.
Answer: move Section C after Section A inside the 2nd "if" block. It
sounds to me like you only want to execute Section C if Both conditions
are true.
Please specify some code if this is not the case to help us see your
logic better. :)
--Steve
Learn to use Karnaugh Maps (aka K-maps) to help simplify ugly
conditional logic.** When you learn how to use them, they can make
quick work of tricky logic, and help you enumerate all the cases you
need to test, never leave an unconsidered case in complex binary
(true/false) evaluations.
Then using the "else if" clause, if you have one available, you can
potentially simplify the logic of a K-map where there are many nested
else clauses.
one good introduction to Karnaugh Maps is available at
http://www.maxmon.com/kmaps1.htm
From rob.smith at THERMON.com Wed Aug 27 07:52:07 2003
From: rob.smith at THERMON.com (Rob Smith)
Date: Wed, 27 Aug 2003 07:52:07 -0500
Subject: [thelist] test email
Message-ID: <0CEC8258A6E4D611BE5400306E1CC9271E4EA5@smtmb.tmc.local>
I dunno. My emails haven't been getting to evolt's mailing list. Well. I
guess the good thing is that I've been able to work out my own problems
anyway.
Rob Smith
From trond at tiger.no Tue Aug 26 16:59:08 2003
From: trond at tiger.no (=?iso-8859-1?Q?Trond_Gr=F8ntoft?=)
Date: Tue, 26 Aug 2003 23:59:08 +0200
Subject: [thelist] "forms' in CSS
References: <77025926DDD85A4D886C5B8A34E43E742D7748@exchange.internal.municode.com>
Message-ID: <006601c36c1d$466b62c0$0100a8c0@tiger5>
Great resource, Stephen.
Bookmarked!
---------------------------------------------------------------
Trond Gr?ntoft
ColorImpact - harmonious color schemes with a single click
http://www.tigercolor.com
----- Original Message -----
From: "Stephen Caudill"
To:
Sent: Tuesday, August 26, 2003 10:01 PM
Subject: RE: [thelist] "forms' in CSS
Bill Hughey on Tuesday, August 26, 2003 2:04 PM said:
: Anyone have any pointers for replacing forms with CSS layout
: controls? Example code is most welcome.
I think what you are looking for is:
http://www.alistapart.com/stories/practicalcss/
about half way down the page under the title:
FORM(s) and Function
I've successfully used the technique on a couple of sites.
hth,
Stephen
http://www.mechavox.com
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
From ron.luther at hp.com Wed Aug 27 08:23:34 2003
From: ron.luther at hp.com (Luther, Ron)
Date: Wed, 27 Aug 2003 08:23:34 -0500
Subject: [thelist] Oracle Date Swizzle?
Message-ID: <8958135993102D479F1CA2351F370A0602F4BF8C@cceexc17.americas.cpqcorp.net>
Plunkett, Matt suggested:
>>Frustrating because this feels like it should be surmountable. :P
Hi Matt,
Sorry. I'm sure it's my problem for not explaining things as completely
as I usually do ... lotsa 'hectic-nicity' in the air here these days!
{I also tend to chase red herrings down rabbit holes ... like that 'view'
nonsense I spouted yesterday ... but I usually eliminate those quickly
enough to zero in on the real issue ... usually.}
>>...why not [have] Oracle convert the date for you?
Yeah - I was actually in the middle of asking the dba to turn these into
'real' dates for me when we discovered the "cast" functionality.
>>[how about]
>> SELECT qty
>> FROM yourtable
>> WHERE due_date between (TO_DATE('20021001', 'YYYYMMDD') + 15) and
>> (TO_DATE('20021001', 'YYYYMMDD') + 30);
Brio _does_ do SQL ... but it's one of those darn 'gui smart apps' so
sometimes I need to wrestle with it a bit to get it to see things 'my way'.
;-)
The final report will look more like:
Not_Aged 0-15 days 16-30 days
Order # 1 0 5 0
Order # 2 3 0 0
Order # 3 0 0 6
And now that I can convert that db '20021001' string value to a 10/01/2002
style date I can do some date arithmetic and whup up on this report!
I think I'll be more looking at something more along the lines of
SELECT Order
, TRUNC(TO_DATE(OrderDate) - SYSDATE,0) as DeltaDays
, DECODE(SIGN(DeltaDays),-1,OrderQty-ShippedQty,0)as Not_Aged
, "some long fugly yet similar bugger to get me a range"
, "lather, rinse, repeat"
FROM four tables at the moment
WHERE dynamic user-selectable limits
... but I think I'm past the main hurdle ... now that I've found that
darn 'cast' functionality.
Sorry ... I've been in a bit of a fog for the past month or two ... too
much to do and now fighting a sinus infection too.
RonL.
Right-click any item in the 'request line' to bring up a contextual
menu -- (this is Brio-ese for the 'Select' portion of the SQL.)
Select "properties"
Now, from the dialog box that appears, select "Options".
A 'Datatype' drop-down box will appear at the bottom of the dialog box.
Select the datatype you wish to return and click "OK".
It's in plain site. How could anybody miss that? ;-P
From ngilas2003 at yahoo.com Wed Aug 27 02:17:26 2003
From: ngilas2003 at yahoo.com (Stevenson N)
Date: Wed, 27 Aug 2003 00:17:26 -0700 (PDT)
Subject: [thelist] FTP.Net Activex Componet
Message-ID: <20030827071726.62748.qmail@web80602.mail.yahoo.com>
Hi,
Does anyone know where i can get a free FTP.Net Activex Component ?
Please assist!
Thanks
---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
From gassinaumasis at hotmail.com Wed Aug 27 08:37:03 2003
From: gassinaumasis at hotmail.com (Peter-Paul Koch)
Date: Wed, 27 Aug 2003 13:37:03 +0000
Subject: [thelist] Apache configuration on OSX
Message-ID:
Thanks all for the reactions. I reply only to this mail, but that doesn't
mean the others weren't gratefully received.
>>I'm setting up the Apache web server on my OS X computer as my internal
>>web server. However, I've seen that when I upload files to it it chmod's
>>them as 740 while I need 644.
>>
>>I assume I can change this default chmod in the proper configuration file.
>>Unfortunately I can't find it. The documentation talks about httpd.conf
>>but this file seems to be absent from my OS X computer, Apple's Find
>>doesn't find it.
>>
>
>/etc/httpd/httpd.conf on my 10.2
Which is also /private/etc . Besides, it turned out to be a Samba
configuration (solved) and an ftpd configuration (not yet solved) problem.
>>How do I change the default chmod? I'm a clueless newbie when it comes to
>>web server management and my Unix is at the "Una cerveza por favor" level,
>>so please be kind and considerate.
>
>How are you uploading? umask should cover it I think.
umask turned out not to be enough, since I upload through Samba and FTP.
Interesting side note: on my Mac 'man umask' gives the manpage for tcsh,
which is not at all what I'd expected.
Thanks all, problem solved.
-------------------------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
New: Browser Wars II: The Saga Continues
http://evolt.org/article/rdf/25/60181/
------------------------------------------------------------------
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
From andrew at humanbehaviour.co.uk Wed Aug 27 04:21:02 2003
From: andrew at humanbehaviour.co.uk (Andrew)
Date: Wed, 27 Aug 2003 10:21:02 +0100
Subject: [thelist] site check - oscomm - protx
Message-ID:
After a while in development another site has gone live! Apart from the
'sub navigation' I would appreciate any feed back. Particularly browser issues.
Design critiques welcome too! ;)
http://www.hificollective.co.uk
oscomm is integrated with protx.
Cheers
Andrew
www.businessa2z.co.uk
www.efficiente.co.uk
From chris.price at speed-mail.co.uk Wed Aug 27 08:52:50 2003
From: chris.price at speed-mail.co.uk (Chris Price)
Date: Wed, 27 Aug 2003 14:52:50 +0100
Subject: [thelist] .conf files in Apache (was: [ Apache configuration on OSX])
Message-ID:
> I assume I can change this default chmod in the proper configuration
> file. Unfortunately I can't find it. The documentation talks about
> httpd.conf but this file seems to be absent from my OS X computer,
> Apple's Find doesn't find it.
I recently screwed up my system and had to clean install. Since then I
haven't been able to see anything when I look at http://127.0.0.1/ and when
I look for my-computer.local I'm told it doesn't exist.
When I type sudo apachectl graceful in the terminal it starts Apache but
doesn't go through the .conf files like it used to. And I don't have any
users in the httpd directory.
I can now see all the old 'hidden' files in my previous system folder.
Can I get back to where I was using BBEdit? Do you know if there is a book
in O'Reilly's Safari that could help me?
I now know what sudo means.
--
Chris Price
From rob.smith at THERMON.com Wed Aug 27 09:59:17 2003
From: rob.smith at THERMON.com (Rob Smith)
Date: Wed, 27 Aug 2003 09:59:17 -0500
Subject: [thelist] Web site designs that die of old age
Message-ID: <0CEC8258A6E4D611BE5400306E1CC9271E4EA6@smtmb.tmc.local>
Yah. 2 years is a good expiration date. I'm already working on several new
designs for our Intranet now.
Rob
-----Original Message-----
From: Minh Lee Goon [mailto:evolt at goonies.info]
Sent: Tuesday, August 26, 2003 3:15 PM
To: Evolt
Subject: [thelist] Web site designs that die of old age
How often should a web site be updated? I've read once somewhere that a web
site should be redesigned every two years or so. Any links to articles would
be much appreciated. Thanks.
Minh-Lee
http://www.goonies.info/
Not the film. The family.
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
From ron.luther at hp.com Wed Aug 27 10:32:30 2003
From: ron.luther at hp.com (Luther, Ron)
Date: Wed, 27 Aug 2003 10:32:30 -0500
Subject: Solved: RE: [thelist] Oracle Date Swizzle?
Message-ID: <8958135993102D479F1CA2351F370A0602F4BF8D@cceexc17.americas.cpqcorp.net>
Hi Gang,
Once I got that db field cast as a date it wasn't too tough to get the
categorizations I wanted. Here's what ended up working:
SELECT
stuff
, more stuff
, TRUNC(TO_DATE(SYSDATE) -
TO_DATE( Open.Cus_Dt, 'YYYYMMDD'), 0) as 'Delta Days'
, ...
, here's the "16-30 day" category
, DECODE(SIGN(Request.Delta_Days - 15) +
SIGN(Request.Delta_Days - 31), 0,
Open.OrdUnit_Qt - Open.Ship_Qt, 0)
, ...
FROM some tables
WHERE user conditions are met
Works just fine now.
Thanks! ;-)
RonL.
From kilimajer at webglobe.sk Wed Aug 27 11:09:26 2003
From: kilimajer at webglobe.sk (Marek Kilimajer)
Date: Wed, 27 Aug 2003 18:09:26 +0200
Subject: [thelist] PHP if exit Q
In-Reply-To:
References:
Message-ID: <3F4CD7B6.9050808@webglobe.sk>
Seems like I have problems sending email, I sent you this on php-general:
while( condition ) {
// code here
if( codition ) {
} else {
break;
}
// more code here
break; // break at the end so while() becomes if()
}
Lets see if you get it.
jsWalter wrote:
>>-----Original Message-----
>>From: Kelly Hallman [mailto:khallman at wrack.org]
>>Sent: Tuesday, August 26, 2003 4:06 PM
>>To: thelist at lists.evolt.org
>>Cc: jsWalter at torres.ws
>>Subject: RE: [thelist] PHP if exit Q
>
>
>>do {
>> if ($cond1) { ... } else { break; }
>> if ($cond2) { ... } else { break; }
>> ...
>>} while(0);
>
>
> duh!
>
> Staring me right ion the face!
>
> Thanks.
>
> Walter
>
>
From mike at mikeemedia.com Wed Aug 27 11:17:58 2003
From: mike at mikeemedia.com (Michael Robertson)
Date: Wed, 27 Aug 2003 12:17:58 -0400
Subject: [thelist] Custom Errors in IIS
Message-ID: <00a801c36cb6$c8a881c0$0700a8c0@BEN>
I have been creating custom ASP error pages to display and setting up IIS to use them in the event of 404 or ASP errors. The problem with it is I have it set to URL then the file name and many times if there is an include file on a page or sometimes on a recordset the error page will display in the middle of the page (in place of the include) as opposed to instead of this page. If I set IIS to File then the complete path, the browser displays the ASP code from the file. Any suggestions?
From Tab.Alleman at MetroGuide.com Wed Aug 27 11:30:21 2003
From: Tab.Alleman at MetroGuide.com (Tab Alleman)
Date: Wed, 27 Aug 2003 12:30:21 -0400
Subject: [thelist] VBScript: HTMLEncode with no Server object available?
Message-ID:
Jason Handby wrote:
> I want to be able to HTMLEncode a string, exactly as I would with
> Server.HTMLEncode() . Unfortunately, because I'm writing this script
> for Windows Scripting Host and not for an ASP page, the Server object
> isn't available.
>
> Can someone point me at some VBScript for doing the same job?
> Someone's bound to have written this already...?
>
Have you tried Wscript.HTMLEncode()?
From manuel at simplelogica.net Wed Aug 27 12:31:16 2003
From: manuel at simplelogica.net (M.G. Noriega)
Date: 27 Aug 2003 19:31:16 +0200
Subject: [thelist] Web site designs that die of old age
In-Reply-To: <000901c36c0e$ea3cc920$4b83d889@sdstate.edu>
References: <000901c36c0e$ea3cc920$4b83d889@sdstate.edu>
Message-ID: <1062005495.5164.4.camel@nofx>
El mar, 26-08-2003 a las 22:15, Minh Lee Goon escribi?:
> How often should a web site be updated? I've read once somewhere that a web
> site should be redesigned every two years or so. Any links to articles would
> be much appreciated. Thanks.
>
This article by Jared Spool may give you an interesting point of view on
the subject, namely that major redesigns should be avoided while gradual
and constant improvement should be pursued
The Quiet Death of the Major Re-Launch
http://www.uie.com/Articles/quiet_death_of_relaunch.htm
--
Manuel Gonz?lez Noriega
Simplel?gica, construcci?n web @ http://simplelogica.net
Logicola es el weblog de Simplel?gica http://simplelogica.net/logicola/
From keith.underdown at qconsultancy.co.uk Wed Aug 27 11:11:05 2003
From: keith.underdown at qconsultancy.co.uk (Keith Underdown)
Date: Wed, 27 Aug 2003 17:11:05 +0100
Subject: [thelist] Re:PHP if exit Q
In-Reply-To:
References:
Message-ID:
Use elseif (http://uk.php.net/elseif)
If
action1 fails
then
error
elseif
action2 fails
then error2
elseif
.
.
.
.endif
Improved my life no end when I worked this out as an operating systems
designer in S3 30 years ago!
Keith
--
Keith Underdown (Managing Director)
The Q Consultancy Ltd
KALIDO Information Archtectures Specialists
+44 7798 934782
www.qconsultancy.co.uk
From joshua at waetech.com Wed Aug 27 12:31:07 2003
From: joshua at waetech.com (Joshua Olson)
Date: Wed, 27 Aug 2003 13:31:07 -0400
Subject: [thelist] VBScript: HTMLEncode with no Server object available?
References:
Message-ID: <003a01c36cc0$ffd9a480$0300a8c0@client1>
----- Original Message -----
From: "Jason Handby"
Sent: Wednesday, August 27, 2003 5:33 AM
> I want to be able to HTMLEncode a string, exactly as I would with
> Server.HTMLEncode() . Unfortunately, because I'm writing this script for
> Windows Scripting Host and not for an ASP page, the Server object isn't
> available.
>
> Can someone point me at some VBScript for doing the same job? Someone's
> bound to have written this already...?
Jason,
HTMLEncode really doesn't do anything other than a couple replaces on a
string. You could easily write your own to swap out < and > with their
entity (< and >) equivalents.
<><><><><><><><><><>
Joshua Olson
Web Application Engineer
WAE Tech Inc.
http://www.waetech.com
706.210.0168
From hershelr at netvision.net.il Wed Aug 27 12:51:47 2003
From: hershelr at netvision.net.il (Hershel Robinson)
Date: Wed, 27 Aug 2003 13:51:47 -0400
Subject: [thelist] Large expandable tree
Message-ID: <007c01c36cc4$65ccdb60$0200000a@hershel>
I have a page which shows an expandable/collapsible tree of nodes. The
server prints out the nodes in a JavaScript array and the client side code
builds the tree.
I am using a modified version of the tree code found here:
www.destroydrop.com/hugi/javascript/tree/
Everything works well, but now our trees are growing larger and the time to
build the tree is growing too large. This is not terribly surprising, given
the nature of the code and how it processes the array. When we first built
the page, I was not aware that our trees might grow so large. :)
The boss says that a 1500 node tree takes 2 minutes to build and we may soon
be seeing 6K nodes.
I am thus looking for suggestions for a better solution to this
tree-building business. I have examined several different approaches,
including those which print out the entire tree using a series of nested
tags or a series of nested tags. I am wondering, however, if 6K
nodes (and maybe more) is a bit much even for these methods.
The MSDN Library tree code in the left pane loads in branches of the tree on
request. This is an interesting solution. Their particular implementation is
apparently somewhat lacking in documentation. I have not located anything on
it, nor has a certain forum which I visited.
If anyone has any suggestions as to how to handle this task, I would
appreciate the input.
Thank you,
Hershel
From SCaudill at municode.com Wed Aug 27 12:57:58 2003
From: SCaudill at municode.com (Stephen Caudill)
Date: Wed, 27 Aug 2003 13:57:58 -0400
Subject: [thelist] "forms' in CSS
Message-ID: <77025926DDD85A4D886C5B8A34E43E742D7749@exchange.internal.municode.com>
Trond Gr?ntoft on Tuesday, August 26, 2003 5:59 PM said:
: Great resource, Stephen.
: Bookmarked!
: ---------------------------------------------------------------
: Trond Gr?ntoft
: ColorImpact - harmonious color schemes with a single click
: http://www.tigercolor.com
:
Yup, and if you read Andy's post on his blog that he links below,
the method is pretty fool proof. Egor's example is good too,
much less code, my only disagreement is the use of tags as the
structural container for the form field and it's label, but
I guess it's personal preference, since it validates either way.
-Stephen
http://www.mechavox.com
From gassinaumasis at hotmail.com Wed Aug 27 13:11:04 2003
From: gassinaumasis at hotmail.com (Peter-Paul Koch)
Date: Wed, 27 Aug 2003 18:11:04 +0000
Subject: [thelist] How many people use Opera?
Message-ID:
>is it possible to tell how many people use Opera, given that by default,
>Opera identifies itself as IE (in order to get past bad browser detection
>javascripts used instead of object detection javascripts).
My current guesstimate is 0.5% market share. This is a number vaguely
collated from many sources, with a fat margin of error either way that will
give any statistician (is that a word?) cold sweat.
Even with a browser detect you can identify Opera with 100% certainty by
looking for 'Opera', which always appears in the string. Of course object
detection is far better than any browser detect, even one that properly
detects Opera.
>The website stats saying that Opera represents only a tiny fraction of
>surfers are clearly completely untrustable, but what is the true number of
>users?
Why are they?
>Opera themselves claim that there have been record numbers of downloads.
>http://www.opera.com/pressreleases/en/2003/08/05/
Since their market share three or four years ago was still 0.1 or 0.2 %,
they did have a record number of downloads, compared to earlier Opera
download numbers.
>so, do web designers need to rethink their assumptions that Opera doesn't
>matter and that they can safely design pages that don't work in Opera?
In general I try to get all my pages working in Opera. When it comes to CSS
that isn't especially difficult, but some DHTML areas are notoriously bad.
For instance, I just discovered you can't give an iframe a z-index. In this
particular case I'm going to give it one more try and if that doesn't work I
give up on Opera for the DHTML part of this site (though not for the
fallback plain-vanilla accessible alternative).
-------------------------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
New: Browser Wars II: The Saga Continues
http://evolt.org/article/rdf/25/60181/
------------------------------------------------------------------
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
From dougal at gunters.org Wed Aug 27 13:41:24 2003
From: dougal at gunters.org (Dougal Campbell)
Date: Wed, 27 Aug 2003 13:41:24 -0500 (CDT)
Subject: [thelist] {Spam?} OT: Osirusoft spam list dead
Message-ID: <20030827133846.F36615@ns2.iguanasoft.com>
If any of you have been wondering about the increased number of spam
reject notices lately, it's because one of the more popular spam lookup
systems, Osirusoft, is dead due to dDOS attacks:
http://slashdot.org/articles/03/08/27/0214238.shtml?tid=111&tid=126
If you or your ISP are using spam filters, make sure you disable the
Osirusoft checks, or you'll risk incorrectly bouncing a ton of mail.
--
Ernest MacDougal Campbell III, MCP+I, MCSE
http://dougal.gunters.org/ http://spam.gunters.org/
Web Design & Development: http://www.mentalcollective.com/
This message is guaranteed to be 100% eror frea!
From k.neirynck at belgacom.net Wed Aug 27 13:48:15 2003
From: k.neirynck at belgacom.net (Kristof Neirynck)
Date: Wed, 27 Aug 2003 20:48:15 +0200
Subject: [thelist] How many people use Opera?
In-Reply-To:
References:
Message-ID: <3F4CFCEF.9020308@belgacom.net>
Stuart Young wrote:
> is it possible to tell how many people use Opera, given that by default, Opera identifies itself as IE (in order to get past bad browser detection javascripts used instead of object detection javascripts).
>
> The website stats saying that Opera represents only a tiny fraction of surfers are clearly completely untrustable, but what is the true number of users?
>
Opera can allways be detected by it's useragent string.
Even when it fakes msie.
> Opera themselves claim that there have been record numbers of downloads.
> http://www.opera.com/pressreleases/en/2003/08/05/
>
A good reference is:
Look for "Web Browsers Used to Access Google"
Kristof
From barrister_williams_jones at aemail4u.com Wed Aug 27 12:52:59 2003
From: barrister_williams_jones at aemail4u.com (williams jones)
Date: Wed, 27 Aug 2003 10:52:59 -0700 (PDT)
Subject: [thelist] CONTACT ME A.S.A.P
Message-ID: <20030827175300.34EE44207@sitemail.everyone.net>
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL:
From mike at mikeemedia.com Wed Aug 27 14:41:19 2003
From: mike at mikeemedia.com (Michael Robertson)
Date: Wed, 27 Aug 2003 15:41:19 -0400
Subject: [thelist] Custom Errors in IIS
Message-ID: <017601c36cd3$3088b230$0700a8c0@BEN>
I have been creating custom ASP error pages to display and setting up IIS to use them in the event of 404 or ASP errors. The problem with it is I have it set to URL then the file name and many times if there is an include file on a page or sometimes on a recordset the error page will display in the middle of the page (in place of the include) as opposed to instead of this page. If I set IIS to File then the complete path, the browser displays the ASP code from the file. Any suggestions?
From taranis at spittingllamas.com Wed Aug 27 15:13:15 2003
From: taranis at spittingllamas.com (Alex Ezell)
Date: Wed, 27 Aug 2003 16:13:15 -0400
Subject: [thelist] site check - oscomm - protx
In-Reply-To:
References:
Message-ID: <162180439818.20030827161315@spittingllamas.com>
On Wednesday, August 27, 2003, 5:21:02 AM, Andrew wrote:
> http://www.hificollective.co.uk
Maybe it's the difference between British english and American
english, but the button "In Cart" is a little perplexing to me.
It appears on pages like:
http://www.hificollective.co.uk/catalog/product_info.php?products_id=449
I don't know if it means, "What's in the cart?" or "Put this into my
cart." Perhaps, something like "Buy Now" is a little clearer.
--
Alex
http://www.spittingllamas.com
From austin at dotmail.co.uk Wed Aug 27 15:29:45 2003
From: austin at dotmail.co.uk (Austin Harris)
Date: Wed, 27 Aug 2003 21:29:45 +0100
Subject: [thelist] PHP show first 10 words of MySQL field
In-Reply-To: <20030827153245.BB39E1DC@admin.redroom.biz>
Message-ID:
Sorry for the poor title but I am not sure how to describe what I want to do
concisely...
I have a text field in a db and want to show on one page just the first 20
words, (more or less) of that field before putting a "view more" link.
Being relatively new to PHP I am not sure what sort of function I need to
use, searching is tricky without being able to state the problem concisely!
I am guessing I want to count the words, (or characters) and set a cut off
limit.
All help very much appreciated.
Austin
From rob.smith at THERMON.com Wed Aug 27 15:45:56 2003
From: rob.smith at THERMON.com (Rob Smith)
Date: Wed, 27 Aug 2003 15:45:56 -0500
Subject: [thelist] Neat Color Theme Finding Trick - Free Tip
Message-ID: <0CEC8258A6E4D611BE5400306E1CC9271E4EAC@smtmb.tmc.local>
Hi list,
Take any photograph into your favorite graphics program. Zoom in as far as
you can go. Then take any 4 pixel square and voila, an instant color theme.
The anti-aliasing of the digital picture does all the work.
WARNING: Keep in mind that these 4 colors may not be web safe, or a part of
the safe 216 web color pallet. But they do go well together.
Rob Smith
From nansmith at heritageconcord.org Wed Aug 27 15:51:23 2003
From: nansmith at heritageconcord.org (Nan Harbison)
Date: Wed, 27 Aug 2003 16:51:23 -0400
Subject: [thelist] JavaScript included file question
In-Reply-To:
Message-ID:
Gurus,
I am looking at a web application, which I did not create,
I am just giving my opinion on this mess. The index page
calls a file called javascript.inc. This is all that is in
this file (watch the wrap):
This application uses PHP (obviously) and PEAR, and there
is only one other include statement on this page, which is
to a CSS file. There is another file on this site that has
the statement:
$incJavaScript = STR_GLOBAL_JAVASCRIPT;
and a global setting page has this:
define("STR_GLOBAL_JAVASCRIPT",
WS_PATH.'include/global_javascript.js');
Can someone tell me what the point of this is? It seems
like a rather round-about way to call an included file.
TIA,
Nan
From aredridel at nbtsc.org Wed Aug 27 16:04:22 2003
From: aredridel at nbtsc.org (Aredridel)
Date: Wed, 27 Aug 2003 15:04:22 -0600
Subject: [thelist] Web site designs that die of old age
In-Reply-To: <000901c36c0e$ea3cc920$4b83d889@sdstate.edu>
References: <000901c36c0e$ea3cc920$4b83d889@sdstate.edu>
Message-ID: <1062018261.25950.1.camel@mizar.nbtsc.org>
On Tue, 2003-08-26 at 14:15, Minh Lee Goon wrote:
> How often should a web site be updated? I've read once somewhere that a web
> site should be redesigned every two years or so. Any links to articles would
> be much appreciated. Thanks.
My thoughts are don't change what's broken. I usually just update
technique, but not design -- I went XHTML on a client's project with
almost pixel similarity over the old table design. Yay for that!
Now -updates- should happen as often as possible. New content makes
people come back. New designs drive 'em away, often as not.
Ari
From jeff at jeffhowden.com Wed Aug 27 16:30:11 2003
From: jeff at jeffhowden.com (Jeff Howden)
Date: Wed, 27 Aug 2003 14:30:11 -0700
Subject: [thelist] Server-side image generation
In-Reply-To: <1062019061.19850@LISTSERV.alphashop.com>
Message-ID: <1062019546.25189@LISTSERV.alphashop.com>
joshua,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Joshua Olson
>
> > > http://concepts.waetech.com/bargraph/
> >
> > http://evolt.jeffhowden.com/jeff/screen_caps/make_graph_nn4.gif
>
> Kind of ironic, eh? You throw back a snapshot of
> Netscape 4.x when you abandoned visual catering to
> Netscape many months ago?
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
i suppose it's ironic. however, it proves my point about html vs image
graphing. images enjoy 100% support, while html does not.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> On a differing note, the screen shot does expose
> something interesting... the information degrades
> nicely on browsers such as this one. The information is
> still completely accessible, even though the
> presentation is all gummed up.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
but in the case of graphs, the presentation is a piece of the information.
without it, it's difficult to parse the numbers and get a feel for what
graphs might look like, which is the whole point of the exercise to begin
with.
.jeff
??????????????????????????????????????????????????????
Jeff Howden - Web Application Specialist
R?sum? - http://jeffhowden.com/about/resume/
Code Library - http://evolt.jeffhowden.com/jeff/code/
From austin at dotmail.co.uk Wed Aug 27 16:39:28 2003
From: austin at dotmail.co.uk (Austin Harris)
Date: Wed, 27 Aug 2003 22:39:28 +0100
Subject: [thelist] PHP show first 10 words of MySQL field
In-Reply-To: <20030827153245.BB39E1DC@admin.redroom.biz>
Message-ID:
I have now got it working, and very simple it is to;
$rest = substr("$myrow[text]", 0, 180);
echo("$rest");
Many thanks, Austin
From evolt at doubtlesshouse.org.uk Wed Aug 27 17:12:05 2003
From: evolt at doubtlesshouse.org.uk (James)
Date: Wed, 27 Aug 2003 23:12:05 +0100
Subject: [thelist] Apache configuration on OSX
In-Reply-To: <788DB7FB-D7EE-11D7-BA83-000393703A62@bmannconsulting.com>
Message-ID: <7DCF715D-D8DB-11D7-8DA6-000A9567FDA6@doubtlesshouse.org.uk>
On Tuesday, August 26, 2003, at 06:55 PM, Boris Mann wrote:
>
> It's in /private/etc/httpd ......... Also, it is owned by root, so you
> won't be able to edit except with root privileges.
>
> That being said, type this into Terminal and you'll be able to edit
> the file (yes, you can cut and paste this):
> sudo pico /etc/httpd/httpd.conf
>
> The "sudo" command tells the next action to be executed as if by the
> root user -- you'll be prompted for YOUR password, and since you are
> in the Admin group, it will execute.
>
FYI, Pico should not really be used as it can insert line feeds
automatically in your file, which can mess up some configuration stuff.
I use Vi, although I admit thats far from user friendly
From ironmike at inav.net Wed Aug 27 17:49:27 2003
From: ironmike at inav.net (Mike Hopkins)
Date: Wed, 27 Aug 2003 17:49:27 -0500
Subject: [thelist]
References:
Message-ID: <004201c36ced$793a03c0$c2620143@trustyii>
Have a look at his article on creating graphs on the fly:
http://ironbark.bendigo.latrobe.edu.au/subjects/int32we/lectures/w11.d/Lect2
2.html
It may be of some help to you.
Mike Hopkins
[[[[[[[[[[ ]]]]]]]]]] [[[[[[[[[[ ]]]]]]]]]] [[[[[[[[[[ ]]]]]]]]]]
Steve Olsen wrote:
> I have a png image of poll results created on the fly with
> php/gdlib/MySQL. Rather than saving the image to a file, I just
> call the script that creates it in an html tag, like so:
>
>
>
> This works fine on Windows boxes, but hangs a Mac with OS 9 and
> IE 5. Has anyone else had any experience like this they could
> share, particularly if you found a solution? Or, can anyone
> recommend a php or Mac mail list?
>
> The script does output a header identifying the image as png, by
> the way. The page is at http://www.markruzzin.org/poll.php if you
> want practice rebooting your Mac.
!
From meredith at pintsize.com Thu Aug 28 17:57:34 2003
From: meredith at pintsize.com (Meredith Tupper)
Date: Thu, 28 Aug 2003 18:57:34 -0400
Subject: [thelist] test - please disregard
Message-ID: <3F4E88DE.6020303@pintsize.com>
test
--
PintSize Graphics & Web Hosting, Inc.
http://www.pintsize.com
3225 S. MacDill Ave. #208
Tampa, FL 33629
813-835-5382
meredith at pintsize.com
CONFIDENTIALITY WARNING
This electronic message contains information which may be privileged
and/or confidential. This information is intended for the exclusive use
of the individual(s), entity, or persons named or indicated above. Any
unauthorized access, disclosure, copying, distribution, or use of any
parts of the contents of this message/information is strictly prohibited
by federal law. Any attempts to intercept this message are in violation
of Title 18 U.S.C. 2511(1) of the Electronic Communications Privacy Act
(ECPA). All violators are subject to fines, imprisonment or civil
damages, or both.
From mindmachine at hotmail.com Wed Aug 27 18:03:33 2003
From: mindmachine at hotmail.com (Og)
Date: Wed, 27 Aug 2003 19:03:33 -0400
Subject: [thelist] Base64 Encodng and Encryption in ASP
Message-ID:
Hello all. I'm working with a merchant account and their instructions are telling me that I have to encode a portion of the form submission with Base64 Encryption. I'm using ASP and I have no idea what they are reffering too. Has anyone else had to do this, is it an ASP plugin or something?. Thanks
Cheers
Paul J Maguire
CEO Ogmatter
www.ogmatter.com
info at ogmatter.com
"Ogmatter In mind"
Note : All outgoing emails have been scanned with Norton Anti-Virus
From pixelmech at yahoo.com Wed Aug 27 18:35:07 2003
From: pixelmech at yahoo.com (Tom Dell'Aringa)
Date: Wed, 27 Aug 2003 16:35:07 -0700 (PDT)
Subject: [thelist] Large expandable tree
In-Reply-To: <007c01c36cc4$65ccdb60$0200000a@hershel>
Message-ID: <20030827233507.52905.qmail@web12602.mail.yahoo.com>
--- Hershel Robinson wrote:
> I have a page which shows an expandable/collapsible tree of nodes.
> The server prints out the nodes in a JavaScript array and the
> client side code builds the tree.
>
> I am using a modified version of the tree code found here:
> www.destroydrop.com/hugi/javascript/tree/
> The boss says that a 1500 node tree takes 2 minutes to build and we
> may soon be seeing 6K nodes.
Hershel, not sure if this is robust enough but look here:
http://www.pixelmech.com/review/dom_tree_new.html
Add as many nodes as you want. The whole script is:
function ToggleSection(node)
{
var nodeArray = node.childNodes;
for(i=0; i < nodeArray.length; i++)
{
node = nodeArray[i];
if (node.tagName && node.tagName.toLowerCase() == 'div')
{
node.style.display = (node.style.display == "block") ? 'none'
: 'block';
}
}
}
It might at least point you in the right direction...
HTH
Tom
=====
http://www.pixelmech.com/ :: Web Development Services
http://www.DMXzone.com/ :: Premium Content Author / JavaScript / Every Friday!
http://www.maccaws.com/ :: Group Leader
[Making A Commercial Case for Adopting Web Standards]
"That's not art, that's just annoying." -- Squidward
From studio at dutchcelt.nl Wed Aug 27 19:42:30 2003
From: studio at dutchcelt.nl (Egor Kloos)
Date: Thu, 28 Aug 2003 02:42:30 +0200
Subject: [thelist] "forms' in CSS
In-Reply-To: <77025926DDD85A4D886C5B8A34E43E742D7749@exchange.internal.municode.com>
Message-ID: <819D4D3C-D8F0-11D7-BC3F-000A27AF4846@dutchcelt.nl>
> my only disagreement is the use of tags as the
> structural container for the form field and it's label, but
> I guess it's personal preference, since it validates either way.
Well even if it is personal preference it still wrong, even if it
validates.
So I've corrected it. The structural container is now a
and not a
.
is a paragraph of text and not a structural container, so it's use
in this case isn't semantic.
Markup should validate and be semantic, this is a good article on the
subject:
http://www.kottke.org/03/08/030826standards_do.html
Egor Kloos
http://www.dutchcelt.nl/
From damiencola at wanadoo.fr Wed Aug 27 19:47:15 2003
From: damiencola at wanadoo.fr (Damien COLA)
Date: Thu, 28 Aug 2003 02:47:15 +0200
Subject: [thelist] Large expandable tree
In-Reply-To: <007c01c36cc4$65ccdb60$0200000a@hershel>
Message-ID: <001701c36cfd$ed902b40$a000a8c0@ELECTRA>
I think 6K nodes will be too much to construct on the fly with
javascript, because javascript seems to me a slow language compared to
java or shockwave (I am not aware of speed comparaisons)
I suggest you search for a java applet doing just that, faster. You will
generate a text file that the java applet will read to build the tree.
Cordialement,
Damien COLA
http://www.VarMalin.com
-----Original Message-----
I have a page which shows an expandable/collapsible tree of nodes. The
server prints out the nodes in a JavaScript array and the client side
code builds the tree.
Everything works well, but now our trees are growing larger and the time
to build the tree is growing too large. This is not terribly surprising,
given the nature of the code and how it processes the array. When we
first built the page, I was not aware that our trees might grow so
large. :)
The boss says that a 1500 node tree takes 2 minutes to build and we may
soon be seeing 6K nodes.
From k.neirynck at belgacom.net Wed Aug 27 19:53:18 2003
From: k.neirynck at belgacom.net (Kristof Neirynck)
Date: Thu, 28 Aug 2003 02:53:18 +0200
Subject: [thelist] Large expandable tree
In-Reply-To: <007c01c36cc4$65ccdb60$0200000a@hershel>
References: <007c01c36cc4$65ccdb60$0200000a@hershel>
Message-ID: <3F4D527E.5050306@belgacom.net>
> I have a page which shows an expandable/collapsible tree of nodes. The
> server prints out the nodes in a JavaScript array and the client side code
> builds the tree.
>
> The boss says that a 1500 node tree takes 2 minutes to build and we may soon
> be seeing 6K nodes.
Build the tree serverside.
Javascript was never ever ment for this.
Kristof
From Ed at ComSimplicity.com Wed Aug 27 20:27:16 2003
From: Ed at ComSimplicity.com (Ed McCarroll)
Date: Wed, 27 Aug 2003 18:27:16 -0700
Subject: [thelist] {Spam?} OT: Osirusoft spam list dead
In-Reply-To: <20030827133846.F36615@ns2.iguanasoft.com>
Message-ID:
Hmmm,
> Osirusoft, is dead due to dDOS attacks:
>
> http://slashdot.org/articles/03/08/27/0214238.shtml?tid=111&tid=126
AOL recently started rejecting email from one, but not all, of my
addresses. I wonder if this could be related...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ed McCarroll MailTo:Ed at ComSimplicity.com
ComSimplicity (310) 838-4330
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
From ken at adOpenStatic.com Wed Aug 27 20:45:20 2003
From: ken at adOpenStatic.com (Ken Schaefer)
Date: Thu, 28 Aug 2003 11:45:20 +1000
Subject: [thelist] Custom Errors in IIS
References: <00a801c36cb6$c8a881c0$0700a8c0@BEN>
Message-ID: <027301c36d06$0aac4800$0a345e81@careersAD.unsw.edu.au>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Michael Robertson"
Subject: [thelist] Custom Errors in IIS
: I have been creating custom ASP error pages to display
: and setting up IIS to use them in the event of 404 or ASP
: errors. The problem with it is I have it set to URL then the
: file name and many times if there is an include file on a page
: or sometimes on a recordset the error page will display in
: the middle of the page (in place of the include) as opposed
: to instead of this page. If I set IIS to File then the complete
: path, the browser displays the ASP code from the file.
: Any suggestions?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Michael,
Can you elaborate a bit further on what your problem is please? I really
don't understand what you mean, for example, when you say:
The problem with it is I have it set to URL then the file name and many
times if there is an include file on a page or sometimes on a recordset the
error page will display in the middle of the page
"...if there is an include file on the page or sometimes on a recordset..."?
How can you have an include file on a recordset?
Can you also show examples of what you mean by your error types? Are your
problem occuring with both your 404 errors? or your 500-100 (ASP) errors as
well?
I can't think of any situation that would create the type of problem you
seem to be describing (well, I can, but they seem only distantly related),
so it would help if you could be as precise as possible about (a) what you
are doing and (b) what symptoms you are seeing.
Cheers
Ken
From rudy937 at rogers.com Wed Aug 27 20:55:03 2003
From: rudy937 at rogers.com (rudy)
Date: Wed, 27 Aug 2003 21:55:03 -0400
Subject: [thelist] site check - oscomm - protx
References:
Message-ID: <003701c36d07$77c36a80$52639c18@r9373j4yqbe8dy>
> Design critiques welcome too! ;)
> http://www.hificollective.co.uk
extremely well done job on making it liquid
also, excellent job on the main nav bar, letting it wrap -- not too many
people see the benefit of doing that
(the nav bar at the bottom is missing the link to the home page, which the
one at the top does have)
on the down side, it's too bad the fonts don't resize, as you will lose
visitors, and there's no real reason why you need to set your font size so
small
well, yes, i suppose you might say there's a reason, which is to cram more
stuff into a small space, but really, that's not a very good reason
it's just way too "busy" for my liking
on the latest I-Design newsletter (#417), there's an interesting post from
someone who appears to be against the 3-column layout almost as much
as i am -- check it out (http://www.adventive.com/lists/idesign/html),
i have a feeling it's going to be a long thread...
remember sturgeon's law, and try to cut back the stuff on that home page
rudy
From paul at teltest.com Wed Aug 27 21:39:35 2003
From: paul at teltest.com (Paul Bennett)
Date: Thu, 28 Aug 2003 14:39:35 +1200
Subject: [thelist] PHP show first 10 words of MySQL field
In-Reply-To:
References:
Message-ID: <3F4D6B67.6010608@teltest.com>
Austin Harris wrote:
>Sorry for the poor title but I am not sure how to describe what I want to do
>concisely...
>
>I have a text field in a db and want to show on one page just the first 20
>words, (more or less) of that field before putting a "view more" link.
>
>Being relatively new to PHP I am not sure what sort of function I need to
>use, searching is tricky without being able to state the problem concisely!
>
>I am guessing I want to count the words, (or characters) and set a cut off
>limit.
>
>All help very much appreciated.
>
>Austin
>
>
>
# take your original db string and get the first (say) 200 characters
$shortString = substr ( $originalString, 0, 200);
That should get you started?
--
------------------------------
Paul Bennett
Internet Developer
Teltest Electronic Design
------------------------------
Email: paul at teltest.com
Phone: 64 4 237 4557
Web: http://www.teltest.com
Wap: http://wap.teltest.com
From cs1spw at bath.ac.uk Wed Aug 27 21:38:42 2003
From: cs1spw at bath.ac.uk (Simon Willison)
Date: Wed, 27 Aug 2003 21:38:42 -0500
Subject: [thelist] PHP show first 10 words of MySQL field
In-Reply-To:
References:
Message-ID: <3F4D6B32.3080601@bath.ac.uk>
Austin Harris wrote:
> Sorry for the poor title but I am not sure how to describe what I want to do
> concisely...
>
> I have a text field in a db and want to show on one page just the first 20
> words, (more or less) of that field before putting a "view more" link.
>
> Being relatively new to PHP I am not sure what sort of function I need to
> use, searching is tricky without being able to state the problem concisely!
>
> I am guessing I want to count the words, (or characters) and set a cut off
> limit.
The easiest way to do that is like this:
$length = 6; // The number of words you want
$text = 'This text should have come from the MySQL database.';
$words = explode(' ', $text); // Creates an array of words
$words = array_slice($words, 0, $length);
$text = implode(' ', $words);
print $text; // This will contain only the first 6 words
Hope that helps,
Simon Willison
http://simon.incutio.com/
From Ed at ComSimplicity.com Wed Aug 27 22:27:04 2003
From: Ed at ComSimplicity.com (Ed McCarroll)
Date: Wed, 27 Aug 2003 20:27:04 -0700
Subject: [thelist] Listserve Software
Message-ID:
Does anyone care to recommend an open source listserve software
package?
The one used for this list seems to work well...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ed McCarroll MailTo:Ed at ComSimplicity.com
ComSimplicity (310) 838-4330
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
From jeff at jeffhowden.com Wed Aug 27 22:56:33 2003
From: jeff at jeffhowden.com (Jeff Howden)
Date: Wed, 27 Aug 2003 20:56:33 -0700
Subject: [thelist] Web site designs that die of old age
In-Reply-To: <1062039812.30511@LISTSERV.alphashop.com>
Message-ID: <1062042729.12672@LISTSERV.alphashop.com>
ari,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Aredridel
>
> My thoughts are don't change what's broken. [...]
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
errrr ... *not* broken?
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> I usually just update technique, but not design -- I
> went XHTML on a client's project with almost pixel
> similarity over the old table design. Yay for that!
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
i just did the same, but had to change a few elements in the site design
because i didn't wanna get all rounded-corner crazy like the table-based
layout.
there are two designs, both based off the same layout. the only difference
is color scheme and content.
summer
http://mtbachelor.com/
http://summer.mtbachelor.com/
winter
http://winter.mtbachelor.com/
it's not *100%* valid, but close enough for horseshoes, hand grenades, and
thermo-nuclear devices. it's mainly the content area on some pages are
controlled by an msie rich text editing interface that spews out html that
won't validate to xhtml that i have problems with. i try to be on top of
things and clean up the html when i see they've updated it, but i've been
too busy wrapping up some major e-commerce things for launch on 9/1.
there are so many things i'd have liked to have gotten done with regard to
moving the content ahead of the left and right panels in the source,
accessibility, etc. that i just didn't have time for. it's certainly a huge
improvement over previous efforts, imo.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> Now -updates- should happen as often as possible. New
> content makes people come back. New designs drive 'em
> away, often as not.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
if they're there for the content to begin with, a design change shouldn't
change that, especially if you've made the site download and render faster,
more usable, better organized, etc. in other words, a redesign shouldn't be
done simply to put a new "skin" on top of the same old thing. it should be
done in conjunction with addressing other shortcomings of the site/design.
just my 2c,
.jeff
------------------------------------------------------
Jeff Howden - Web Application Specialist
Resume - http://jeffhowden.com/about/resume/
Code Library - http://evolt.jeffhowden.com/jeff/code/
From paul at teltest.com Wed Aug 27 22:58:17 2003
From: paul at teltest.com (Paul Bennett)
Date: Thu, 28 Aug 2003 15:58:17 +1200
Subject: [thelist] PHP show first 10 words of MySQL field
In-Reply-To:
References:
Message-ID: <3F4D7DD9.4040204@teltest.com>
Austin Harris wrote:
>I have now got it working, and very simple it is to;
>
>$rest = substr("$myrow[text]", 0, 180);
> echo("$rest");
>
may I make a PHP programming suggestion?
Using variables insided double quotes is making the PHP engine do more
work than it needs to, as it needs to scan the string before processing
it to see if there are any variables inside to parse.
Also, it makes it more difficult to see where your variables are when
inside the string, as visually they look like a part of the
double-quoted string.
It is good practice to get into the habit of doing something like:
echo 'here is some text with a '.$variable.' in the middle';
less processor work, and easier to debug IMHO
just my 2cents worth
--
------------------------------
Paul Bennett
Internet Developer
Teltest Electronic Design
------------------------------
Email: paul at teltest.com
Phone: 64 4 237 4557
Web: http://www.teltest.com
Wap: http://wap.teltest.com
From paul at teltest.com Wed Aug 27 23:27:04 2003
From: paul at teltest.com (Paul Bennett)
Date: Thu, 28 Aug 2003 16:27:04 +1200
Subject: [thelist] [sql] cross join question I believe...
Message-ID: <3F4D8498.9030405@teltest.com>
Hi there,
I have 3 tables
One holds "course" information
One holds "career" information
A course can have many careers associated with it
A career can be applied to many courses
I have a table "in between" them which links entries for a course id
with entries for a career id, this way I can have a list of courses on
one hand and a list of careers on the other and have a simple key table
int the middle with references to corresponding fields for both.
a) Is this the right thing to do?
I need to then (in one query because I am LOVING joins at the moment)
get all information for a "course" and all the "careers" which are
associated with it.
I am comfortable with left joins, but how do i say "get all course
information, as well as all careers from the careers table where the
career id in the "key" table corresponds to the "course id" in the key
table?
Does that make sense?
--
------------------------------
Paul Bennett
Internet Developer
Teltest Electronic Design
------------------------------
Email: paul at teltest.com
Phone: 64 4 237 4557
Web: http://www.teltest.com
Wap: http://wap.teltest.com
From paul at teltest.com Wed Aug 27 23:34:56 2003
From: paul at teltest.com (Paul Bennett)
Date: Thu, 28 Aug 2003 16:34:56 +1200
Subject: [thelist] [sql] cross join - solved
Message-ID: <3F4D8670.5080302@teltest.com>
Solved my own question. Doh!
The query (for anyone wondering)
select
WP_courses_imported.Title
,WP_courses_imported.WeeksPerYear
,WP_courses_imported.HoursPerWeek
,WP_courses_imported.Online
,WP_courses_imported.AimDescription
,WP_courses_imported.CareerOpportunities
,WP_courses_imported.EntryCriteria
,WP_courses_imported.InternationalEntryCriteria
,WP_programme_career_key.careerKey
,WP_careers.careerName
from
WP_courses_imported
left join
WP_programme_career_key
on
(WP_courses_imported.CourseKey = WP_programme_career_key.courseKey)
left join
WP_careers
on
(WP_careers.careerKey = WP_programme_career_key.careerKey)
where
WP_courses_imported.CourseKey = 3
--
------------------------------
Paul Bennett
Internet Developer
Teltest Electronic Design
------------------------------
Email: paul at teltest.com
Phone: 64 4 237 4557
Web: http://www.teltest.com
Wap: http://wap.teltest.com
From skquinn at frogger.kicks-ass.net Wed Aug 27 23:53:22 2003
From: skquinn at frogger.kicks-ass.net (Shawn K. Quinn)
Date: Wed, 27 Aug 2003 23:53:22 -0500 (CDT)
Subject: [thelist] Web site designs that die of old age
In-Reply-To: <000901c36c0e$ea3cc920$4b83d889@sdstate.edu>
Message-ID:
On Tue, 26 Aug 2003, Minh Lee Goon wrote:
> How often should a web site be updated? I've read once somewhere that a web
> site should be redesigned every two years or so. Any links to articles would
> be much appreciated. Thanks.
Updated? As often as the information changes.
Redesigned? Anywhere from every few months to every few years or even
never. If your site is done in HTML 3.2 from 1997 then yes it's probably
time to rework it into something more modern. But if it was made two years
ago, with state of the art code for two years ago, you're probably okay
for quite a while.
--
Shawn K. Quinn
From ken at adOpenStatic.com Thu Aug 28 00:07:23 2003
From: ken at adOpenStatic.com (Ken Schaefer)
Date: Thu, 28 Aug 2003 15:07:23 +1000
Subject: [thelist] Base64 Encodng and Encryption in ASP
References:
Message-ID: <085d01c36d22$447b9010$0a345e81@careersAD.unsw.edu.au>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Og"
Subject: [thelist] Base64 Encodng and Encryption in ASP
: Hello all. I'm working with a merchant account and
: their instructions are telling me that I have to encode a
: portion of the form submission with Base64 Encryption.
: I'm using ASP and I have no idea what they are reffering
: too. Has anyone else had to do this, is it an ASP
: plugin or something?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://www.google.com.au/search?q=Base64+Encryption+with+ASP
Cheers
Ken
From jsWalter at torres.ws Thu Aug 28 00:15:19 2003
From: jsWalter at torres.ws (jsWalter)
Date: Thu, 28 Aug 2003 00:15:19 -0500
Subject: [thelist] mySql question...
Message-ID:
Is it possible to have the database automatically update a field with data
from another filed if that first field is not defined?
If I have 2 fields, f1 and f2
I do an INSERT on f1, but don't give f2 anything, I want the db to
auto-magically copy the data from f1 and insert it into f2.
Any ideas?
Thanks
Walter
From Anthony at Baratta.com Thu Aug 28 00:30:06 2003
From: Anthony at Baratta.com (Anthony Baratta)
Date: Wed, 27 Aug 2003 22:30:06 -0700
Subject: [thelist] Base64 Encodng and Encryption in ASP
In-Reply-To:
Message-ID: <5.1.0.14.2.20030827222806.04dac618@baratta.com>
At 04:03 PM 8/27/2003, Og wrote:
>Hello all. I'm working with a merchant account and their instructions are
>telling me that I have to encode a portion of the form submission with
>Base64 Encryption. I'm using ASP and I have no idea what they are
>reffering too. Has anyone else had to do this, is it an ASP plugin or
>something?. Thanks
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=Base64+ASP&btnG=Google+Search
http://www.aspsimply.com/admin/base64.asp
http://www.hotscripts.com/Detailed/5097.html
http://www.topxml.com/code/default.asp?p=3&id=v20010226235959
---
Anthony Baratta
President
Keyboard Jockeys
"Conformity is the refuge of the unimaginative."
From boris at bmannconsulting.com Thu Aug 28 00:51:04 2003
From: boris at bmannconsulting.com (Boris Mann)
Date: Thu, 28 Aug 2003 01:51:04 -0400
Subject: [thelist] Apache configuration on OSX
In-Reply-To: <7DCF715D-D8DB-11D7-8DA6-000A9567FDA6@doubtlesshouse.org.uk>
Message-ID: <9C768F9C-D91B-11D7-9EBC-000393703A62@bmannconsulting.com>
On Wednesday, August 27, 2003, at 06:12 PM, James wrote:
> FYI, Pico should not really be used as it can insert line feeds
> automatically in your file, which can mess up some configuration > stuff.
Umm, no. It doesn't insert line feeds "automatically". A line may wrap,
and a line feed might be inserted -- hit delete, and it will be back to
one line with a little $ to let you know there's more on that line.
Most config files (hey, guess what, including httpd.conf) don't have
really, really, really long lines that are likely to wrap. Like any
tool, it needs to be used properly.
> I use Vi, although I admit thats far from user friendly
Pico seems to be the easiest to just pick up and use. I think you'll
agree that for the average user, vi will be *much* scarier to use -- an
entire screen filled with ~s does not inspire confidence...
Of course, either tool is fine for basic command line text editing if
you know what you're doing. The "man" page is your friend.
--
Boris Mann
http://www.bmannconsulting.com
From evolt at magnetinternet.com Thu Aug 28 00:56:20 2003
From: evolt at magnetinternet.com (Matt King)
Date: Wed, 27 Aug 2003 22:56:20 -0700 (PDT)
Subject: [thelist] PHP show first 10 words of MySQL field
In-Reply-To:
References: <20030827153245.BB39E1DC@admin.redroom.biz>
Message-ID: <49304.66.93.174.136.1062050180.squirrel@webmail.magnetinternet.com>
> I have now got it working, and very simple it is to;
>
> $rest = substr("$myrow[text]", 0, 180);
> echo("$rest");
>
> Many thanks, Austin
But that only shows the first 180 characters. Wouldn't it look funny if
you cut off a word at the end of this string?
Here's a more elegant (but more resource taxing) solution:
$WordLimit = 20;
$Words = explode(" ",$String,$WordLimit);
array_pop($Words); // Last element contains remaining text, we don't need it
foreach ($Words as $Word)
{
echo $Word . " ";
}
--
Matt King
magnet | internet
http://www.magnetinternet.com
From lists at frankmarion.com Thu Aug 28 01:53:46 2003
From: lists at frankmarion.com (Frank)
Date: Thu, 28 Aug 2003 02:53:46 -0400
Subject: [thelist] Qmail-Inject Example?
Message-ID: <5.2.1.1.0.20030828024350.00ac2e18@mail.frankmarion.com>
Is there anyone here who is familiar with qmail (a popular MTA) and it's
associated utility qmail-inject?
I'm looking for a simple example of the usage of qmail-inject to send an
email. I want to send mime compliant emails, and can get cold fusion to
generate them for me, what I don't know how to do, and no documentation
seems to be understandable to me, is to actually send an email. I just need
to see an example.
How would I use qmail-inject to send the following?
------------------------
To: John
From: Bob
Reply-To: Bob-Home
Subject: Done my work, gone home.
John,
I've finished the report, and now I've gone home. Let me know if you agree
with the figures.
--
Bob- I'm your uncle.
------------------------
--
Frank Marion lists at frankmarion.com Keep the signal high.
From ken at adOpenStatic.com Thu Aug 28 03:06:15 2003
From: ken at adOpenStatic.com (Ken Schaefer)
Date: Thu, 28 Aug 2003 18:06:15 +1000
Subject: [thelist] [sql] cross join question I believe...
References: <3F4D8498.9030405@teltest.com>
Message-ID: <0ba001c36d3b$416ff460$0a345e81@careersAD.unsw.edu.au>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Paul Bennett"
Subject: [thelist] [sql] cross join question I believe...
: Hi there,
: I have 3 tables
: One holds "course" information
: One holds "career" information
:
: A course can have many careers associated with it
: A career can be applied to many courses
:
: I have a table "in between" them which links entries for a course id
: with entries for a career id, this way I can have a list of courses on
: one hand and a list of careers on the other and have a simple key table
: int the middle with references to corresponding fields for both.
:
: a) Is this the right thing to do?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I believe so.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: I need to then (in one query because I am LOVING joins at the moment)
: get all information for a "course" and all the "careers" which are
: associated with it.
: I am comfortable with left joins, but how do i say "get all course
: information, as well as all careers from the careers table where the
: career id in the "key" table corresponds to the "course id" in the key
: table?
:
: Does that make sense?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SELECT
a.CoursesField1,
a.CoursesField2,
a.CoursesFieldn,
c.CareersName
FROM
Courses AS a
INNER JOIN
CareersCourses AS b
ON
a.CoursesID = b.CoursesID
INNER JOIN
Careers AS c
ON
b.CareersID = c.CareersID
Cheers
Ken
From michele at blacknightsolutions.com Thu Aug 28 03:22:38 2003
From: michele at blacknightsolutions.com (Michele Neylon:: Blacknight Solutions)
Date: Thu, 28 Aug 2003 09:22:38 +0100
Subject: [thelist] Listserve Software
In-Reply-To:
Message-ID: <200308280822.h7S8MRk09631@camelot.blacknightsolutions.com>
This list uses MailMan, which is one of the most popular out there.
Mr. Michele Neylon
Blacknight Solutions
http://www.blacknightsolutions.ie/
Possibly the cheapest ie's in Ireland
Tel. +353 (0)59 9139897
Fax. +353 (0)59 9139897
> -----Original Message-----
> From: thelist-bounces at lists.evolt.org
> [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Ed McCarroll
> Sent: 28 August 2003 04:27
> To: Thelist
> Subject: [thelist] Listserve Software
>
> Does anyone care to recommend an open source listserve
> software package?
>
> The one used for this list seems to work well...
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Ed McCarroll MailTo:Ed at ComSimplicity.com
> ComSimplicity (310) 838-4330
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
>
> --
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip
> Harvester and archives of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
>
>
#########################################################
This message (and any attachment) is intended only for the
recipient and may contain confidential and/or privileged
material. If you have received this in error, please contact the
sender and delete this message immediately. Disclosure, copying
or other action taken in respect of this email or in
reliance to it is prohibited.
From khallman at wrack.org Thu Aug 28 04:28:33 2003
From: khallman at wrack.org (Kelly Hallman)
Date: Thu, 28 Aug 2003 02:28:33 -0700 (PDT)
Subject: [thelist] PHP show first 10 words of MySQL field
In-Reply-To: <3F4D7DD9.4040204@teltest.com>
Message-ID:
iOn Thu, 28 Aug 2003, Paul Bennett wrote:
> >I have now got it working, and very simple it is to;
> >$rest = substr("$myrow[text]", 0, 180);
> > echo("$rest");
>
> may I make a PHP programming suggestion? Using variables insided double
> quotes is making the PHP engine do more work than it needs to, as it
> needs to scan the string before processing it to see if there are any
> variables inside to parse.
I just did some quick benchmarks on this, and the results were
interesting. I doubted that using string/variable interpolation really
made this much of a difference (times are seconds, 50000 loops each):
$x = $test;
+ variable assignment 0.2610000000
$x = "The quick brown fox jumps over the lazy $test.";
+ normal interpolation 1.1313000000
$x = "The quick brown fox jumps over the lazy {$test}.";
+ curly interpolation 1.1362000000
$x = 'The quick brown fox jumps over the lazy '.$test.'.';
+ concatenation 0.3758000000
$x = "The quick brown fox jumps over the lazy ".$test.".";
+ concatenation double quotes 0.3742000000
Two interesting conclusions; interpolating variables within a double
quoted string seems to be 3x slower than concatenating. However, it
doesn't seem that the mere presence of the double quotes impacts the
processing time significantly, unless they contain strings to interpolate.
> It is good practice to get into the habit of doing something like:
> echo 'here is some text with a '.$variable.' in the middle';
> less processor work, and easier to debug IMHO
Each method has it's strong points. I find the concatenation method hard
to read and edit and usually opt for interpolation. However, it's good to
know that this is an area where you can trim some serious time off by
using concatenation in an intensive loop that needs optimization.
--
Kelly Hallman
http://wrack.org/
From manuel at simplelogica.net Thu Aug 28 04:49:37 2003
From: manuel at simplelogica.net (M.G. Noriega)
Date: 28 Aug 2003 11:49:37 +0200
Subject: [thelist] Average Load Time
Message-ID: <1062064180.2790.12.camel@nofx>
Hi all,
i'm tweaking the code of one of our live sites (ascomve.com) to 'bake'
the dynamic bits of the pages, rather than 'frying' them. It clearly
makes sense given that the data is not prone to change over time and it
feels stupid to hit the db each time.
Just to get an 'actual improvement' feeling, i'd like to measure the
average load time of the site pages before and after the changes. Which
app/service could i use? (win/linux)
Thanks in advance
--
Manuel Gonz?lez Noriega
Simplel?gica, construcci?n web @ http://simplelogica.net
Logicola es el weblog de Simplel?gica http://simplelogica.net/logicola/
From evolt at muinar.com Thu Aug 28 04:57:52 2003
From: evolt at muinar.com (muinar)
Date: Thu, 28 Aug 2003 11:57:52 +0200
Subject: [thelist] {Spam?} OT: Osirusoft spam list dead
In-Reply-To:
References: <20030827133846.F36615@ns2.iguanasoft.com>
Message-ID: <5.0.2.1.2.20030828115310.00a25210@mail.muinar.com>
At 03:27 28.08.03, you wrote:
>Hmmm,
>
> > Osirusoft, is dead due to dDOS attacks:
> >
> > http://slashdot.org/articles/03/08/27/0214238.shtml?tid=111&tid=126
>
>AOL recently started rejecting email from one, but not all, of my
>addresses. I wonder if this could be related...
I wonder why 'Servers using these lists are currently rejecting ALL
email' like mentioned in above article - Are spam detection services
really set up as bad as that?
Mike
From angello at post.cz Thu Aug 28 05:14:11 2003
From: angello at post.cz (angello)
Date: Thu, 28 Aug 2003 12:14:11 +0200
Subject: [thelist] PHP show first 10 words of MySQL field
In-Reply-To:
References:
Message-ID: <3F4DD5F3.7090902@post.cz>
if you want to do in SQL:
SELECT blobfield AS wholefield, SUBSTRING(blobfield, 1, LOCATE('
',blobfield,'200')) AS shortfield
FROM table WHERE ....
finds first 'space' after 200 character and return it as a new field.
angello
Austin Harris wrote:
>Sorry for the poor title but I am not sure how to describe what I want to do
>concisely...
>
>I have a text field in a db and want to show on one page just the first 20
>words, (more or less) of that field before putting a "view more" link.
>
>Being relatively new to PHP I am not sure what sort of function I need to
>use, searching is tricky without being able to state the problem concisely!
>
>I am guessing I want to count the words, (or characters) and set a cut off
>limit.
>
>All help very much appreciated.
>
>Austin
>
>
>
From evolt at brasscannon.net Thu Aug 28 05:37:40 2003
From: evolt at brasscannon.net (Kevin Martin)
Date: Thu, 28 Aug 2003 06:37:40 -0400
Subject: [thelist] {Spam?} OT: Osirusoft spam list dead
In-Reply-To: <20030828081121.612321A922@brasscannon.net>;
from thelist-request@lists.evolt.org on Thu, Aug 28, 2003 at 04:11:21AM -0400
References: <20030828081121.612321A922@brasscannon.net>
Message-ID: <20030828063740.B5700@howie.kebm.com>
Quoth "Ed McCarroll"
>
> AOL recently started rejecting email from one, but not all, of my
> addresses. I wonder if this could be related...
If 'recently' goes back a week or more, no. They HAVE tightened up
their rules to require "reverse DNS" and that is very likely to be
your problem. If you try to look up the IP address of the server
that is actually sending mail for that account, and you don't get
back a name, you don't have "rDNS" and that makes it a poor choice
for a (mail)server as things currently stand. HTH!
From evolt at brasscannon.net Thu Aug 28 05:43:53 2003
From: evolt at brasscannon.net (Kevin Martin)
Date: Thu, 28 Aug 2003 06:43:53 -0400
Subject: [thelist] Apache configuration on OSX
In-Reply-To: <20030828081121.612321A922@brasscannon.net>;
from thelist-request@lists.evolt.org on Thu, Aug 28, 2003 at 04:11:21AM -0400
References: <20030828081121.612321A922@brasscannon.net>
Message-ID: <20030828064353.C5700@howie.kebm.com>
Quoth James
> > sudo pico /etc/httpd/httpd.conf
>
> FYI, Pico should not really be used as it can insert line feeds
> automatically in your file, which can mess up some configuration stuff.
Using 'pico -w' largely removes that concern. One can still
mess up, but if so it's more clearly the fault of the person
typing. And of course you want to check the syntax with
httpd -t (aka 'apachectl configtest') before you stop the
server, only to find that it doesn't want to restart!
> I use Vi, although I admit thats far from user friendly
Oh, yes. My secret shame is that I only use vi when it is
_forced_ on me. ("All of the other admins, always laugh and
call me names....") I _can_ use it, but I never _enjoy_ it.
From john at evolt.org.uk Thu Aug 28 06:08:18 2003
From: john at evolt.org.uk (John Handelaar)
Date: Thu, 28 Aug 2003 12:08:18 +0100
Subject: [thelist] Qmail-Inject Example?
In-Reply-To: <5.2.1.1.0.20030828024350.00ac2e18@mail.frankmarion.com>
Message-ID:
> -----Original Message-----
> From: thelist-bounces at lists.evolt.org
> [mailto:thelist-bounces at lists.evolt.org]On Behalf Of Frank
> Sent: 28 August 2003 07:54
> To: thelist at lists.evolt.org
> Subject: [thelist] Qmail-Inject Example?
>
> Is there anyone here who is familiar with qmail (a popular MTA) and it's
> associated utility qmail-inject?
It's a drop-in replacement for /usr/bin/sendmail -
no other trickery should be required.
jh
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003
From rudy937 at rogers.com Thu Aug 28 06:36:15 2003
From: rudy937 at rogers.com (rudy)
Date: Thu, 28 Aug 2003 07:36:15 -0400
Subject: [thelist] mySql question...
References:
Message-ID: <002b01c36d59$56a72f60$52639c18@r9373j4yqbe8dy>
> I do an INSERT on f1, but don't give f2 anything, I want the db to
> auto-magically copy the data from f1 and insert it into f2.
no, not possible, not exactly like that
heck, in mysql, you cannot even use a function as a default...
"Default values must be constants. This means, for example, that
you cannot set the default for a date column to be the value of a
function such as NOW() or CURRENT_DATE."
however, all is not lost
the first solution is to actually give f2 the value of f1
thus, when you insert, and you know you're not going to have a value for f2,
just give it the value you gave f1
insert into yourtable (f1, f2) values ('foo', f2)
this is, i believe, non-standard syntax
the standard way would be
insert into yourtable (f1, f2) values ('foo', 'foo')
another solution is simply to let the field go null if you do not provide a
value
insert into yourtable (f1) values ('foo')
then when you query it, use coalesce
select f1, coalesce(f2, f1) as f1value ...
this means if f2 is null, you'll get the f1 value, unless of course it too
is null, in which case you'll get null
rudy
From ken at adOpenStatic.com Thu Aug 28 06:54:10 2003
From: ken at adOpenStatic.com (Ken Schaefer)
Date: Thu, 28 Aug 2003 21:54:10 +1000
Subject: [thelist] Average Load Time
References: <1062064180.2790.12.camel@nofx>
Message-ID: <004801c36d5b$1b671da0$9700a8c0@careersAD.unsw.edu.au>
Do you want to test it under load?
If so (for Windows client machines):
http://www.microsoft.com/downloads/details.aspx?FamilyID=e2c0585a-062a-439e-a67d-75a89aa36495&displaylang=en
MS Web Application Stress Tool
Gives you lots of information about your app - and you can't beat the price
:-)
Cheers
Ken
----- Original Message -----
From: "M.G. Noriega"
To:
Sent: Thursday, August 28, 2003 7:49 PM
Subject: [thelist] Average Load Time
Hi all,
i'm tweaking the code of one of our live sites (ascomve.com) to 'bake'
the dynamic bits of the pages, rather than 'frying' them. It clearly
makes sense given that the data is not prone to change over time and it
feels stupid to hit the db each time.
Just to get an 'actual improvement' feeling, i'd like to measure the
average load time of the site pages before and after the changes. Which
app/service could i use? (win/linux)
Thanks in advance
From nansmith at heritageconcord.org Thu Aug 28 07:02:54 2003
From: nansmith at heritageconcord.org (Nan Harbison)
Date: Thu, 28 Aug 2003 08:02:54 -0400
Subject: [thelist] JavaScript included file question
In-Reply-To:
Message-ID:
Gurus,
I am looking at a web application, which I did not create,
I am just giving my opinion on this mess. The index page
calls a file called javascript.inc. This is all that is in
this file (watch the wrap):
This application uses PHP (obviously) and PEAR, and there
is only one other include statement on this page, which is
to a CSS file. There is another file on this site that has
the statement:
$incJavaScript = STR_GLOBAL_JAVASCRIPT;
and a global setting page has this:
define("STR_GLOBAL_JAVASCRIPT",
WS_PATH.'include/global_javascript.js');
Can someone tell me what the point of this is? It seems
like a rather round-about way to call an included file.
TIA,
Nan
From wes at pmason.karoo.co.uk Thu Aug 28 07:12:03 2003
From: wes at pmason.karoo.co.uk (Wesley Mason)
Date: Thu, 28 Aug 2003 13:12:03 +0100
Subject: [thelist] PHP show first 10 words of MySQL field
In-Reply-To: <49304.66.93.174.136.1062050180.squirrel@webmail.magnetinternet.com>
References: <20030827153245.BB39E1DC@admin.redroom.biz>
<49304.66.93.174.136.1062050180.squirrel@webmail.magnetinternet.com>
Message-ID: <3F4DF193.1040400@pmason.karoo.co.uk>
Try:
http://www.evilwalrus.com/viewcode.php?codeEx=427
-
Wes
(from work)
Matt King wrote:
>>I have now got it working, and very simple it is to;
>>
>>$rest = substr("$myrow[text]", 0, 180);
>> echo("$rest");
>>
>>Many thanks, Austin
>
>
> But that only shows the first 180 characters. Wouldn't it look funny if
> you cut off a word at the end of this string?
>
> Here's a more elegant (but more resource taxing) solution:
>
> $WordLimit = 20;
> $Words = explode(" ",$String,$WordLimit);
> array_pop($Words); // Last element contains remaining text, we don't need it
>
> foreach ($Words as $Word)
> {
> echo $Word . " ";
> }
>
From chris at ecleanuk.com Thu Aug 28 07:44:32 2003
From: chris at ecleanuk.com (Chris Marsh)
Date: Thu, 28 Aug 2003 13:44:32 +0100
Subject: [thelist] JavaScript included file question
In-Reply-To:
Message-ID: <000701c36d62$2101e220$0200a8c0@winsvr200301>
Nan
[..]
> and a global setting page has this:
> define("STR_GLOBAL_JAVASCRIPT",
> WS_PATH.'include/global_javascript.js');
>
> Can someone tell me what the point of this is? It seems
> like a rather round-about way to call an included file.
This centralises the reference to the .js file. If the site
administrator wishes to include a different file, then they need only
change a single value for this to be reflected site-wide.
Regards
Chris Marsh
From mailing.lists at creed.co.uk Thu Aug 28 08:12:32 2003
From: mailing.lists at creed.co.uk (Andy Warwick)
Date: Thu, 28 Aug 2003 14:12:32 +0100
Subject: [thelist] Watching a domain name for expiry?
Message-ID: <48B56F03-D959-11D7-9693-000A959F2F8E@creed.co.uk>
Hi
Wonder if anyone can recommend a service/piece of software to keep on
eye on a domain that I'd like to register, is currently due for expiry,
and currently doesn't go anywhere except one of those search engine
holding pages.
Ideally I'd like it to alert me as soon as the domain in question
becomes available, so I can get in there quickly and register it though
my current ISP.
I'm aware I could approach the current holder, but I'd rather take my
chances once it is 'back in the pool', rather than alert him/her it's
wanted and thus boost its value.
Note that this is a single domain I have a valid interest in, and is
not for grabbing multiple domains to 'squat' on.
TIA
--
Andy Warwick
Creed New Media Design
w: http://www.creed.co.uk
From rob.smith at THERMON.com Thu Aug 28 08:10:38 2003
From: rob.smith at THERMON.com (Rob Smith)
Date: Thu, 28 Aug 2003 08:10:38 -0500
Subject: [thelist] Looping Psuedocode
Message-ID: <0CEC8258A6E4D611BE5400306E1CC9271E4EAE@smtmb.tmc.local>
Hi,
I've struggled with this for quite some time now and still haven't found the
best approach to this. Basically I want to see some Psuedocode that solves:
from :: to ::
Item A Item A
Item A Item B
Item A Item C
Item B
Item B
Item B
Item B
Item C
Item C
Thanks
Rob.Smith
From mspiegler at lightbulbpress.com Thu Aug 28 08:30:00 2003
From: mspiegler at lightbulbpress.com (matt s.)
Date: Thu, 28 Aug 2003 09:30:00 -0400
Subject: [thelist] Web site designs that die of old age
References: <000901c36c0e$ea3cc920$4b83d889@sdstate.edu>
<1062018261.25950.1.camel@mizar.nbtsc.org>
Message-ID: <3F4E03D7.20F556B2@lightbulbpress.com>
Aredridel wrote:
> Now -updates- should happen as often as possible. New content makes
> people come back. New designs drive 'em away, often as not.
It all comes down to audience. If your target market is the 65+ crowd, they're
not gonna care about design, as long as they can get done what they need to when
they come to the site. New design might annoy them, and they wont want to deal
with adapting to a new interface just so they can use the site. On the other
hand, if your target market is the 18-and-under crowd, OLD design will scare them
away, or just bore them away.
.m
From seyon at delime.com Thu Aug 28 08:46:13 2003
From: seyon at delime.com (Marc Seyon)
Date: Thu, 28 Aug 2003 09:46:13 -0400
Subject: [thelist] mySql question...
In-Reply-To:
Message-ID: <4.2.0.58.20030828094351.021bd238@mail.delime.com>
Message from jsWalter (8/28/2003 12:15 AM)
>If I have 2 fields, f1 and f2
>
>I do an INSERT on f1, but don't give f2 anything, I want the db to
>auto-magically copy the data from f1 and insert it into f2.
>
>Any ideas?
If I understand what you're trying to do, a simple conditional clause
should work for you. When validating your form data check whether f2 is
blank. If it is, make f2 = f1. Then proceed with your sql as usual.
regards.
-marc
--
Carnival 2003 in all its photographic glory. Playyuhself.com
http://www.playyuhself.com/
From evolt at brasscannon.net Thu Aug 28 08:59:13 2003
From: evolt at brasscannon.net (Kevin Martin)
Date: Thu, 28 Aug 2003 09:59:13 -0400
Subject: [thelist] {Spam?} OT: Osirusoft spam list dead
In-Reply-To: <20030828115959.568141A932@brasscannon.net>;
from thelist-request@lists.evolt.org on Thu, Aug 28, 2003 at 07:59:59AM -0400
References: <20030828115959.568141A932@brasscannon.net>
Message-ID: <20030828095913.B6239@howie.kebm.com>
Quoth muinar
> I wonder why 'Servers using these lists are currently rejecting ALL
> email' like mentioned in above article - Are spam detection services
> really set up as bad as that?
Long story short, the admin responsible for that list had to
get people to stop querying it IMMEDIATELY. This sort of thing
has happened before; the list in that situation failed in the
other direction (approve everything), and people kept sending
queries YEARS after they were supposed to stop. The only way
to force the issue was to make the list utterly and completely
unusable, as in 'if you use this list, you will reject everything.'
It was a train wreck, but it did get people to stop sending
queries.
From nadeem at essex.ac.uk Thu Aug 28 09:01:30 2003
From: nadeem at essex.ac.uk (Ahmad, Nadeem)
Date: Thu, 28 Aug 2003 15:01:30 +0100
Subject: [thelist] Watching a domain name for expiry?
Message-ID: <7AC902A40BEDD411A3A800D0B7847B6611A4DA03@sernt14.essex.ac.uk>
> Wonder if anyone can recommend a service/piece of software to keep on
> eye on a domain that I'd like to register, is currently due for
> expiry, and currently doesn't go anywhere except one of those search
> engine holding pages.
I've used www.snapnames.com Snapback service before for com/net/org and
been recommended www.detagged.co.uk for uk names before
Nadeem
From ken at adOpenStatic.com Thu Aug 28 09:10:19 2003
From: ken at adOpenStatic.com (Ken Schaefer)
Date: Fri, 29 Aug 2003 00:10:19 +1000
Subject: [thelist] Looping Psuedocode
References: <0CEC8258A6E4D611BE5400306E1CC9271E4EAE@smtmb.tmc.local>
Message-ID: <044201c36d6e$20287ba0$9700a8c0@careersAD.unsw.edu.au>
Do you want a generic algorithm? Or do you have access to specific
technologies?
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Rob Smith"
Subject: [thelist] Looping Psuedocode
: I've struggled with this for quite some time now and still
: haven't found the best approach to this. Basically I want to see
: some Psuedocode that solves:
:
: from :: to ::
: Item A Item A
: Item A Item B
: Item A Item C
: Item B
: Item B
: Item B
: Item B
: Item C
: Item C
:
: Thanks
From sam at sam-i-am.com Thu Aug 28 09:08:02 2003
From: sam at sam-i-am.com (Sam)
Date: Thu, 28 Aug 2003 09:08:02 -0500
Subject: [thelist] Large expandable tree
In-Reply-To: <007c01c36cc4$65ccdb60$0200000a@hershel>
References: <007c01c36cc4$65ccdb60$0200000a@hershel>
Message-ID: <3F4E0CC2.2090307@sam-i-am.com>
I was faced with exactly the same problem recently.
Ultimately we ended up making the tree entirley on the server-side. But
I looked into some options like using some remote scripting to load tree
nodes on demand (I would load the first level, and the immediate
children. The onclick fired a function to load in the grandchildren in a
hidden iframe and copy the relevant innerHTML over to the srcElement
(rather than grabbing the nodes individually and formatting them I was
able to reuse an existing template to get the markup I needed).
My prototype was looking good, but at the time the servlet relied on a
one to one mapping of page to template so I couldn't generate the pared
down navigation-only hidden content I needed.
Your success with this approach will depend on the nature of the tree -
it works well for a deeply nested tree, but the perfomance gain is not
so good for a large, shallow tree. It really helps if your markup comes
through as nested elements to mirror the tree structure, rather than
just ID-ing them or something and producing one big flat list of
elements. Then you can leverage the built in DOM methods to manage the
children.
(this node tree business gives rise to the most contorted mixed
metaphors dont you find?)
I'd be happy to compare notes.
Sam
Hershel Robinson wrote:
>
> Everything works well, but now our trees are growing larger and the time to
> build the tree is growing too large. This is not terribly surprising, given
> the nature of the code and how it processes the array. When we first built
> the page, I was not aware that our trees might grow so large. :)
From mikek at brightstorm.co.uk Thu Aug 28 09:11:58 2003
From: mikek at brightstorm.co.uk (mike karthauser)
Date: Thu, 28 Aug 2003 15:11:58 +0100
Subject: [thelist] Looping Psuedocode
In-Reply-To: <0CEC8258A6E4D611BE5400306E1CC9271E4EAE@smtmb.tmc.local>
Message-ID:
on 28/8/03 2:10 pm, Rob Smith at rob.smith at THERMON.com wrote:
> Hi,
>
> I've struggled with this for quite some time now and still haven't found the
> best approach to this. Basically I want to see some Psuedocode that solves:
>
> from :: to ::
> Item A Item A
> Item A Item B
> Item A Item C
> Item B
> Item B
> Item B
> Item B
> Item C
> Item C
If this is a select statement you'll just need to add DISTINCT to your
query.
--
Mike Karthauser
Managing Director - Brightstorm Ltd
Email >> mikek at brightstorm.co.uk
Web >> http://www.brightstorm.co.uk
Tel >> 0117 9426653 (office)
07939 252144 (mobile)
Snailmail >> Unit 8, 14 King Square,
Bristol BS2 8JJ
From ETarun at blr.cognizant.com Thu Aug 28 09:12:43 2003
From: ETarun at blr.cognizant.com (Elankath, Tarun (Cognizant))
Date: Thu, 28 Aug 2003 19:42:43 +0530
Subject: [thelist] Looping Psuedocode
Message-ID:
And what types are the Items ? Are they heterogenous collections of values ? Strings ? Integers ?
Do the duplicate values always occur consecutively like you have mentioned ?
I mean can one have:
Item A
Item B
Item A
Item B
Item C
Item C
Lots of Q's,
Tarun
-----Original Message-----
From: Rob Smith [mailto:rob.smith at THERMON.com]
Sent: Thursday, August 28, 2003 6:41 PM
To: Thelist (E-mail)
Subject: [thelist] Looping Psuedocode
Hi,
I've struggled with this for quite some time now and still haven't found the
best approach to this. Basically I want to see some Psuedocode that solves:
from :: to ::
Item A Item A
Item A Item B
Item A Item C
Item B
Item B
Item B
Item B
Item C
Item C
Thanks
Rob.Smith
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: InterScan_Disclaimer.txt
URL:
From dougal at gunters.org Thu Aug 28 09:12:59 2003
From: dougal at gunters.org (Dougal Campbell)
Date: Thu, 28 Aug 2003 09:12:59 -0500 (CDT)
Subject: [thelist] {Spam?} OT: Osirusoft spam list dead
In-Reply-To: <5.0.2.1.2.20030828115310.00a25210@mail.muinar.com>
References: <20030827133846.F36615@ns2.iguanasoft.com>
<5.0.2.1.2.20030828115310.00a25210@mail.muinar.com>
Message-ID: <20030828084651.L36615@ns2.iguanasoft.com>
On Thu, 28 Aug 2003, muinar wrote:
> At 03:27 28.08.03, you wrote:
> >Hmmm,
> >
> > > Osirusoft, is dead due to dDOS attacks:
> > >
> > > http://slashdot.org/articles/03/08/27/0214238.shtml?tid=111&tid=126
> >
> >AOL recently started rejecting email from one, but not all, of my
> >addresses. I wonder if this could be related...
>
> I wonder why 'Servers using these lists are currently rejecting ALL
> email' like mentioned in above article - Are spam detection services
> really set up as bad as that?
Not all. But some are. My server uses SpamAssassin to tag suspected
spam, and I use the SpamBouncer procmail rules, plus my own set of
whitelist rules, to categorize messages. When the Osirusoft rbls went
down, a *lot* of my incoming mail started getting tagged as spam.
Fortunately, my whitelists kept things from getting chaotic.
Also, fortunately, SpamAssassin uses multiple rules in a scoring system
to decide the "spamminess" of a message. But some systems will send
messages to the spam-can on the basis of a single test. Not good.
I can't say I'm happy with the way the Osirusoft maintainers handled
this, either. They set their servers to return '127.0.0.2' for all
lookups, which is the return value given server is considered a spam
source. They should have either configured it to return '127.0.0.1', or
just shut it down in whatever state it was at the time.
--
Ernest MacDougal Campbell III, MCP+I, MCSE
http://dougal.gunters.org/ http://spam.gunters.org/
Web Design & Development: http://www.mentalcollective.com/
This message is guaranteed to be 100% eror frea!
From shortestpath at yahoo.com Thu Aug 28 09:16:18 2003
From: shortestpath at yahoo.com (shortestpath)
Date: Thu, 28 Aug 2003 07:16:18 -0700 (PDT)
Subject: [thelist] Looping Psuedocode
In-Reply-To: <0CEC8258A6E4D611BE5400306E1CC9271E4EAE@smtmb.tmc.local>
Message-ID: <20030828141618.74668.qmail@web41114.mail.yahoo.com>
what are these items contained in? xml? an array?
--- Rob Smith wrote:
Hi,
I've struggled with this for quite some time now and still haven't
found the
best approach to this. Basically I want to see some Psuedocode that
solves:
from :: to ::
Item A Item A
Item A Item B
Item A Item C
Item B
Item B
Item B
Item B
Item C
Item C
Thanks
Rob.Smith
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
From barnabas311 at yahoo.com Thu Aug 28 09:23:30 2003
From: barnabas311 at yahoo.com (Arthur Cundy)
Date: Thu, 28 Aug 2003 07:23:30 -0700 (PDT)
Subject: [thelist] Web Design News and Resources
In-Reply-To: <007c01c36cc4$65ccdb60$0200000a@hershel>
Message-ID: <20030828142330.18914.qmail@web11507.mail.yahoo.com>
mode:arcane is a personal weblog as well as a portal for news, resources, tips, and articles focusing on web/graphic design, online marketing, search engine optimization and freelancing. Sign up for the newsletter for more information and updates.
http://modearcane.shorturl.com/
Arthur Cundy
Creative Director
mode:arcane
http://www.natashasworld.com/~arthur
3eleven digital media
http://3e.does.it
-----------------------------------------------
Get Paid to Read email!
http://go.readclick.com/refid.cgi?refid=118894
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
From ETarun at blr.cognizant.com Thu Aug 28 09:24:39 2003
From: ETarun at blr.cognizant.com (Elankath, Tarun (Cognizant))
Date: Thu, 28 Aug 2003 19:54:39 +0530
Subject: [thelist] Large expandable tree
Message-ID:
There's a tree implementation at http://webfx.eae.net
which builds tree nodes dynamically by obtaining xml content from the server.
I have used this widget and customized it for one of our companies intranet web-sites, where the xml content is dynamically generated by a server side script.
The implementation works on NS6, NS7 (all Mozilla compatible browsers), IE5 and IE6, since it makes use the XmlHttpRequest object which is supported as an ActiveX control on IE and as a native JS object in NS/Mozilla
-----Original Message-----
From: Hershel Robinson [mailto:hershelr at netvision.net.il]
Sent: Wednesday, August 27, 2003 11:22 PM
To: 'Thelist (E-mail)'
Subject: [thelist] Large expandable tree
I have a page which shows an expandable/collapsible tree of nodes. The
server prints out the nodes in a JavaScript array and the client side code
builds the tree.
I am using a modified version of the tree code found here:
www.destroydrop.com/hugi/javascript/tree/
Everything works well, but now our trees are growing larger and the time to
build the tree is growing too large. This is not terribly surprising, given
the nature of the code and how it processes the array. When we first built
the page, I was not aware that our trees might grow so large. :)
The boss says that a 1500 node tree takes 2 minutes to build and we may soon
be seeing 6K nodes.
I am thus looking for suggestions for a better solution to this
tree-building business. I have examined several different approaches,
including those which print out the entire tree using a series of nested
tags or a series of nested tags. I am wondering, however, if 6K
nodes (and maybe more) is a bit much even for these methods.
The MSDN Library tree code in the left pane loads in branches of the tree on
request. This is an interesting solution. Their particular implementation is
apparently somewhat lacking in documentation. I have not located anything on
it, nor has a certain forum which I visited.
If anyone has any suggestions as to how to handle this task, I would
appreciate the input.
Thank you,
Hershel
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: InterScan_Disclaimer.txt
URL:
From damiencola at wanadoo.fr Thu Aug 28 09:25:40 2003
From: damiencola at wanadoo.fr (Damien COLA)
Date: Thu, 28 Aug 2003 16:25:40 +0200
Subject: [thelist] Looping Psuedocode
In-Reply-To: <0CEC8258A6E4D611BE5400306E1CC9271E4EAE@smtmb.tmc.local>
Message-ID: <000001c36d70$42952060$a000a8c0@ELECTRA>
for(i=0, l=length(fromlist); i
References: <0CEC8258A6E4D611BE5400306E1CC9271E4EAE@smtmb.tmc.local>
Message-ID: <20030828144501.GA953@box.demon.co.uk>
On Thu, Aug 28, 2003 at 08:10:38AM -0500, Rob Smith wrote:
> Hi,
>
> I've struggled with this for quite some time now and still haven't found the
> best approach to this. Basically I want to see some Psuedocode that solves:
>
> from :: to ::
> Item A Item A
> Item A Item B
> Item A Item C
> Item B
> Item B
> Item B
> Item B
> Item C
> Item C
PreviousElement = InvalidElement;
For A in OriginalList
If A != InvalidElement
Store/Print A;
PreviousElement = A;
End For
>
> Thanks
>
> Rob.Smith
>
> --
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
--
S
--
No one can understand the truth until he drinks of coffee's frothy goodness
From lists at frankmarion.com Thu Aug 28 10:11:41 2003
From: lists at frankmarion.com (Frank)
Date: Thu, 28 Aug 2003 11:11:41 -0400
Subject: [thelist] Qmail-Inject Example?
In-Reply-To:
References: <5.2.1.1.0.20030828024350.00ac2e18@mail.frankmarion.com>
Message-ID: <5.2.1.1.0.20030828111049.03899eb0@127.0.0.1>
At 12:08 PM 2003-08-28 +0100, you wrote:
>It's a drop-in replacement for /usr/bin/sendmail -
>no other trickery should be required.
I'm a newbie at this stuff. Are you telling me that I should be looking up
how sendmail does this to see an example?
--
Frank Marion lists at frankmarion.com Keep the signal high.
From joshua at waetech.com Thu Aug 28 10:16:23 2003
From: joshua at waetech.com (Joshua Olson)
Date: Thu, 28 Aug 2003 11:16:23 -0400
Subject: [thelist] relays.Osirusoft.com down?
Message-ID: <004201c36d77$57ea8930$0300a8c0@client1>
Hi everybody,
I was told today that people couldn't email my server. A quick check
revealed that my server was rejecting mail because it was checking
relays.osirusoft.com for known spam servers and that it was unavailable. I
checked a couple places and it does indeed seem to be down. Can anybody
else confirm this?
Thanks.
<><><><><><><><><><>
Joshua Olson
Web Application Engineer
WAE Tech Inc.
http://www.waetech.com
706.210.0168
From rob.smith at THERMON.com Thu Aug 28 10:32:33 2003
From: rob.smith at THERMON.com (Rob Smith)
Date: Thu, 28 Aug 2003 10:32:33 -0500
Subject: [thelist] Looping Psuedocode
Message-ID: <0CEC8258A6E4D611BE5400306E1CC9271E4EB0@smtmb.tmc.local>
Hmm.. I thought this would be a simple.
Ok, these are numbers. I cannot use the DISTINCT because I still need to
reference my original information of all the "Items" (RecordSet). I just
need to hide the duplicates or non-unique values until later.
This is what I was going after..
<%
dim oldArray()
dim rcount
rcount = -1
prodResult.movefirst
while not prodResult.eof
rcount = rcount + 1
redim preserve oldArray(rcount)
oldArray(rcount) =
prodResult.fields.item("ProductFamily").value
prodResult.movenext
wend
dim newArray()
eCount = -1
for each oldElement in oldArray
eCount = eCount + 1
redim preserve newArray(eCount)
uniqueElement = true
for each newElement in newArray
if newElement = oldElement then
uniqueElement = false
exit for
end if
next
if uniqueElement then
newArray(eCount) = oldElement
else
eCount = eCount - 1
end if
next
'for x = 0 to eCount
' oldArray (x) = newArray(x)
'next
for x = 0 to ubound(newArray)-1
if newArray(x) = family then
response.write("
" & newArray(x) &
"
")
else
response.write("
" & newArray(x) &
"
")
end if
if newArray(x) = family then
while not prodFamily.eof
response.write("
" &
prodFamily.fields.item("Description").value & "
")
prodFamily.movenext
wend
end if
next
%>
and it does what I need it to do which is:
original data:
Show A Show A Show A
Show A_1 to Show B then Show A_1
Show A_2 Show C once Show A_2
Show A_3 clicked Show A_3
Show B A Show B
Show B_1 Show C
Show B_2
Show B_3
Show C
Show C_1
Show C_2
Show C_3
So if anyone can use this later, feel free to.
Rob.Smith
From cs1spw at bath.ac.uk Thu Aug 28 10:42:20 2003
From: cs1spw at bath.ac.uk (Simon Willison)
Date: Thu, 28 Aug 2003 10:42:20 -0500
Subject: [thelist] Base64 Encodng and Encryption in ASP
In-Reply-To:
References:
Message-ID: <3F4E22DC.2020407@bath.ac.uk>
Og wrote:
> Hello all. I'm working with a merchant account and their instructions
> are telling me that I have to encode a portion of the form submission
> with Base64 Encryption.
Alarm bells are ringing: Base64 is NOT an encryption scheme. It is a
useful way for encoding binary content as ascii - for example, it's used
to send binary attachments by email - but it provides absolutely no
additional security as anyone who knows the algorithm can decode it. I
sincerely hope this merchant account has more "security" than just base64!
Best regards,
Simon Willison
From Anthony at Baratta.com Thu Aug 28 10:45:01 2003
From: Anthony at Baratta.com (Anthony Baratta)
Date: Thu, 28 Aug 2003 08:45:01 -0700
Subject: [thelist] Watching a domain name for expiry?
In-Reply-To: <48B56F03-D959-11D7-9693-000A959F2F8E@creed.co.uk>
Message-ID: <5.1.0.14.2.20030828083756.026a00b8@baratta.com>
At 06:12 AM 8/28/2003, Andy Warwick wrote:
>Wonder if anyone can recommend a service/piece of software to keep on eye
>on a domain that I'd like to register, is currently due for expiry, and
>currently doesn't go anywhere except one of those search engine holding pages.
Andy...
If you try this as a manual process you will fail. There are hundreds
(thousands?) of domain speculators using automated systems that will grab
the domain _literally_ the instant it is available. Trying to use the
system manually will only get you frustrated.
I've had a few people recommend: http://www.snapnames.com/
They have a good explanation of how a domain expires here:
http://www.snapnames.com/deleteprocess.html
There are other services like this, poke around and find one you like.
Good Luck.
---
Anthony Baratta
President
Keyboard Jockeys
"Conformity is the refuge of the unimaginative."
From sbeam at syxyz.net Thu Aug 28 10:46:33 2003
From: sbeam at syxyz.net (SBeam)
Date: Thu, 28 Aug 2003 11:46:33 -0400
Subject: [thelist] set a:hover props from JS
Message-ID: <200308281146.33922.sbeam@syxyz.net>
Anyone know if and how one can set the a:hover Style properties from JS? there
does not seem to be anything like that in the spec
http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/ecma-script-binding.html
I want to do
document.getElementById('foo').style.backgroundColorHover = 'red';
but is there a property for that?
annoyingly, when I set the backgroundColor for a element, it seems to
override the a:hover background which was set in the CSS. This happens on IE6
and Moz. So I am looking for a workaround.
thx
-S
From Anthony at Baratta.com Thu Aug 28 10:48:01 2003
From: Anthony at Baratta.com (Anthony Baratta)
Date: Thu, 28 Aug 2003 08:48:01 -0700
Subject: [thelist] Looping Psuedocode
In-Reply-To: <0CEC8258A6E4D611BE5400306E1CC9271E4EAE@smtmb.tmc.local>
Message-ID: <5.1.0.14.2.20030828084558.026a04a8@baratta.com>
At 06:10 AM 8/28/2003, Rob Smith wrote:
>Hi,
>
>I've struggled with this for quite some time now and still haven't found the
>best approach to this. Basically I want to see some Psuedocode that solves:
>
> from :: to ::
> Item A Item A
> Item A Item B
> Item A Item C
> Item B
> Item B
> Item B
> Item B
> Item C
> Item C
How's this??
$Temp = ""
for each $Item in @List
if $Temp != $Item
print $Item
$Temp = $Item
end if
next
---
Anthony Baratta
President
Keyboard Jockeys
"Conformity is the refuge of the unimaginative."
From damiencola at wanadoo.fr Thu Aug 28 10:48:56 2003
From: damiencola at wanadoo.fr (Damien COLA)
Date: Thu, 28 Aug 2003 17:48:56 +0200
Subject: [thelist] Looping Psuedocode
In-Reply-To: <20030828141618.74668.qmail@web41114.mail.yahoo.com>
Message-ID: <000901c36d7b$e4246020$a000a8c0@ELECTRA>
it's pseudo code, length(), findPos() and add() are imaginary functions
that do what they mean. findPos returns the position of the argument in
the list, if found, if not found it return FALSE.
for(i=0, l=fromlist.length(); i
References: <0CEC8258A6E4D611BE5400306E1CC9271E4EAE@smtmb.tmc.local>
Message-ID: <3F4E253A.50908@bath.ac.uk>
Rob Smith wrote:
> Hi,
>
> I've struggled with this for quite some time now and still haven't found the
> best approach to this. Basically I want to see some Psuedocode that solves:
>
> from :: to ::
> Item A Item A
> Item A Item B
> Item A Item C
> Item B
> Item B
> Item B
> Item B
> Item C
> Item C
The answer to this very much depends on what technology you are using -
PHP for example has a built in function to do this. As pseudo code
(actually Python which is close enough) here's how I would do it:
fromArray = ['a', 'a', 'a', 'b', 'b', 'b', 'c', 'c']
toArray = [] # An empty array
for item in fromArray:
if item not in toArray:
toArray.append(item)
Donning my computer scientist hat for a moment (algorithm complexity
isn't a strong point of mine) I'd say that has at most quadratic
complexity, which is pretty poor. Off the top of my head though I can't
think of a better algorithm. For small data sets it should work fine though.
Cheers,
Simon Willison
http://simon.incutio.com/
From Tab.Alleman at MetroGuide.com Thu Aug 28 10:59:29 2003
From: Tab.Alleman at MetroGuide.com (Tab Alleman)
Date: Thu, 28 Aug 2003 11:59:29 -0400
Subject: [thelist] Looping Psuedocode
Message-ID:
shortestpath wrote:
> Basically I want to see some Psuedocode that
> solves:
>
> from :: to ::
> Item A Item A
> Item A Item B
> Item A Item C
> Item B
> Item B
> Item B
> Item B
> Item C
> Item C
A generic looping solution I've used:
SET varOldValue = SomeValueThatCannotAppearInTheList
FOR EACH Item IN TheList
Set varNewValue = ThisItemValue
IF varNewValue <> varOldValue THEN
(This is a new item...write it or whatever)
Set varOldValue = varNewValue
END IF
NEXT Item
HTH,
Tab
From leslytollis at dimensions-corporatewear.co.uk Thu Aug 28 10:57:57 2003
From: leslytollis at dimensions-corporatewear.co.uk (Les Lytollis)
Date: Thu, 28 Aug 2003 16:57:57 +0100
Subject: [thelist] Querying a legacy app
Message-ID: <01D68BC74179BF40A96146C6548AFB8AE0A4B6@casexc01.dimensions.co.uk>
Hi guys
Been away from the list for a while - back now, with a new job...and new
questions;)
I am implementing a .NET B2B web-based ordering system which will get
its data from a Progress DB on AIX fronted by a bespoke SOP system. For
a number of reasons, we want to let the SOP system query the Progress DB
rather than let the web app query it directly, so the web app will make
a request to the SOP system.
The suppliers of the SOP system are prepared to make some sort of
listener to accept message requests, but what I can't get my head around
is how I get the message to and from the SOP system. Do I need to create
some sort of server or listener on the web app that can accept
responses? Is this a Web Service? A message queue? SOAP? Confused? You
will be...
I'd appreciate it if anyone can nudge me in the general direction -
I've got a real mental block on this one!
cheers
Les Lytollis
Web Developer
********************Confidentiality Notice & Disclaimer ***********************
This message, together with any attachments, is for the confidential and exclusive use of the addressee(s).
If you receive it in error, please delete the message and its attachments from your system immediately and notify us by return e-mail.
Do not disclose, copy, circulate or use any information contained in this e-mail.
(1) Whilst we have taken reasonable precautions to ensure that any attachment to this e-mail has been swept for viruses, we cannot accept liability for any damage sustained as a result of software viruses and would advise that you carry out your own virus checks before opening any attachment.
(2) The sender shall remain solely accountable for any statements, representations or opinions that are clearly his or her own and not made in the course of employment.
***********************************************************************************
From cparker at swatgear.com Thu Aug 28 10:58:36 2003
From: cparker at swatgear.com (Chris W. Parker)
Date: Thu, 28 Aug 2003 08:58:36 -0700
Subject: [thelist] Looping Psuedocode
Message-ID: <001BD19C96E6E64E8750D72C2EA0ECEE1AE1DA@ati-ex-01.ati.local>
Rob Smith
on Thursday, August 28, 2003 6:11 AM said:
> from :: to ::
> Item A Item A
> Item A Item B
> Item A Item C
> Item B
> Item B
> Item B
> Item B
> Item C
> Item C
Assuming $items is an array like:
Array (
0 => "Item A"
1 => "Item A"
etc.
)
$previousItem = "";
foreach ($items as $item)
{
if($item != $previousItem)
{
$smallList[] = $item;
}
$previousItem = $item;
}
print_r($smallList);
?>
Hope this helps!
Chris.
From sbeam at syxyz.net Thu Aug 28 11:00:38 2003
From: sbeam at syxyz.net (SBeam)
Date: Thu, 28 Aug 2003 12:00:38 -0400
Subject: [thelist] PHP show first 10 words of MySQL field
In-Reply-To:
References:
Message-ID: <200308281200.38227.sbeam@syxyz.net>
On Thursday 28 August 2003 05:28 am, Kelly Hallman wrote:
> $x = "The quick brown fox jumps over the lazy ".$test.".";
> + concatenation double quotes 0.3742000000
>
> Two interesting conclusions; interpolating variables within a double
> quoted string seems to be 3x slower than concatenating. However, it
> doesn't seem that the mere presence of the double quotes impacts the
> processing time significantly, unless they contain strings to interpolate.
...
> Each method has it's strong points. I find the concatenation method hard
> to read and edit and usually opt for interpolation. However, it's good to
> know that this is an area where you can trim some serious time off by
> using concatenation in an intensive loop that needs optimization.
dont forget sprintf() - I get similar results as your last example using
$x = sprintf('The quick brown fox jumps over the lazy %s', $test);
Some people see sprintf's and get nervous, but once you get used to them it
really clears up. Especially for constructing SQL statements, because you can
do addslashes(), or other processing, on the fly, and use sprintf's
formatting to massage numbers on the way in, e.g.
$sql = sprintf("UPDATE foo_table
SET name = '%s'
, expires = '%s'
, max_price = %.2f
WHERE id = %d",
addslashes($_POST['name']),
date("Y-m-d", $time),
$int_total_price,
$sess->getId());
Thats an extreme example but you can see all the tricks you can pull. If you
can't handle lining up your placeholders with your arguments then PHP also
supports 'argument swapping', see the docs. Personally I find it a lot better
than
$sql = 'UPDATE foo_table SET
name = '.addslashes($_POST['name']).',
expires = '.date("Y-m-d", $timestamp).',
max_price = '.$int_total_price .'
WHERE id = '.$sess->getId();
which is almost impossible to type correctly, hard to read, and is only about
6% faster.
From rudy937 at rogers.com Thu Aug 28 11:07:00 2003
From: rudy937 at rogers.com (rudy)
Date: Thu, 28 Aug 2003 12:07:00 -0400
Subject: [thelist] Looping Psuedocode
Message-ID: <20030828160700.NVQG7507.fep01-mail.bloor.is.net.cable.rogers.com@localhost>
my pseudocode is pretty straightforward but assumes you can load your list of items into a table in a database that supports sql
select distinct item from yourtable
rudy
From cparker at swatgear.com Thu Aug 28 11:13:02 2003
From: cparker at swatgear.com (Chris W. Parker)
Date: Thu, 28 Aug 2003 09:13:02 -0700
Subject: [thelist] Average Load Time
Message-ID: <001BD19C96E6E64E8750D72C2EA0ECEE2B7F9E@ati-ex-01.ati.local>
Ken Schaefer
on Thursday, August 28, 2003 4:54 AM said:
> Do you want to test it under load?
[snip]
> MS Web Application Stress Tool
Is this meant for sites served by IIS?
Chris.
From kwan at tourismwhistler.com Thu Aug 28 11:36:36 2003
From: kwan at tourismwhistler.com (Ken Wan)
Date: Thu, 28 Aug 2003 09:36:36 -0700
Subject: [thelist] Netscape 7 vs Mozilla
Message-ID:
Hi all.
Not sure if this has been discussed recently but I was wondering if someone
can enlighten me or refer me to information regarding the differences
between Netscape 7 and the most recent Mozilla build, in terms of how they
render pages. The reason I'm asking is that some pages that I've created
look fine in Mozilla but are a bit messed up in NS7. I know there are
differences, but I thought NS7 was based on Mozilla. So what makes the two
render pages differently? Which browser is better to test on (will reveal
the most errors)? Anyone else getting just a little frustrated with having
to test each and every page on the multitudes of browsers across two
(three?) different platforms?
----------------------
Ken Wan
From kwan at tourismwhistler.com Thu Aug 28 11:37:57 2003
From: kwan at tourismwhistler.com (Ken Wan)
Date: Thu, 28 Aug 2003 09:37:57 -0700
Subject: [thelist] Netscape 7 vs Mozilla
Message-ID:
Hi all.
Not sure if this has been discussed recently but I was wondering if someone
can enlighten me or refer me to information regarding the differences
between Netscape 7 and the most recent Mozilla build, in terms of how they
render pages. The reason I'm asking is that some pages that I've created
look fine in Mozilla but are a bit messed up in NS7. I know there are
differences, but I thought NS7 was based on Mozilla. So what makes the two
render pages differently? Which browser is better to test on (will reveal
the most errors)? Anyone else getting just a little frustrated with having
to test each and every page on the multitudes of browsers across two
(three?) different platforms?
----------------------
Ken Wan
From jp at batworks.com Thu Aug 28 11:39:04 2003
From: jp at batworks.com (James Parsons)
Date: Thu, 28 Aug 2003 11:39:04 -0500
Subject: [thelist] Large expandable tree
In-Reply-To:
Message-ID:
>Attachment hell: Main Drive:InterScan_Disclaimer.txt 1 (TEXT/MSIE) (0000801F)
As useful as evolt can be, if we start getting mail through the list with
attachments, I'm outta here.
From swatson at internavigate.com Thu Aug 28 12:07:38 2003
From: swatson at internavigate.com (S Watson)
Date: Thu, 28 Aug 2003 10:07:38 -0700
Subject: [thelist] Watching a domain name for expiry?
In-Reply-To: <48B56F03-D959-11D7-9693-000A959F2F8E@creed.co.uk>
Message-ID:
I recently used www.godaddy.com 's option for domain monitoring and purchase
and was successful in picking up a domain name that had lapsed and was
registered through Network Solutions. US$18.95 - for .com/.net . I decided
to do this in order to try and pick up a domain that had the US spelling of
a name that a client has a domain with the canadian spelling (i.e. centre
and center). I was pleasantly surprised with the 3 day turnaround on the
order and don't know if this is often the case. For that amount it was
worth a shot :)
hth
Shelley
Wonder if anyone can recommend a service/piece of software to keep on
eye on a domain that I'd like to register, is currently due for expiry,
and currently doesn't go anywhere except one of those search engine
holding pages.
Ideally I'd like it to alert me as soon as the domain in question
becomes available, so I can get in there quickly and register it though
my current ISP.
From khallman at wrack.org Thu Aug 28 12:21:35 2003
From: khallman at wrack.org (Kelly Hallman)
Date: Thu, 28 Aug 2003 10:21:35 -0700 (PDT)
Subject: [thelist] PHP show first 10 words of MySQL field
In-Reply-To: <49304.66.93.174.136.1062050180.squirrel@webmail.magnetinternet.com>
Message-ID:
On Wed, 27 Aug 2003, Matt King wrote:
> But that only shows the first 180 characters. Wouldn't it look funny if
> you cut off a word at the end of this string?
>
> Here's a more elegant (but more resource taxing) solution:
> $WordLimit = 20;
> $Words = explode(" ",$String,$WordLimit);
> array_pop($Words); // Last element contains remaining text, we don't need it
> foreach ($Words as $Word) { echo $Word . " "; }
How about:
$trunc = 5; // 5 words
$sentence = 'This is a long sentence of more than five words.';
$result = implode(' ',array_slice(preg_split('/\s/',$sentence),0,$trunc));
For an indicator (or link to the full item) if it was truncated add this:
if (strlen($result) < strlen($sentence)) { $result.= '...'; }
So here's a small function combining the two:
function truncate($inp,$wsize,$truncd='...') {
$r = implode(' ',array_slice(preg_split('/\s/',$inp),0,$wsize));
return $r. ((strlen($r) < strlen($inp))?$truncd:''); }
--
Kelly Hallman
http://wrack.org/
From Tab.Alleman at MetroGuide.com Thu Aug 28 12:33:02 2003
From: Tab.Alleman at MetroGuide.com (Tab Alleman)
Date: Thu, 28 Aug 2003 13:33:02 -0400
Subject: [thelist] Looping Psuedocode
Message-ID:
Scott James wrote:
> PreviousElement = InvalidElement;
> For A in OriginalList
> If A != InvalidElement
You meant "If A != PreviousElement".
> Store/Print A;
> PreviousElement = A;
> End For
From khallman at wrack.org Thu Aug 28 12:34:26 2003
From: khallman at wrack.org (Kelly Hallman)
Date: Thu, 28 Aug 2003 10:34:26 -0700 (PDT)
Subject: [thelist] JavaScript included file question
In-Reply-To:
Message-ID:
On Thu, 28 Aug 2003, Nan Harbison wrote:
>
>
> There is another file on this site that has the statement:
> $incJavaScript = STR_GLOBAL_JAVASCRIPT;
>
> and a global setting page has this:
> define("STR_GLOBAL_JAVASCRIPT", WS_PATH.'include/global_javascript.js');
>
> Can someone tell me what the point of this is? It seems like a rather
> round-about way to call an included file.
On the surface, it is a bit of overkill. Setting $incJavaScript =
STR_GLOBAL_JAVASCRIPT seems to be pointless, considering that is also the
default by virtue of how the script src= is set up. However, if you
omitted that assignment it would behave the same (so you don't need to
remember to include the global_javascript.js file each time). The main
advantage is that default is automatic, but you could set $incJavaScript
to a different filename on a per-script basis to override that default.
This isn't the most flexible approach, but it does have use if you only
need to include one javascript file at most per page.
--
Kelly Hallman
http://wrack.org/
From dmah at shaw.ca Thu Aug 28 12:37:12 2003
From: dmah at shaw.ca (Dean Mah)
Date: Thu, 28 Aug 2003 11:37:12 -0600
Subject: [thelist] Qmail-Inject Example?
In-Reply-To: <5.2.1.1.0.20030828111049.03899eb0@127.0.0.1>
References: <5.2.1.1.0.20030828024350.00ac2e18@mail.frankmarion.com>
<5.2.1.1.0.20030828111049.03899eb0@127.0.0.1>
Message-ID: <20030828173712.GA6682@alice.cg.shawcable.net>
On Thu, Aug 28, 2003 at 11:11:41AM -0400, Frank wrote:
> At 12:08 PM 2003-08-28 +0100, you wrote:
> >It's a drop-in replacement for /usr/bin/sendmail -
> >no other trickery should be required.
>
> I'm a newbie at this stuff. Are you telling me that I should be looking up
> how sendmail does this to see an example?
If you're doing it from the command line, try:
# qmail-inject -h -f 'fromme at me.com' < message
where 'message' is a file containing mail headers, a blank line, and
then the message body.
Dean
From taranis at spittingllamas.com Thu Aug 28 12:42:51 2003
From: taranis at spittingllamas.com (Alex Ezell)
Date: Thu, 28 Aug 2003 13:42:51 -0400
Subject: [thelist] relays.Osirusoft.com down?
In-Reply-To: <004201c36d77$57ea8930$0300a8c0@client1>
References: <004201c36d77$57ea8930$0300a8c0@client1>
Message-ID: <148257816490.20030828134251@spittingllamas.com>
On Thursday, August 28, 2003, 11:16:23 AM, Joshua wrote:
> I was told today that people couldn't email my server. A quick check
> revealed that my server was rejecting mail because it was checking
> relays.osirusoft.com for known spam servers and that it was unavailable. I
> checked a couple places and it does indeed seem to be down. Can anybody
> else confirm this?
Yes, it's a fairly big story on the tech news. The administrator had
to shut it down because of some massive DDOS attacks. Some claim that
SA goons are responsible.
--
Alex
http://www.spittingllamas.com
"Formal Restrictions, contrary to what you might think,
free you up by allowing you to concentrate on purer ideas."
- Winter Sorbeck in Chip Kidd's The Cheese Monkeys
From mail at kentrygiel.com Thu Aug 28 12:42:47 2003
From: mail at kentrygiel.com (Kent Rygiel)
Date: Thu, 28 Aug 2003 13:42:47 -0400
Subject: [thelist] Invoice Format
Message-ID:
Hi,
I am wondering if anyone on this list knows of a good template (possibly
posted online) for sending an invoice to clients. I would imagine that this
would include information such as: project name, wages, billable hours, etc.
Any help with this would be much appreciated.
Thanks,
Kent Rygiel
|- Kent Rygiel. Interface Designer
|
|- mail at kentrygiel.com
|
|- http://www.kentrygiel.com
|
|- Design is everything
| you do on purpose.
From jspool at uie.com Thu Aug 28 12:52:22 2003
From: jspool at uie.com (Jared M. Spool)
Date: Thu, 28 Aug 2003 13:52:22 -0400
Subject: [thelist] test - please disregard
In-Reply-To: <3F4E88DE.6020303@pintsize.com>
Message-ID: <5.2.1.1.2.20030828135158.031c1988@mail.uie.com>
At 06:57 PM 8/28/2003 -0400, Meredith Tupper wrote:
>test
If I knew there was going to be a test today, I would've definitely studied!
Jared
Jared M. Spool
User Interface Engineering
http://www.uie.com jspool at uie.com
Don't miss User Interface 8, October 13-16, Cambridge, MA.
http://www.uiconf.com
From jspool at uie.com Thu Aug 28 12:52:22 2003
From: jspool at uie.com (Jared M. Spool)
Date: Thu, 28 Aug 2003 13:52:22 -0400
Subject: [thelist] test - please disregard
In-Reply-To: <3F4E88DE.6020303@pintsize.com>
Message-ID: <5.2.1.1.2.20030828135158.031c1988@mail.uie.com>
At 06:57 PM 8/28/2003 -0400, Meredith Tupper wrote:
>test
If I knew there was going to be a test today, I would've definitely studied!
Jared
Jared M. Spool
User Interface Engineering
http://www.uie.com jspool at uie.com
Don't miss User Interface 8, October 13-16, Cambridge, MA.
http://www.uiconf.com
From cparker at swatgear.com Thu Aug 28 12:51:14 2003
From: cparker at swatgear.com (Chris W. Parker)
Date: Thu, 28 Aug 2003 10:51:14 -0700
Subject: [thelist] relays.Osirusoft.com down?
Message-ID: <001BD19C96E6E64E8750D72C2EA0ECEE2B7FA4@ati-ex-01.ati.local>
Joshua Olson
on Thursday, August 28, 2003 8:16 AM said:
> I was told today that people couldn't email my server. A quick check
> revealed that my server was rejecting mail because it was checking
> relays.osirusoft.com for known spam servers and that it was
> unavailable. I checked a couple places and it does indeed seem to be
> down. Can anybody else confirm this?
Let me guess, your address is:
123 Inacave Ave.
Rock Town, Mountains 99999
But seriously*... Osirusoft is no longer operating. Do not use it any
longer.
hth,
Chris.
* I make that joke only because this is just about the biggest thing in
the IT world (afaik) aside from the SoBig.F worm right now.
From gassinaumasis at hotmail.com Thu Aug 28 14:39:34 2003
From: gassinaumasis at hotmail.com (Peter-Paul Koch)
Date: Thu, 28 Aug 2003 19:39:34 +0000
Subject: [thelist] set a:hover props from JS
Message-ID:
>Anyone know if and how one can set the a:hover Style properties from JS?
>there
>does not seem to be anything like that in the spec
>http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/ecma-script-binding.html
>
>I want to do
>document.getElementById('foo').style.backgroundColorHover = 'red';
>but is there a property for that?
As far as I know there isn't any. Pity, but unsolvable.
>annoyingly, when I set the backgroundColor for a element, it seems to
>override the a:hover background which was set in the CSS. This happens on
>IE6
>and Moz. So I am looking for a workaround.
That's logical. You set style.backgroundColor and thus the *inline* styles
of the element, which overrule the embedded or linked a:hover styles in the
style sheet
-------------------------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
New: Browser Wars II: The Saga Continues
http://evolt.org/article/rdf/25/60181/
------------------------------------------------------------------
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
From khallman at wrack.org Thu Aug 28 15:19:46 2003
From: khallman at wrack.org (Kelly Hallman)
Date: Thu, 28 Aug 2003 13:19:46 -0700 (PDT)
Subject: [thelist] PHP show first 10 words of MySQL field
In-Reply-To: <200308281200.38227.sbeam@syxyz.net>
Message-ID:
On Thu, 28 Aug 2003, SBeam wrote:
> On Thursday 28 August 2003 05:28 am, Kelly Hallman wrote:
> > $x = "The quick brown fox jumps over the lazy ".$test.".";
> > + concatenation double quotes 0.3742000000
>
> dont forget sprintf() - I get similar results as your last example using
> $x = sprintf('The quick brown fox jumps over the lazy %s', $test);
Perhaps your machine is twice as fast as mine, because when I added a
sprintf loop I got a time that was a bit more than double the
concatenation loop time above:
$x = sprintf("The quick brown fox jumps over the lazy %s.",$test);
+ sprintf string substitution 0.8422000000
Still beats an interpolated string, and it does provide some advantages as
you demonstrated. So, again it's a case where it's best to learn and
understand all the available options, and choose the one that best suits
your preferences or particular circumstance.
The performance aspect is interesting to note, but I wouldn't always pick
the fastest way simply for that reason. Issues of code readability,
maintenance and style all play in here, and in most scenarios the
performance differences probably wouldn't be significant.
The original point was a good one though, there is no cause to use "$var",
when you could simply use $var and avoid the interpolation overhead.
--
Kelly Hallman
http://wrack.org/
From Tab.Alleman at MetroGuide.com Thu Aug 28 15:23:04 2003
From: Tab.Alleman at MetroGuide.com (Tab Alleman)
Date: Thu, 28 Aug 2003 16:23:04 -0400
Subject: [thelist] Querying a legacy app
Message-ID:
Les Lytollis wrote:
> Hi guys
>
> Been away from the list for a while - back now, with a new job...and
> new questions;)
>
> I am implementing a .NET B2B web-based ordering system which will get
> its data from a Progress DB on AIX fronted by a bespoke SOP system.
> For a number of reasons, we want to let the SOP system query the
> Progress DB rather than let the web app query it directly, so the web
> app will make a request to the SOP system.
>
> The suppliers of the SOP system are prepared to make some sort of
> listener to accept message requests, but what I can't get my head
> around is how I get the message to and from the SOP system. Do I need
> to create some sort of server or listener on the web app that can
> accept responses? Is this a Web Service? A message queue? SOAP?
> Confused? You will be...
I'd use XML.
From csaila at globeandmail.ca Thu Aug 28 15:31:51 2003
From: csaila at globeandmail.ca (Saila, Craig)
Date: Thu, 28 Aug 2003 16:31:51 -0400
Subject: [thelist] Netscape 7 vs Mozilla
Message-ID: <523ED78FF1F87A44A40907C74F83CBC20A4A20CC@mail.bgm.globeinteractive.com>
Ken Wan wrote:
> Not sure if this has been discussed recently but I was wondering if
> someone can enlighten me or refer me to information regarding the
> differences between Netscape 7 and the most recent Mozilla build, in
There shouldn't be much difference in basic page rendering (may be a
result of plug-ins or advanced CSS).
Netscape 7.1 = Mozilla 1.4 ~= Firebird 0.6
Netscape 7.0x = Mozilla 1.0.2
Netscape 7.0 = Mozilla 1.0.1
(Mozilla 1.5 and Firebird 0.7 should be equivalent when released --
there isn't expected to be a Netscape release to match)
More info at:
"Comparing Netscape 7.x Vs. Mozilla For Your Organization"
And
"Netscape Gecko User Agent Strings"
--
Cheers,
Craig Saila
------------------------------------------
craig at saila.com : http://www.saila.com/
------------------------------------------
From hassan at webtuitive.com Thu Aug 28 15:52:40 2003
From: hassan at webtuitive.com (Hassan Schroeder)
Date: Thu, 28 Aug 2003 13:52:40 -0700
Subject: [thelist] Querying a legacy app
In-Reply-To: <01D68BC74179BF40A96146C6548AFB8AE0A4B6@casexc01.dimensions.co.uk>
References: <01D68BC74179BF40A96146C6548AFB8AE0A4B6@casexc01.dimensions.co.uk>
Message-ID: <3F4E6B98.5030004@webtuitive.com>
Les Lytollis wrote:
> I am implementing a .NET B2B web-based ordering system which will get
> its data from a Progress DB on AIX fronted by a bespoke SOP system. For
> a number of reasons, we want to let the SOP system query the Progress DB
> rather than let the web app query it directly, so the web app will make
> a request to the SOP system.
>
> The suppliers of the SOP system are prepared to make some sort of
> listener to accept message requests, but what I can't get my head around
> is how I get the message to and from the SOP system. Do I need to create
> some sort of server or listener on the web app that can accept
> responses? Is this a Web Service? A message queue? SOAP?
Uhhhhh -- depends. :-)
Your web app is the requester, the SOP system is the responder.
Will there always be *one* requester and *one* responder? Or maybe
one-to-many, many-to-one, or many-to-many?
And what is the time requirement on the response? An "immediate"
response like a Web server or "sometime later", batch system style?
The answers to those will influence whether you use a direct SOAP
over HTTP request or an asynchronous message queue.
FWIW!
--
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code.
From paul at teltest.com Thu Aug 28 16:38:06 2003
From: paul at teltest.com (Paul Bennett)
Date: Fri, 29 Aug 2003 09:38:06 +1200
Subject: [thelist] Web Design News and Resources
In-Reply-To: <20030828142330.18914.qmail@web11507.mail.yahoo.com>
References: <20030828142330.18914.qmail@web11507.mail.yahoo.com>
Message-ID: <3F4E763E.20105@teltest.com>
Arthur Cundy wrote:
>mode:arcane is a personal weblog as well as a portal for news, resources, tips, and articles focusing on web/graphic design, online marketing, search engine optimization and freelancing. Sign up for the newsletter for more information and updates.
>
>http://modearcane.shorturl.com/
>
uh, is this List spam?
--
------------------------------
Paul Bennett
Internet Developer
Teltest Electronic Design
------------------------------
Email: paul at teltest.com
Phone: 64 4 237 4557
Web: http://www.teltest.com
Wap: http://wap.teltest.com
From paul at teltest.com Thu Aug 28 16:40:51 2003
From: paul at teltest.com (Paul Bennett)
Date: Fri, 29 Aug 2003 09:40:51 +1200
Subject: [thelist] Netscape 7 vs Mozilla
In-Reply-To:
References:
Message-ID: <3F4E76E3.1000206@teltest.com>
Ken Wan wrote:
>
>to test each and every page on the multitudes of browsers across two
>(three?) different platforms?
>
web
standards
are
your
friends
http://www.webstandards.org/
;)
--
------------------------------
Paul Bennett
Internet Developer
Teltest Electronic Design
------------------------------
Email: paul at teltest.com
Phone: 64 4 237 4557
Web: http://www.teltest.com
Wap: http://wap.teltest.com
From ralph213 at sbcglobal.net Thu Aug 28 16:47:25 2003
From: ralph213 at sbcglobal.net (Ralph Guzman)
Date: Thu, 28 Aug 2003 14:47:25 -0700
Subject: [thelist] Invoice Format
In-Reply-To:
Message-ID: <004e01c36dad$f92f43e0$6401a8c0@ralphxorostodu>
If you have Microsoft Excel check their templates. Excel provides a
standard invoice template.
-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Kent Rygiel
Sent: Thursday, August 28, 2003 10:43 AM
To: thelist at lists.evolt.org
Subject: [thelist] Invoice Format
Hi,
I am wondering if anyone on this list knows of a good template (possibly
posted online) for sending an invoice to clients. I would imagine that
this
would include information such as: project name, wages, billable hours,
etc.
Any help with this would be much appreciated.
Thanks,
Kent Rygiel
|- Kent Rygiel. Interface Designer
|
|- mail at kentrygiel.com
|
|- http://www.kentrygiel.com
|
|- Design is everything
| you do on purpose.
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
From jveillo at bellsouth.net Thu Aug 28 16:41:04 2003
From: jveillo at bellsouth.net (James)
Date: Thu, 28 Aug 2003 16:41:04 -0500
Subject: [thelist] Watching a domain name for expiry?
References: <48B56F03-D959-11D7-9693-000A959F2F8E@creed.co.uk>
Message-ID: <00b701c36dad$1547c260$f54f9d42@watson>
Hello Andy,
Are you aware of the services available that perform these types of services
for a fee? Do a search for 'domain name back ordering' or something similar.
Also, http://www.whois.sc has a free monitoring service but they don't
automatically register the name for you like the pay services do.
Hope this helps,
James
james at ebigman.com
----- Original Message -----
From: "Andy Warwick"
To:
Sent: Thursday, August 28, 2003 8:12 AM
Subject: [thelist] Watching a domain name for expiry?
> Hi
>
> Wonder if anyone can recommend a service/piece of software to keep on
> eye on a domain that I'd like to register, is currently due for expiry,
> and currently doesn't go anywhere except one of those search engine
> holding pages.
>
> Ideally I'd like it to alert me as soon as the domain in question
> becomes available, so I can get in there quickly and register it though
> my current ISP.
>
> I'm aware I could approach the current holder, but I'd rather take my
> chances once it is 'back in the pool', rather than alert him/her it's
> wanted and thus boost its value.
>
> Note that this is a single domain I have a valid interest in, and is
> not for grabbing multiple domains to 'squat' on.
>
> TIA
>
> --
> Andy Warwick
> Creed New Media Design
> w: http://www.creed.co.uk
>
> --
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
From jjk3 at msstate.edu Thu Aug 28 17:14:49 2003
From: jjk3 at msstate.edu (Joel Konkle-Parker)
Date: Thu, 28 Aug 2003 17:14:49 -0500 (CDT)
Subject: [thelist] Netscape 7 vs Mozilla
In-Reply-To:
References:
Message-ID: <1062108889.3f4e7ed9e2ae9@webmail.msstate.edu>
> Not sure if this has been discussed recently but I was wondering if
> someone
> can enlighten me or refer me to information regarding the differences
> between Netscape 7 and the most recent Mozilla build, in terms of how
> they
> render pages.
Well, Netscape 7.1 is supposedly a rebranded version of Mozilla 1.4, and so
should render pages exactly the same (Help > About Netscape > look for "rv:").
What version of Mozilla are you comparing to? If it's not 1.4, then that's the
reason for the discrepancies.
--
Joel Konkle-Parker
Webmaster [Ballsome.com]
Phone [662-518-1636]
E-mail [jjk3 at msstate.edu]
From jeff at jeffhowden.com Thu Aug 28 18:25:45 2003
From: jeff at jeffhowden.com (Jeff Howden)
Date: Thu, 28 Aug 2003 16:25:45 -0700
Subject: [thelist] Average Load Time
In-Reply-To: <1062100317.247@LISTSERV.alphashop.com>
Message-ID: <1062112880.14496@LISTSERV.alphashop.com>
Chris,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Chris W. Parker
>
> > Do you want to test it under load?
> [snip]
> > MS Web Application Stress Tool
>
> Is this meant for sites served by IIS?
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
No, you can test a site served by any sort of webserver.
Jeff
------------------------------------------------------
Jeff Howden - Web Application Specialist
Resume - http://jeffhowden.com/about/resume/
Code Library - http://evolt.jeffhowden.com/jeff/code/
From edc at wnc.quik.co.nz Thu Aug 28 19:39:26 2003
From: edc at wnc.quik.co.nz (michael ensor)
Date: Fri, 29 Aug 2003 12:39:26 +1200
Subject: [thelist] Invoice Format
References: <004e01c36dad$f92f43e0$6401a8c0@ralphxorostodu>
Message-ID: <000c01c36dc6$0f79d260$3b6237d2@oemcomputer>
while templates are ok as a starting point you should also bear in mind that
your invoice may end up being an exhibit or basis of a legal claim so you
must ensure that in your legal jurisdiction it contains sufficient
information to establish/demonstrate a cause of action, usually including
but not limited to the existence of a contract and a clear statement of a
'liquidated demand' ......there are sometimes local peculiarities which
could be vital...
----- Original Message -----
From: "Ralph Guzman"
To:
Sent: Friday, August 29, 2003 9:47 AM
Subject: RE: [thelist] Invoice Format
: If you have Microsoft Excel check their templates. Excel provides a
: standard invoice template.
:
: -----Original Message-----
: From: thelist-bounces at lists.evolt.org
: [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Kent Rygiel
: Sent: Thursday, August 28, 2003 10:43 AM
: To: thelist at lists.evolt.org
: Subject: [thelist] Invoice Format
:
: Hi,
:
: I am wondering if anyone on this list knows of a good template (possibly
: posted online) for sending an invoice to clients. I would imagine that
: this
: would include information such as: project name, wages, billable hours,
: etc.
: Any help with this would be much appreciated.
:
: Thanks,
:
: Kent Rygiel
:
: |- Kent Rygiel. Interface Designer
: |
: |- mail at kentrygiel.com
: |
: |- http://www.kentrygiel.com
: |
: |- Design is everything
: | you do on purpose.
:
:
: --
: * * Please support the community that supports you. * *
: http://evolt.org/help_support_evolt/
:
: For unsubscribe and other options, including the Tip Harvester
: and archives of thelist go to: http://lists.evolt.org
: Workers of the Web, evolt !
:
:
: --
: * * Please support the community that supports you. * *
: http://evolt.org/help_support_evolt/
:
: For unsubscribe and other options, including the Tip Harvester
: and archives of thelist go to: http://lists.evolt.org
: Workers of the Web, evolt !
:
:
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/03
From mark.m at optushome.com.au Thu Aug 28 20:37:10 2003
From: mark.m at optushome.com.au (Mark M)
Date: Fri, 29 Aug 2003 11:37:10 +1000
Subject: [thelist] Invoice Format
Message-ID: <200308290137.h7T1bAf30410@mail012.syd.optusnet.com.au>
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL:
From ken at adOpenStatic.com Thu Aug 28 20:41:36 2003
From: ken at adOpenStatic.com (Ken Schaefer)
Date: Fri, 29 Aug 2003 11:41:36 +1000
Subject: [thelist] Looping Psuedocode
References: <0CEC8258A6E4D611BE5400306E1CC9271E4EB0@smtmb.tmc.local>
Message-ID: <037501c36dce$afcd1710$0a345e81@careersAD.unsw.edu.au>
Rob,
I wouldn't call that "elegant" code, nor efficient code. This section:
: while not prodResult.eof
: rcount = rcount + 1
: redim preserve oldArray(rcount)
: oldArray(rcount) =
: prodResult.fields.item("ProductFamily").value
: prodResult.movenext
: wend
if pretty awful - you don't want to be calling ReDim Preserve inside a loop.
In fact, the ADO Recordset has an internal method that will do this for you:
<%
objRS.Open ...
' DO NOT CALL .MoveFirst HERE. It is completely unnecessary, and may
' result in the query being *re-executed* which you don't want!
If not objRS.EOF then
arrResults = objRS.GetRows()
End If
%>
which plonks all your data straight into an array, of the correct size, for
you.
Because of the way that you've done the comparison logic, the time that will
be taken for each additional element grows by the number of elements, which
will kill this method as soon as you get any non-trivial amounts of data.
For simplicities sake I would do either of:
a) Use the .getRows() method above to move your data into an array. If you
data is already ordered, then you can loop through the array as many times
are you like in a page without penalty. When you need the distinct list,
just store the previous value in the variable and compare to the current
element to see whether it should be processed
-or-
b) Run a second SELECT DISTINCT query against your datastore, and store that
in a second array.
Cheers
Ken
----- Original Message -----
From: "Rob Smith"
To:
Sent: Friday, August 29, 2003 1:32 AM
Subject: RE: [thelist] Looping Psuedocode
: Hmm.. I thought this would be a simple.
:
: Ok, these are numbers. I cannot use the DISTINCT because I still need to
: reference my original information of all the "Items" (RecordSet). I just
: need to hide the duplicates or non-unique values until later.
:
: This is what I was going after..
:
: <%
: dim oldArray()
: dim rcount
: rcount = -1
: prodResult.movefirst
:
: while not prodResult.eof
: rcount = rcount + 1
: redim preserve oldArray(rcount)
: oldArray(rcount) =
: prodResult.fields.item("ProductFamily").value
: prodResult.movenext
: wend
:
: dim newArray()
: eCount = -1
: for each oldElement in oldArray
: eCount = eCount + 1
: redim preserve newArray(eCount)
: uniqueElement = true
: for each newElement in newArray
: if newElement = oldElement then
: uniqueElement = false
: exit for
: end if
: next
: if uniqueElement then
: newArray(eCount) = oldElement
: else
: eCount = eCount - 1
: end if
: next
: 'for x = 0 to eCount
: ' oldArray (x) = newArray(x)
: 'next
:
: for x = 0 to ubound(newArray)-1
: if newArray(x) = family then
: response.write("
" & newArray(x)
&
: "
")
: else
: response.write("
" & newArray(x)
&
: "
")
: end if
:
: if newArray(x) = family then
: while not prodFamily.eof
: response.write("
" &
: prodFamily.fields.item("Description").value & "
")
: prodFamily.movenext
: wend
: end if
: next
: %>
:
: and it does what I need it to do which is:
:
: original data:
: Show A Show A Show A
: Show A_1 to Show B then Show A_1
: Show A_2 Show C once Show A_2
: Show A_3 clicked Show A_3
: Show B A Show B
: Show B_1 Show C
: Show B_2
: Show B_3
: Show C
: Show C_1
: Show C_2
: Show C_3
:
: So if anyone can use this later, feel free to.
:
: Rob.Smith
From ken at adOpenStatic.com Thu Aug 28 20:45:17 2003
From: ken at adOpenStatic.com (Ken Schaefer)
Date: Fri, 29 Aug 2003 11:45:17 +1000
Subject: [thelist] Average Load Time
References: <001BD19C96E6E64E8750D72C2EA0ECEE2B7F9E@ati-ex-01.ati.local>
Message-ID: <038301c36dcf$33495e50$0a345e81@careersAD.unsw.edu.au>
No,
All the app does is simulate HTTP client requests. It only installs onto
Windows client machines (since it's a Windows app), but it doesn't know
anything about the server you're pointing it to. Since you can control
multiple client machines, from a single "master client", it means that you
can really stress a webserver(s) if you want. Even a few old Pentium 200
machines is quite capable of saturing a 100 Mb/sec switched network I've
found
Cheers
Ken
----- Original Message -----
From: "Chris W. Parker"
To:
Sent: Friday, August 29, 2003 2:13 AM
Subject: RE: [thelist] Average Load Time
Ken Schaefer
on Thursday, August 28, 2003 4:54 AM said:
> Do you want to test it under load?
[snip]
> MS Web Application Stress Tool
Is this meant for sites served by IIS?
From dianesoini at earthlink.net Thu Aug 28 20:56:32 2003
From: dianesoini at earthlink.net (Diane Soini)
Date: Thu, 28 Aug 2003 18:56:32 -0700
Subject: [thelist] Custom Errors in IIS
In-Reply-To: <200308280111.19ShS61Vo3NZFjV0@sparrow>
Message-ID: <039E34EA-D9C4-11D7-911E-00039358CB42@earthlink.net>
I think I understand this.
On Thursday, August 28, 2003, at 01:11 AM,
thelist-request at lists.evolt.org wrote:
> I have been creating custom ASP error pages to display and setting up =
> IIS to use them in the event of 404 or ASP errors. The problem with it
> =
> is I have it set to URL then the file name and many times if there is
> an =
> include file on a page or sometimes on a recordset the error page will
> =
> display in the middle of the page (in place of the include) as opposed
> =
> to instead of this page. If I set IIS to File then the complete path, =
> the browser displays the ASP code from the file. Any suggestions?From
> taranis at spittingllamas.com Wed Aug 27 20:13:20 2003
I do this on a jsp site that I work on. I have an error page for
exception handling that will show a friendly message when something in
the code blows up. If the exception happens in one of the template
parts of a page, that is where the friendly error page will display,
sometimes with part of the real layout already there. Unless the entire
page blows up, this error page kind of messes up the layout, because
might not get closed before