From mark at markgroen.com Mon Nov 10 00:55:51 2003 From: mark at markgroen.com (Mark Groen) Date: Sun, 9 Nov 2003 22:55:51 -0800 Subject: [thelist] odd IE worm or something.. References: <20031109223445.12514.qmail@web12602.mail.yahoo.com> Message-ID: <003e01c3a757$adf65060$6401a8c0@vn.shawcable.net> ----- Original Message ----- Sent: November 09, 2003 2:34 PM Subject: Re: [thelist] odd IE worm or something.. > --- James Parsons wrote: > > Tom puzzles... > > > >I have a strange thing happening with my IE on winXP. I've run > > >ad-aware and a full virus scan which has turned up nothing. > > >http://www.pixelmech.com/review/ieThing.gif > > > > > >What happens is that a IE window spawns of *its own accord.* You need something a little more than just msconfig to find this mal-ware installed on your machine, I've used this persons' registry software for a few years now and it really is the best at finding *everything* that is installed, cleaning out programs, handling the start-up functions, etc: http://www.jv16.org/ 30 day trail, enough to get rid of your problem and worth paying for the future imho especially if you're interested in having more control. You may even get lucky and the "Acme Browser" jerks have named their files similar enough to spot easily. Regards, Mark Groen MG Web Services Web Site Hosting and Development www.markgroen.com mark at markgroen.com 604-780-6917 Bowen Island, Canada From kr43m0r at earthlink.net Mon Nov 10 01:19:07 2003 From: kr43m0r at earthlink.net (Lonnie) Date: Mon, 10 Nov 2003 01:19:07 -0600 Subject: [thelist] odd IE worm or something.. References: <20031109223445.12514.qmail@web12602.mail.yahoo.com> <003e01c3a757$adf65060$6401a8c0@vn.shawcable.net> Message-ID: <019401c3a75a$ee092da0$6401a8c0@yoda> > You need something a little more than just msconfig to find this > mal-ware installed on your machine, Mark, What makes you think that Tom's computer has been invaded by your so-called "mal-ware"? If you can't corroborate his symptoms with a specific invader, what makes you think he'll want to install yet another unknown utility? The way I read your post - it's Spam - complete with misspellings (30 day trail) - YUP, it's a trail! From jcbullas at nildram.co.uk Mon Nov 10 01:24:42 2003 From: jcbullas at nildram.co.uk (John C Bullas) Date: Mon, 10 Nov 2003 07:24:42 +0000 Subject: [thelist] Mailto Question LATE REPLY In-Reply-To: <3FAD7EBE.90405@bath.ac.uk> References: <463aec46578e.46578e463aec@optonline.net> <3FAD7EBE.90405@bath.ac.uk> Message-ID: <6.0.0.22.0.20031110071914.0249bdf0@pop3.nildram.co.uk> At 23:39 08/11/2003, Simon Willison wrote >live4bacon at optonline.net wrote: > >>Hi all, I have a client that is tired of recieving spam to their >>"info@" address, yet they still want a visitor to clicke a link and >>have an e-mail open with a correct "To" address filled in for them. >>Any suggestions on thwarting the spammers? the function: call it with this: FB From S.Denslow at chgl.com Mon Nov 10 03:25:32 2003 From: S.Denslow at chgl.com (Stuart Denslow) Date: Mon, 10 Nov 2003 09:25:32 -0000 Subject: [thelist] Email newsletters Message-ID: <39FE7B4A33ADD5119E0000508BDCCFF8B03469@MAIL> Hi A quick question regarding email newsletters. A site I run sends out a weekly newsletter to subscribers. Most of these work in government health departments and we are finding the newsletter is being blocked by a lot of corporate spam filters - I'm guessing that this is on the grounds of the number of links it contains (its sent individually to each subscriber and as plain text) My question is, is it bad 'etiquette' (for want of a better word) to email the people who's newsletters are being blocked, asking them to have a word with their IT administrator to allow it?? Stuart Denslow From john at johnallsopp.co.uk Mon Nov 10 05:47:29 2003 From: john at johnallsopp.co.uk (john at johnallsopp.co.uk) Date: Mon, 10 Nov 2003 06:47:29 -0500 (EST) Subject: [thelist] Quick Flash/link request Message-ID: <50136.135.196.95.248.1068464849.squirrel@www.johnallsopp.co.uk> Hi I'm new to Flash and it's Monday morning, so things aren't looking good. I want to make a small Flash movie a link in my web page but it's not working. The movie's displaying, but it's not a link. I've replaced the whole Flash stuff with an img and that works, so the link part is working. Is it that objects can't be links or something? So can't I create a flash movie that's a link? Or do I have to do it from within Flash, within the movie? Here's what I've got: Cheers J From jan at artmiks.nl Mon Nov 10 05:36:13 2003 From: jan at artmiks.nl (jan guichelaar [artmiks]) Date: Mon, 10 Nov 2003 12:36:13 +0100 Subject: [thelist] Quick Flash/link request References: <50136.135.196.95.248.1068464849.squirrel@www.johnallsopp.co.uk> Message-ID: <003a01c3a77e$d8faaa50$1001a8c0@janpc> You have to make a button in flash and put the link in there Flash Objects cant be links jan jan at artmiks.nl ==================== Artmiks [image builders] http://www.artmiks.nl ==================== recent projects http://www.kluun.nl http://www.marryyourpet.com http://www.wereldpost.nl http://www.margeting.nl ==================== ----- Original Message ----- From: To: Sent: Monday, November 10, 2003 12:47 PM Subject: [thelist] Quick Flash/link request > Hi > > I'm new to Flash and it's Monday morning, so things aren't looking good. > > I want to make a small Flash movie a link in my web page but it's not > working. The movie's displaying, but it's not a link. I've replaced the > whole Flash stuff with an img and that works, so the link part is working. > > Is it that objects can't be links or something? So can't I create a flash > movie that's a link? Or do I have to do it from within Flash, within the > movie? > > Here's what I've got: > > > > > > > HEIGHT="40" NAME="newsflash" ALIGN="left" > TYPE="application/x-shockwave-flash" > PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> > > > > > Cheers > J > > > -- > * * 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 mikek at brightstorm.co.uk Mon Nov 10 05:39:56 2003 From: mikek at brightstorm.co.uk (mike karthauser) Date: Mon, 10 Nov 2003 11:39:56 +0000 Subject: [thelist] Quick Flash/link request In-Reply-To: <50136.135.196.95.248.1068464849.squirrel@www.johnallsopp.co.uk> Message-ID: on 10/11/03 11:47 am, john at johnallsopp.co.uk at john at johnallsopp.co.uk wrote: > Is it that objects can't be links or something? So can't I create a flash > movie that's a link? Or do I have to do it from within Flash, within the > movie? You cant wrap round a flash movie in the same way you cant with a quicktime movie. You have to make your link in flash. -- 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 evolt at david.us-lot.org Mon Nov 10 05:42:03 2003 From: evolt at david.us-lot.org (David Dorward) Date: Mon, 10 Nov 2003 11:42:03 +0000 Subject: [thelist] Quick Flash/link request In-Reply-To: <50136.135.196.95.248.1068464849.squirrel@www.johnallsopp.co.uk> Message-ID: On Monday, Nov 10, 2003, at 11:47 Europe/London, wrote: > I want to make a small Flash movie a link in my web page but it's not > working. The movie's displaying, but it's not a link. I've replaced the > whole Flash stuff with an img and that works, so the link part is > working. > > Is it that objects can't be links or something? Some objects certainly can't, I don't know about all objects. What does the HTML validator say about inside ? > So can't I create a flash movie that's a link? Correct, flash steals the click (either acting on it, or dropping it on the floor) before it gets to the anchor. > Or do I have to do it from within Flash, within the movie? > Yes... although its usually a bad idea to use flash for links. Its unfriendly to Google, not everyone has the plugin (or could use it if they did), etc. Your circumstances may be unusual though. -- David Dorward http://dorward.me.uk/ From brian at hondaswap.com Mon Nov 10 05:44:53 2003 From: brian at hondaswap.com (Brian Cummiskey) Date: Mon, 10 Nov 2003 06:44:53 -0500 Subject: [thelist] Quick Flash/link request References: <50136.135.196.95.248.1068464849.squirrel@www.johnallsopp.co.uk> Message-ID: <00b601c3a780$0fa52700$640110ac@americancustomercare.com> you have to make the link in flash itself. you can't make an object have an HREF valve. ----- Original Message ----- From: To: Sent: Monday, November 10, 2003 6:47 AM Subject: [thelist] Quick Flash/link request > Hi > > I'm new to Flash and it's Monday morning, so things aren't looking good. > > I want to make a small Flash movie a link in my web page but it's not > working. The movie's displaying, but it's not a link. I've replaced the > whole Flash stuff with an img and that works, so the link part is working. > > Is it that objects can't be links or something? So can't I create a flash > movie that's a link? Or do I have to do it from within Flash, within the > movie? > > Here's what I've got: > > > > > > > HEIGHT="40" NAME="newsflash" ALIGN="left" > TYPE="application/x-shockwave-flash" > PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> > > > > > Cheers > J > > > -- > * * 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 ben.morrison at dogstardesign.co.uk Mon Nov 10 05:43:30 2003 From: ben.morrison at dogstardesign.co.uk (Ben Morrison) Date: Mon, 10 Nov 2003 11:43:30 +0000 Subject: [thelist] Quick Flash/link request In-Reply-To: <50136.135.196.95.248.1068464849.squirrel@www.johnallsopp.co.uk> Message-ID: On 10/11/03 11:47 am, "john at johnallsopp.co.uk" wrote: > Is it that objects can't be links or something? So can't I create a flash > movie that's a link? Or do I have to do it from within Flash, within the > movie? Yes you need to do it from within flash. Make a new button symbol. Only draw in the over/hit state - which will give you a transparent button. Now place this button over the intended link, click on the button instance. Open the actions panel. on (release) { getURL("http://www.mydomain.com/mylink.htm") } Now export your movie. Hope that helps. ben From john at johnallsopp.co.uk Mon Nov 10 06:19:28 2003 From: john at johnallsopp.co.uk (john at johnallsopp.co.uk) Date: Mon, 10 Nov 2003 07:19:28 -0500 (EST) Subject: [thelist] Quick Flash/link request SORTED In-Reply-To: References: <50136.135.196.95.248.1068464849.squirrel@www.johnallsopp.co.uk> Message-ID: <50062.135.196.95.248.1068466768.squirrel@www.johnallsopp.co.uk> Thanks Ben and everyone, I'll give that a go. Best regards J > Make a new button symbol. Only draw in the over/hit state - which will > give you a transparent button. > > Now place this button over the intended link, click on the button > instance. > > Open the actions panel. > > on (release) { > getURL("http://www.mydomain.com/mylink.htm") > } > > Now export your movie. From JCone at municode.com Mon Nov 10 06:02:46 2003 From: JCone at municode.com (Jonathan Cone) Date: Mon, 10 Nov 2003 07:02:46 -0500 Subject: [thelist] Regex and converting HTML tags to lower case Message-ID: <77025926DDD85A4D886C5B8A34E43E74210F5D@exchange.internal.municode.com> >I can identify the tags in regex, but I cannot find any online examples of >using that info to convert the tags to lower case. > >Can anyone help me? Is it possible to do what I'm trying to accomplish >with regex? > Bruce, DevGuru is a very helpful link with asp code. This link is the page on RegEx and should be what your looking for. http://www.devguru.com/Technologies/vbscript/quickref/regexp.html It looks like what you need is the .Replace method. In your code you would possibly want to do something like this: strOutput = objRegExp.Replace (objRegExp.Match, lcase(objRegExp.Match)) or something along those lines. You'll have to check that link and check the syntax (shooting off the cuff with it) Hope that helps, Jonathan From jan at artmiks.nl Mon Nov 10 06:18:58 2003 From: jan at artmiks.nl (jan guichelaar [artmiks]) Date: Mon, 10 Nov 2003 13:18:58 +0100 Subject: [thelist] sending vars to php-page Message-ID: <001701c3a784$d1b2bf20$1001a8c0@janpc> Hi all Sometime i see a url like this : // test.php?1234567890 Instead of : // test.php?id=1234567890 Does anybody knows how this works, or how you can read this vars without knowing their name? thanx jan jan at artmiks.nl ==================== Artmiks [image builders] http://www.artmiks.nl ==================== recent projects http://www.kluun.nl http://www.marryyourpet.com http://www.wereldpost.nl http://www.margeting.nl ==================== From worte at gmx.at Mon Nov 10 06:21:28 2003 From: worte at gmx.at (worte at gmx.at) Date: Mon, 10 Nov 2003 13:21:28 +0100 (MET) Subject: [thelist] Re: Email newsletters References: <20031110120153.13718gmx1@mx014.gmx.net> Message-ID: <1577.1068466888@www51.gmx.net> Stuart Denslow wrote: > My question is, is it bad 'etiquette' (for want of a better word) to email > the people who's newsletters are being blocked, asking them to have a word > with their IT administrator to allow it?? I don't know about etiquette. But you want to reach your subscribers, you don't want to make them work for it! They don't know about technical details anyway, so the most they'd do is forward your letter to the tech department. It's more efficient to contact the IT administrators directly. They're the ones that can tell you why your mailings are blocked, and what you (or they) can do about it. Matthias -- NEU F?R ALLE - GMX MediaCenter - f?r Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gru?, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse f?r Mail, Message, More! +++ From asegu at borg.darktech.org Mon Nov 10 06:55:56 2003 From: asegu at borg.darktech.org (Andrew Seguin) Date: Mon, 10 Nov 2003 07:55:56 -0500 (EST) Subject: [thelist] sending vars to php-page In-Reply-To: <001701c3a784$d1b2bf20$1001a8c0@janpc> References: <001701c3a784$d1b2bf20$1001a8c0@janpc> Message-ID: <1297.69.28.224.53.1068468956.squirrel@intdev.darktech.org> The trick for that is you have to read through the keys of $_GET rather then the values. array_keys() could help you somewhat there, as it returns the array of all keys: addr.php?1234 => $_GET == Array('1234' => ''); array_keys($_GET) == Array(0 => '1234'); If you know exactly what key you want (maybe passing a language flag '?en' or '?fr' to a template, then you can test directly if it is set or not: is_set($_GET['en']) //english. is_set($_GET['fr']) //french. is_set works, empty would not as the value is empty. Hope this helps, Andrew > > > Hi all > > Sometime i see a url like this : > > // test.php?1234567890 > > Instead of : > > // test.php?id=1234567890 > > > Does anybody knows how this works, > or how you can read this vars without knowing their name? > > thanx > > jan > > > > > > jan at artmiks.nl > > ===================Artmiks [image builders] > http://www.artmiks.nl > ===================recent projects > http://www.kluun.nl > http://www.marryyourpet.com > http://www.wereldpost.nl > http://www.margeting.nl > ===================-- > * * 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 jan at artmiks.nl Mon Nov 10 07:28:13 2003 From: jan at artmiks.nl (jan guichelaar [artmiks]) Date: Mon, 10 Nov 2003 14:28:13 +0100 Subject: [thelist] sending vars to php-page References: <001701c3a784$d1b2bf20$1001a8c0@janpc> <1297.69.28.224.53.1068468956.squirrel@intdev.darktech.org> Message-ID: <003a01c3a78e$7e3987c0$1001a8c0@janpc> thanx Andrew The $_GET array is what i was looking for jan at artmiks.nl ==================== Artmiks [image builders] http://www.artmiks.nl ==================== recent projects http://www.kluun.nl http://www.marryyourpet.com http://www.wereldpost.nl http://www.margeting.nl ==================== ----- Original Message ----- From: "Andrew Seguin" To: Sent: Monday, November 10, 2003 1:55 PM Subject: Re: [thelist] sending vars to php-page > The trick for that is you have to read through the keys of $_GET rather > then the values. > > array_keys() could help you somewhat there, as it returns the array of all > keys: > addr.php?1234 => > $_GET == Array('1234' => ''); > array_keys($_GET) == Array(0 => '1234'); > > If you know exactly what key you want (maybe passing a language flag '?en' > or '?fr' to a template, then you can test directly if it is set or not: > is_set($_GET['en']) //english. > is_set($_GET['fr']) //french. > is_set works, empty would not as the value is empty. > > Hope this helps, > Andrew > > > > > > > Hi all > > > > Sometime i see a url like this : > > > > // test.php?1234567890 > > > > Instead of : > > > > // test.php?id=1234567890 > > > > > > Does anybody knows how this works, > > or how you can read this vars without knowing their name? > > > > thanx > > > > jan > > > > > > > > > > > > jan at artmiks.nl > > > > ===================Artmiks [image builders] > > http://www.artmiks.nl > > ===================recent projects > > http://www.kluun.nl > > http://www.marryyourpet.com > > http://www.wereldpost.nl > > http://www.margeting.nl > > ===================-- > > * * 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 ! > > From holmegm at comcast.net Mon Nov 10 07:49:56 2003 From: holmegm at comcast.net (holmegm at comcast.net) Date: Mon, 10 Nov 2003 13:49:56 +0000 Subject: Fear-mongering was [thelist] odd IE worm or something. Message-ID: <111020031349.23915.5205@comcast.net> "Lonnie" wrote: >I had hoped that emails I receive from professional lists such as this would >not contain the sort of fear-mongering crap that is usally spread by newbies >who blindly "send this to everyone you know in your email address book" - >then compromise ALL their friends' email addresses by stacking them all into >the To: field of one email. Er, the Messenger Service being abused is real, and I experienced it long before there were any headlines. I did finally figure out that it was a service and needed to be disabled in Services. IF that was what Tom was suffering from, the news articles actually probably would have helped him. Word-splitting aside, yeah, I'd consider it an exploit that anybody could just suddenly open windows with arbitrary content on my PC. Comparing it to spam is like comparing telemarketing to some process by which my phone can be made to levitate, grow a loudspeaker, and shout ads into my living room whether I answer it or not. There is no particular reason that consumers should have had that service enabled by default, and have to figure out what an open port is, what a windows service is, etc. -- Greg Holmes From pixelmech at yahoo.com Mon Nov 10 07:54:24 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Mon, 10 Nov 2003 05:54:24 -0800 (PST) Subject: [thelist] odd IE worm or something.. In-Reply-To: <003e01c3a757$adf65060$6401a8c0@vn.shawcable.net> Message-ID: <20031110135424.37582.qmail@web12608.mail.yahoo.com> --- Mark Groen wrote: > You need something a little more than just msconfig to find this > mal-ware installed on your machine, I've used this persons' > registry software for a few years now and it really is the best > http://www.jv16.org/ Thanks Mark, I'll try that this evening. > You may even get lucky and the "Acme Browser" jerks have named their > files similar enough to spot easily. LOL - oh I better explain something. The "Acme Browser" thing is from ME. I changed the browser title from "Microsoft Internet Explorer" to "Acme Browser Explosion Dept." with TweakUI (or some such tool). It's just the browser title. :) I think the window they spawn itself has no title other than "==-" or somesuch. Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From gassinaumasis at hotmail.com Mon Nov 10 08:39:13 2003 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Mon, 10 Nov 2003 14:39:13 +0000 Subject: [thelist] IE 6.05 news (?) Message-ID: I just read this piece http://www.winnetmag.com/windowspaulthurrott/Article/ArticleID/40785/windowspaulthurrott_40785.html on a Windows online magazine, which says that Explorer 6.05 will be released in the first half of 2004. It will have some security patches, and it will (according to this article) definitely include popup blocking. The most interesting point, however, is that this short note does not mention the famous Eolas Plugin Alert at all. I've said it before and I'll say it again: I do not believe that Microsoft will include this alert in a real Explorer version, because such an action would be impossible to explain to the average user. For what it's worth, ------------------------------------------------------------------- ppk, freelance web developer Interaction, copywriting, JavaScript, integration http://www.quirksmode.org/ Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/ ------------------------------------------------------------------ _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From mark at markgroen.com Mon Nov 10 09:05:44 2003 From: mark at markgroen.com (Mark Groen) Date: Mon, 10 Nov 2003 07:05:44 -0800 Subject: [thelist] odd IE worm or something.. References: <20031109223445.12514.qmail@web12602.mail.yahoo.com><003e01c3a757$adf65060$6401a8c0@vn.shawcable.net> <019401c3a75a$ee092da0$6401a8c0@yoda> Message-ID: <002701c3a79c$1e0b4e20$6401a8c0@vn.shawcable.net> ----- Original Message ----- Sent: November 09, 2003 11:19 PM Subject: Re: [thelist] odd IE worm or something.. > > You need something a little more than just msconfig to find this > > mal-ware installed on your machine, > > Mark, > > What makes you think that Tom's computer has been invaded by your so-called > "mal-ware"? If you can't corroborate his symptoms with a specific invader, > what makes you think he'll want to install yet another unknown utility? As far as my email being spam, I've used his software for things like this that don't show up in msconfig or are not easily found in the registry - which is what Tom is looking for as far as I can tell. The appy used to be free when he was developing it, but it's good enough to sell imho and he thinks so too obviously. I don't know the guy and am not affiliated etc., it's just good stuff. As far as what makes me think it's something that this appy will find? It's because I've seen the same thing before, and although I can't tell Tom a specific registry key or file name, maybe you can help him yourself instead of just contributing a flame to this thread? cheers, Mark From guy at holler.co.uk Mon Nov 10 09:53:55 2003 From: guy at holler.co.uk (Guy Bowden) Date: Mon, 10 Nov 2003 15:53:55 -0000 Subject: [thelist] Job based in London In-Reply-To: <002701c3a79c$1e0b4e20$6401a8c0@vn.shawcable.net> Message-ID: <004301c3a7a2$dbaaa4c0$0c00a8c0@HollerNet.local> Hi, My company is looking for a new person, if anyone is interested, please read on.. Cheers, Guy ------------------- Front End Developer wanted. Young, Dynamic, London based agency, Holler require a new member. You must be proficient in Interface design and animation, Flash Actionscript, Dynamic HTML (CSS/HTML/Javascript) and have experience integrating a flash/HTML front end with back end technologies such as Flash Remoting, PHP, XML, ASP, SQL. Knowledge of Director a bonus. We require someone with at least 1 years commercial experience, please send your cv and example URLs to : jobs at holler.co.uk. plain text only, no attachments. www.holler.co.uk From pixelmech at yahoo.com Mon Nov 10 09:59:56 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Mon, 10 Nov 2003 07:59:56 -0800 (PST) Subject: [thelist] architecture question Message-ID: <20031110155956.10372.qmail@web12607.mail.yahoo.com> Hi folks, We have an interesting archtecture for our main site here and I was wondering if someone could elaborate on whether it was a good, bad or indifferent type of thing, and if it is common or not. Things are divided into two groups. On a Weblogic server (the App server we call it) are jsp pages and associated java files, etc. The pages are actually .html pages that get processed into jsps (that part I don't know much about) after some processing for various things. On the other side is an IIS web server that serves up all the images, PDFs and some static files. I'm wondering why the split, if it makes sense and so on. I've gotten a couple of half-baked explanations here which did not make sense. Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From marcan at home.se Mon Nov 10 10:19:14 2003 From: marcan at home.se (Marcus Andersson) Date: Mon, 10 Nov 2003 17:19:14 +0100 Subject: SV: [thelist] architecture question In-Reply-To: <20031110155956.10372.qmail@web12607.mail.yahoo.com> Message-ID: <000401c3a7a6$625d5780$0da8a8c0@marcusnb> Maybe they just want to relieve the app server from serving static files (which is actually quite common) and let it focus on the stuff it's there for, that is, creating dynamic content for your site. Weblogic is quite expensive so if you remove handling of static stuff from it I guess you can get more dynamic content for the money (less number of servers). Btw, are you using EJBs or something else that requires a full J2EE container such as Weblogic? /Marcus -----Ursprungligt meddelande----- Fr?n: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] F?r Tom Dell'Aringa Skickat: den 10 november 2003 17:00 Till: thelist at lists.evolt.org ?mne: [thelist] architecture question Hi folks, We have an interesting archtecture for our main site here and I was wondering if someone could elaborate on whether it was a good, bad or indifferent type of thing, and if it is common or not. Things are divided into two groups. On a Weblogic server (the App server we call it) are jsp pages and associated java files, etc. The pages are actually .html pages that get processed into jsps (that part I don't know much about) after some processing for various things. On the other side is an IIS web server that serves up all the images, PDFs and some static files. I'm wondering why the split, if it makes sense and so on. I've gotten a couple of half-baked explanations here which did not make sense. Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) -- * * 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 pixelmech at yahoo.com Mon Nov 10 10:23:53 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Mon, 10 Nov 2003 08:23:53 -0800 (PST) Subject: SV: [thelist] architecture question In-Reply-To: <000401c3a7a6$625d5780$0da8a8c0@marcusnb> Message-ID: <20031110162353.25361.qmail@web12603.mail.yahoo.com> --- Marcus Andersson wrote: > Maybe they just want to relieve the app server from serving static > files (which is actually quite common) and let it focus on the > stuff it's there for, that is, creating dynamic content for your > site. Weblogic is quite expensive so if you remove handling of > static stuff from it I guess you can get more dynamic content for > the money (less number of > servers). Btw, are you using EJBs or something else that requires a > full J2EE container such as Weblogic? Okay that makes some sense and I think that's something along the lines of what I had been told, now that I think about it. I'm not sure on the EJB thing, I don't have full access to the system. But I know we have some fairly sophisticated stuff going on. Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From jabber at raditha.com Mon Nov 10 10:31:08 2003 From: jabber at raditha.com (Raditha Dissanayake) Date: Mon, 10 Nov 2003 22:31:08 +0600 Subject: SV: [thelist] architecture question In-Reply-To: <000401c3a7a6$625d5780$0da8a8c0@marcusnb> References: <000401c3a7a6$625d5780$0da8a8c0@marcusnb> Message-ID: <3FAFBD4C.2020900@raditha.com> Hi, I read an interesting stat some where that most companies that buy very expensive app servers only use the servlet container in the end. :-) Marcus Andersson wrote: >Maybe they just want to relieve the app server from serving static files >(which is actually quite common) and let it focus on the stuff it's >there for, that is, creating dynamic content for your site. Weblogic is >quite expensive so if you remove handling of static stuff from it I >guess you can get more dynamic content for the money (less number of >servers). Btw, are you using EJBs or something else that requires a full >J2EE container such as Weblogic? > >/Marcus > >-----Ursprungligt meddelande----- >Fr?n: thelist-bounces at lists.evolt.org >[mailto:thelist-bounces at lists.evolt.org] F?r Tom Dell'Aringa >Skickat: den 10 november 2003 17:00 >Till: thelist at lists.evolt.org >?mne: [thelist] architecture question > > >Hi folks, > >We have an interesting archtecture for our main site here and I was >wondering if someone could elaborate on whether it was a good, bad or >indifferent type of thing, and if it is common or not. > >Things are divided into two groups. On a Weblogic server (the App server >we call it) are jsp pages and associated java files, etc. The pages are >actually .html pages that get processed into jsps (that part I don't >know much about) after some processing for various things. > >On the other side is an IIS web server that serves up all the images, >PDFs and some static files. > >I'm wondering why the split, if it makes sense and so on. I've gotten a >couple of half-baked explanations here which did not make sense. > >Tom > >===== >http://www.pixelmech.com/ :: Web Development Services >http://www.DMXzone.com/ :: JavaScript Author / Every Friday! >http://www.thywordistruth.net/ :: Eternal Life > >"I'll ho ho and ha ha you!" (Daffy Duck) > > -- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar. From rob.smith at THERMON.com Mon Nov 10 10:54:04 2003 From: rob.smith at THERMON.com (Rob Smith) Date: Mon, 10 Nov 2003 10:54:04 -0600 Subject: [thelist] Wingdings on Submit Buttons? Message-ID: <0CEC8258A6E4D611BE5400306E1CC9271E519D@smtmb.tmc.local> Hi, Has anyone had experience with adding symbols provided by wingdings (other?) on submit buttons? I could simply do two little images and throw in an OnMouseDown script, but wanted something simpler. TIA, Rob Smith From mikek at brightstorm.co.uk Mon Nov 10 11:30:59 2003 From: mikek at brightstorm.co.uk (mike karthauser) Date: Mon, 10 Nov 2003 17:30:59 +0000 Subject: [thelist] Wingdings on Submit Buttons? In-Reply-To: <0CEC8258A6E4D611BE5400306E1CC9271E519D@smtmb.tmc.local> Message-ID: on 10/11/03 4:54 pm, Rob Smith at rob.smith at THERMON.com wrote: > Has anyone had experience with adding symbols provided by wingdings (other?) > on submit buttons? Only works if your users have the right font - set it on a style sheet. > I could simply do two little images and throw in an OnMouseDown script, but > wanted something simpler. The best way if you want to ensure cross platform compatibility. -- 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 evolt at pixelwright.com Mon Nov 10 11:58:41 2003 From: evolt at pixelwright.com (James Aylard) Date: Mon, 10 Nov 2003 09:58:41 -0800 Subject: [thelist] Wingdings on Submit Buttons? References: <0CEC8258A6E4D611BE5400306E1CC9271E519D@smtmb.tmc.local> Message-ID: <00b601c3a7b4$473c9390$5360398a@newcos.com> Rob Smith wrote: > Has anyone had experience with adding symbols provided by wingdings > (other?) on submit buttons? If this is on an Intranet where you are confident users will have the Wingdings font installed, this will work (by applying Wingdings as the font-family for the button-type input or button element). But I wouldn't recommend it on the open Internet, as some visitors to your page may not have the font installed and will likely be confused by the odd characters on the button. James Aylard From k.neirynck at belgacom.net Mon Nov 10 12:53:19 2003 From: k.neirynck at belgacom.net (Kristof Neirynck) Date: Mon, 10 Nov 2003 19:53:19 +0100 Subject: [thelist] Wingdings on Submit Buttons? In-Reply-To: <0CEC8258A6E4D611BE5400306E1CC9271E519D@smtmb.tmc.local> References: <0CEC8258A6E4D611BE5400306E1CC9271E519D@smtmb.tmc.local> Message-ID: <3FAFDE9F.9070403@belgacom.net> Rob Smith wrote: > Has anyone had experience with adding symbols provided by wingdings (other?) > on submit buttons? *NOOO!!* NEVER use fantasy fonts for such important things as submit buttons. I will not explain this any further > I could simply do two little images and throw in an OnMouseDown script, but > wanted something simpler. *NOOOOOO!!!* NEVER use OnMouseDown for forms. There is such a thing as onsubmit and onreset. I hope you get the subtle hints. You could just replace your submit button with this Read this for reference Kristof From edwards at vitesse.com Mon Nov 10 13:15:04 2003 From: edwards at vitesse.com (Carl Edwards) Date: Mon, 10 Nov 2003 11:15:04 -0800 Subject: [thelist] htdig Message-ID: <6E9FB6B656E007438A624FD5D7609C1DB8E126@MX-CAM.vsc.vitesse.com> Hello, We use it for our intranet and public web site. I am very happy with it and the email list is very responsive to questions. Email me directly if you want to discuss in more detail. -Carl Edwards Vitesse > -----Original Message----- > From: Diane Soini [mailto:dianesoini at earthlink.net] > Sent: Friday, November 07, 2003 6:06 PM > To: thelist at lists.evolt.org > Subject: [thelist] htdig > > > I've been researching and testing htdig. Does anyone have experience > with it they could share with me? > > -- > * * 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 jpeth at mac.com Mon Nov 10 13:25:00 2003 From: jpeth at mac.com (J. Anthony Peth) Date: Mon, 10 Nov 2003 11:25:00 -0800 Subject: [thelist] Quick Flash/link request In-Reply-To: Message-ID: > Make a new button symbol. Only draw in the over/hit state - which will give > you a transparent button. My thoughts exactly, except just the hit state is needed. Leave the over state blank. Just cover your whole flash movie with a big rectangular button! From Tab.Alleman at MetroGuide.com Mon Nov 10 14:27:01 2003 From: Tab.Alleman at MetroGuide.com (Tab Alleman) Date: Mon, 10 Nov 2003 15:27:01 -0500 Subject: [thelist] Native website authentication - IIS 5 Message-ID: Remember me? Well... Ken Schaefer wrote: > Native Authentication? You mean authenticating using Windows > usernames/passwords? If so, in the IIS Manager, uncheck "Allow > Anonymous Authentication", and enable one or more of the other > options. Integrated Windows Authentication only works for IE clients. > Basic works for almost all clients, but is relatively insecure (ie > consider using SSL as well). Ok, I did this, using Integrated Windows Authentication, and when I go to the site in IE, I get the pop-up, and I login with what should be correct information. But when I click ok, I get a Cannot find server or DNS Error page. Any ideas why? From dave at dbmdata.com Mon Nov 10 14:31:05 2003 From: dave at dbmdata.com (David Mitchell) Date: Mon, 10 Nov 2003 15:31:05 -0500 Subject: [thelist] JavaScript redirect in frame in IE In-Reply-To: Message-ID: <000101c3a7c9$913dfe10$6501a8c0@opr> Here's the scenario. We have a frameset, within the frameset (in the 3rd frame) there is a link that pops up a JavaScript confirm, notifying the user if the navigate away from this page data in form fields will be lost. If they click ok, I want to load the new page within the same frame. The code works in Moz, but in IE does nothing - no errors, nothing. I've tried 100 different ways of doing this but IE just sits there quietly refusing to cooperate. Here's the function call: [SELECT ADDRESS (Optional)] Here's the function: function confirmSA(ft, fi, edit) { var conf = confirm("NOTE: All unsaved form data will be lost if you proceed."); if (conf) { var url = 'formsmanagement.asp?formtype=' + ft + '&mode=1 &ref=form&fi=' + fi + '&edit=' + edit; parent.window.frames[2].document.location.href = url; } } Any ideas? (note the word wrap in the url in above function - not actually there in the code...) Thanks, Dave From mark at safefrombees.com Mon Nov 10 16:32:00 2003 From: mark at safefrombees.com (Mark M) Date: Tue, 11 Nov 2003 09:32:00 +1100 Subject: [thelist] Wingdings on Submit Buttons? In-Reply-To: <3FAFDE9F.9070403@belgacom.net> References: <0CEC8258A6E4D611BE5400306E1CC9271E519D@smtmb.tmc.local> <3FAFDE9F.9070403@belgacom.net> Message-ID: <1068503520.3fb011e0bf53c@postoffice.tpg.com.au> I use webdings on submits - but I do mainly work on an intranet ;o) so I KNOW everyone has the font. Easier way is apply the a style to the button that has a 'background-image' with the image you want (and probably set the width and high of the button too). That way you still get that nice 'click' effect. HTH Mark ------------------------------------------------------------------ mark at safefrombees.com ICQ: 3094740 Safe From Bees [ www.safefrombees.com ] Quoting Kristof Neirynck : > Rob Smith wrote: > > > Has anyone had experience with adding symbols provided by wingdings > (other?) > > on submit buttons? > > *NOOO!!* > NEVER use fantasy fonts for such important things as submit buttons. > I will not explain this any further > > > I could simply do two little images and throw in an OnMouseDown script, > but > > wanted something simpler. > > *NOOOOOO!!!* > NEVER use OnMouseDown for forms. > There is such a thing as onsubmit and onreset. > > I hope you get the subtle hints. > > You could just replace your submit button with this > > > Read this for reference > > > > Kristof > > -- > * * 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 John.Brooking at sappi.com Mon Nov 10 16:41:21 2003 From: John.Brooking at sappi.com (John.Brooking at sappi.com) Date: Mon, 10 Nov 2003 17:41:21 -0500 Subject: [thelist] Login Screen Security? Message-ID: <471E425A0BB6D211972C00105AC954240556C3C0@soportland.na.sappi.com> Howdy, all, Please pardon another couple of semi-newbie security questions from me. (I'm beginning to feel that you can probably track my coding progress by the questions I'm asking at the time.) So I've added some security to my app, based on having a file of usernames and encrypted passwords. Two questions: * Is the Perl "crypt" function (which says it works exactly like the crypt(3) function in the C library) a sufficient means of encrypting the password? I'm letting the administrator set a "salt" value in the software configuration file, and when a password comes in from the login screen, I encrypt it with the same "salt" and compare the result to the encrypted value in the users file. Sound okay? * If my login screen is not going through an SSL layer, is that a hole? Because it seems to me that if a cracker was sniffing the line, and saw a POST request from a page called login.html, with parameters of "username" and "password", in plain text, what is to stop him (or her) from then going to the site and logging himself in with the same username and password? (Or I could call the page and the parameters something different to be misleading, but that would be "security by obscurity", right?) - John ------------------------ Apologies, as always, for lengthy automatic company-appended disclaimer ------------------------ This message may contain information which is private, privileged or confidential and is intended solely for the use of the individual or entity named in the message. If you are not the intended recipient of this message, please notify the sender thereof and destroy / delete the message. Neither the sender nor Sappi Limited (including its subsidiaries and associated companies) shall incur any liability resulting directly or indirectly from accessing any of the attached files which may contain a virus or the like. From paul at teltest.com Mon Nov 10 17:16:26 2003 From: paul at teltest.com (Paul Bennett) Date: Tue, 11 Nov 2003 12:16:26 +1300 Subject: [thelist] [tip] stop servers caching your dynamic pages Message-ID: <3FB01C4A.7030004@teltest.com> Aside from the nocache and expiry headers / meta tags, if you do not want servers (like WAP gateways) or browsers (like WAP browsers) to serve cached files from an application, add something like this to the end of your url (PHP) $url = '.....&nocache='.rand ().'">Get me a new page'; This will guarantee that the browser / gateway actually does request the page to be processed. (Unless the random string is the same as last time but it has worked flawlessly for me so far ;) ) ------------------------- Paul Bennett visit http://www.clicksave.co.nz For your free report: "10 time-killing web development mistakes and how to avoid them" From fffrancis at fstorr.demon.co.uk Mon Nov 10 17:32:19 2003 From: fffrancis at fstorr.demon.co.uk (fstorr) Date: Mon, 10 Nov 2003 23:32:19 +0000 Subject: [thelist] Simple XPath question Message-ID: <3FB02003.7070203@fstorr.demon.co.uk> Hi all How do I get hold of this element in this code: Please note that company toilets are now strictly out of bounds for fishing expeditions. I can transform the para element fine, but can't seem to get that to be styled inline with its surrounding content. The whole thing is wrapped in:
Some title here Please note that company toilets are now strictly out of bounds for fishing expeditions.
I'm transforming the para with:

Help! Thanks Francis From ken at adOpenStatic.com Mon Nov 10 18:05:40 2003 From: ken at adOpenStatic.com (Ken Schaefer) Date: Tue, 11 Nov 2003 11:05:40 +1100 Subject: [thelist] Native website authentication - IIS 5 References: Message-ID: <018601c3a7e7$8ad6e910$0a345e81@careersAD.unsw.edu.au> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: "Tab Alleman" Subject: RE: [thelist] Native website authentication - IIS 5 Remember me? Well... Ken Schaefer wrote: > Native Authentication? You mean authenticating using Windows > usernames/passwords? If so, in the IIS Manager, uncheck "Allow > Anonymous Authentication", and enable one or more of the other > options. Integrated Windows Authentication only works for IE clients. > Basic works for almost all clients, but is relatively insecure (ie > consider using SSL as well). Ok, I did this, using Integrated Windows Authentication, and when I go to the site in IE, I get the pop-up, and I login with what should be correct information. But when I click ok, I get a Cannot find server or DNS Error page. Any ideas why? -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ That indicates that the browser cannot contact the server - are you doing some kind of redirect on the server that's going to some other address or port that the browser cannot reach? (I the browser can contact the server, and receive a response, then you should see a HTTP status code down the bottom, eg 403.1 Not Authorized or 500 Internel Server Error rather than "Cannot find server or DNS error") Cheers Ken Microsoft MVP - Windows Server (IIS) From mark at safefrombees.com Mon Nov 10 18:15:56 2003 From: mark at safefrombees.com (Mark M) Date: Tue, 11 Nov 2003 11:15:56 +1100 Subject: [thelist] Simple XPath question In-Reply-To: <3FB02003.7070203@fstorr.demon.co.uk> References: <3FB02003.7070203@fstorr.demon.co.uk> Message-ID: <1068509756.3fb02a3c7627c@postoffice.tpg.com.au> Stupid question - >
> Some title here > > > Please note that company toilets are now strictly out of > bounds for fishing expeditions. > > >
Is this valid XML data? Can you have both children and XML text in the same place? Mark ------------------------------------------------------------------ mark at safefrombees.com ICQ: 3094740 Safe From Bees [ www.safefrombees.com ] From marcan at home.se Mon Nov 10 18:18:32 2003 From: marcan at home.se (Marcus Andersson) Date: Tue, 11 Nov 2003 01:18:32 +0100 Subject: SV: [thelist] Simple XPath question In-Reply-To: <3FB02003.7070203@fstorr.demon.co.uk> Message-ID: <000401c3a7e9$574f01c0$0400a8c0@marcusnb> >I'm transforming the para with:

When using you only select the textual content of para to output. You can try the following to get all content for para:

By doing this you will copy all child nodes of para to the result tree (all text nodes, child elements etc.). If you want to make sure that you only copy elements and text you can use instead. /Marcus Ps. There is an excellent FAQ for XSL at http://www.dpawson.co.uk/xsl/xslfaq.html and an equally excellent mailing list for XSL at mulberrytech.com (where you find a lot of XSL book and spec authors) From marcan at home.se Mon Nov 10 18:22:56 2003 From: marcan at home.se (Marcus Andersson) Date: Tue, 11 Nov 2003 01:22:56 +0100 Subject: SV: [thelist] Simple XPath question In-Reply-To: <1068509756.3fb02a3c7627c@postoffice.tpg.com.au> Message-ID: <000501c3a7e9$f483e910$0400a8c0@marcusnb> >
> Some title here > > > Please note that company toilets are now strictly out of > bounds for fishing expeditions. > > >
>Is this valid XML data? >Can you have both children and XML text in the same place? It's perfectly legal if a DTD/Schema (or if there is no DTD/Schema) permits to have mixed content. /Marcus From gravyface at bmfsquad.com Mon Nov 10 18:47:07 2003 From: gravyface at bmfsquad.com (GravyFace) Date: Mon, 10 Nov 2003 19:47:07 -0500 Subject: [thelist] Well-formed HTML email In-Reply-To: Message-ID: Hi all, I'm constantly plagued with problems with mass-mailing (not spam, newsletters :D) HTML messages to various email server/client environments. My latest problem is with Mac Panther Mail, which is supposedly using Safari for its rendering, a 100% W3C standards compliant browser. I also have issues with Lotus Notes and Groupwise. Outlook seems to work fine, regardless of the version. URLs with query strings seem to be getting malformed, as well as the body of the messages themselves. However, after looking at the header of one of our mailings, I noticed that is inserted by either Exchange 2000, my Outlook, or VB's SMTP functions/library (the app the mailer was written in, which I don't have the source too). This might be conflicting with the same meta declaration for text/html. Any ideas? I'd love to see some documentation/books on making well-formed, standards compliant emails -- you would think that the mail client would be like a browser but nothing ceases to amaze me. :) From evolt at matchpenalty.com Mon Nov 10 19:02:33 2003 From: evolt at matchpenalty.com (Roger Ly) Date: Mon, 10 Nov 2003 17:02:33 -0800 Subject: [thelist] Outputting HTML data to do locations without storing in a buffer Message-ID: <9B9B61FC5C65A94EAFC1950F2E58FCF80231980B@postal.ksi.homestead-corp.com> Hey all, I'm working on a small internal web application which needs to both display and email content to individuals. Since it is a closed system with everyone using Outlook, we decided to send out HTML emails to make things a little more readable and consistent with the web interface. In keeping things easily editable/viewable in standard HTML editors, I would like to avoid, as much as possible, storing the content of the browser and emails in a string which just gets outputted to the two locations. It'd be nice to write out primarily HTML code, interspersed with some PHP logic. Getting that to work when just outputting to a browser is pretty straightforward, but I can't figure out a good solution to duplicate that for output to an email. Is there an easy way to maintain the 95% HTML/5% PHP code and output it to both a browser and an email without wrapping everything in a string? Basically, can I avoid: $output = ' .. '; echo $output; mail ($email, $subject, $output, $headers); Any thoughts would be much appreciated. Thanks, Roger From asegu at borg.darktech.org Mon Nov 10 19:20:37 2003 From: asegu at borg.darktech.org (Andrew Seguin) Date: Mon, 10 Nov 2003 20:20:37 -0500 (EST) Subject: [thelist] Outputting HTML data to do locations without storing in abuffer In-Reply-To: <9B9B61FC5C65A94EAFC1950F2E58FCF80231980B@postal.ksi.homestead-corp.co m> References: <9B9B61FC5C65A94EAFC1950F2E58FCF80231980B@postal.ksi.homestead-corp.com> Message-ID: <4334.137.122.89.222.1068513637.squirrel@intdev.darktech.org> I have two ideas, basicaly both are the same: store the HTML in a seperate file. get the contents/include depending on need. if you only need html: -------- $html_file = './htmlfile.html'; $msg = file_get_contents($html_file); echo($msg); mail ($email, $subject, $output, $headers); -------- or, if you have some php in your html output: -------- $phpbuilt_html_file = './phpfile.php'; $msg = include($phpbuilt_html_file); echo($msg); mail ($email, $subject, $outupt, $headers); -------- hope that helps. Andrew > Hey all, > > I'm working on a small internal web application which needs to both > display and email content to individuals. Since it is a closed system > with everyone using Outlook, we decided to send out HTML emails to make > things a little more readable and consistent with the web interface. > > In keeping things easily editable/viewable in standard HTML editors, I > would like to avoid, as much as possible, storing the content of the > browser and emails in a string which just gets outputted to the two > locations. It'd be nice to write out primarily HTML code, interspersed > with some PHP logic. Getting that to work when just outputting to a > browser is pretty straightforward, but I can't figure out a good > solution to duplicate that for output to an email. > > Is there an easy way to maintain the 95% HTML/5% PHP code and output it > to both a browser and an email without wrapping everything in a string? > > Basically, can I avoid: > > $output = ' > > > > .. > > '; > > echo $output; > mail ($email, $subject, $output, $headers); > > Any thoughts would be much appreciated. > > Thanks, > > Roger > > -- > * * 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 dianesoini at earthlink.net Mon Nov 10 20:08:44 2003 From: dianesoini at earthlink.net (Diane Soini) Date: Mon, 10 Nov 2003 18:08:44 -0800 Subject: [thelist] odd IE worm or something.. In-Reply-To: <200311092132.1aj4Fw4SM3NZFkN0@swallow> Message-ID: How's this for a short exerpt: On Sunday, November 9, 2003, at 09:32 PM, thelist-request at lists.evolt.org wrote: >> What happens is that a IE window spawns of *its own accord.* Anyway, this exact same thing happened yesterday to my boyfriend on his Windows XP computer. I remembered some recent posts to this list for something called lavasoft and he went out and got it, installed it and ran it and it helped. Turned out he had something like 39 viruses, ad-wares, spy-wares and whatever else is out there. (That's probably not the right terminology for this junk, but I'm a mac user so how would I know?) Problem was solved. Thanks so much for this list! It is so helpful! From ken at adOpenStatic.com Mon Nov 10 21:20:38 2003 From: ken at adOpenStatic.com (Ken Schaefer) Date: Tue, 11 Nov 2003 14:20:38 +1100 Subject: [thelist] IE 6.05 news (?) References: Message-ID: <080f01c3a802$c7d175e0$0a345e81@careersAD.unsw.edu.au> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: "Peter-Paul Koch" Subject: [thelist] IE 6.05 news (?) : : I just read this piece : : http://www.winnetmag.com/windowspaulthurrott/Article/ArticleID/40785/windowspaulthurrott_40785.html : : on a Windows online magazine, which says that Explorer 6.05 : will be released in the first half of 2004. It will have some : security patches, and it will (according to this article) : definitely include popup blocking. : : The most interesting point, however, is that this short : note does not mention the famous Eolas Plugin Alert : at all. I've said it before and I'll say it again: I do not : believe that Microsoft will include this alert in a real : Explorer version, because such an action would be : impossible to explain to the average user. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Certainly I do not believe that the Eolas Plugin Alert will be included until all legal avenues have been exhausted... Even then, I would imagine that Microsoft would not want to roll it out too aggresively (ie, not via a Service Pack if it can avoid it), for exactly the reason you specify. However, Microsoft isn't going to blatantly ignore the law just because it's difficult to explain something to users. That'd be irresponsible management - I'm pretty sure the owners (aka shareholders) will be pretty p*ssed if Microsoft has to pay some huge fine for breaking the law. Cheers Ken Microsoft MVP - Windows Server (IIS) From cira at bork.hampshire.edu Mon Nov 10 21:43:46 2003 From: cira at bork.hampshire.edu (|| cira ||) Date: Mon, 10 Nov 2003 22:43:46 -0500 (EST) Subject: [thelist] authorize.net form submission Message-ID: Hey all, I have more of a "best practices" question rather than a scripting problem. FYI, I'm using the Advanced Integration Method (AIM) on authorize.net to make credit card based transactions. I'm writing the scripts in PHP. For anyone who doesn't know how the process works, it goes something like this, very simplified: 1. Get user information through form over SSL. 2. Submit data to authorize using the POST method. 3. Receive and process data from authorize.net. There is a minimum amount of data that you need to send to authorize to process a card. In my version of AIM, you must supply your authorize.net login ID, password, in addition to the card information. The problem is, right now I have those values in hidden form fields: This is not good. Any user could view source and see the sensitive info. Not what I want. I can only think of one way around this, and it's not the best, I feel like I'm missing something really easy. Sometimes the simplest solution is the last thing you're thinking of. 1) Submit the form to another PHP script where a second form resides. Using PHP, output the loginID, password and previous $_POST data into the form. Then submit the form automatically using JavaScript. After the JS submits the form to authorize, the user will be redirected to a confirmation / error page. The problem with this method is that essentially if the user knew the name of the PHP script, they could still see the form vars, ADDITIONALLY, they would be able to see the all the credit card information! Also, it seems silly to have to create a second form and use JS to accomplish this. I'm going on the assumption that you HAVE to submit the data to authorize using a form like this:
Maybe there is a way to append the data to the $_POST array and submit that array to authorize without using a second form. So far, I have not come across any documentation stating otherwise. I have tried googling for some help, and did a very quick search of the evolt list archives. There were a couple of authorize threads, but none seemed to address this problem. Thanks in advance, I just know I'm missing something simple. -Samantha From asegu at borg.darktech.org Mon Nov 10 22:01:24 2003 From: asegu at borg.darktech.org (Andrew Seguin) Date: Mon, 10 Nov 2003 23:01:24 -0500 (EST) Subject: [thelist] authorize.net form submission In-Reply-To: References: Message-ID: <1734.69.28.224.53.1068523284.squirrel@intdev.darktech.org> If I understood correctly, you want your PHP script to POST to a secure site. I agree with you to 100% that it is definitly not a good idea to send the data back to the user's browser and have that submit it. The basic idea is that you have to create a POST request yourself over sockets. in a generic fashion (post to http:// ): http://pineappletechnologies.com/phplore/idx/0/007/article/Constructing_a_POST_request_without_cURL.html over ssl (post to https:// ): http://www.phpbuilder.com/board/showthread.php?threadid=10224631 but do take note that on php's page for "fsockopen" ( http://www.php.net/manual/en/function.fsockopen.php ) that there is a link to the page that describes the "List of Supported Socket Transports" ( http://www.php.net/manual/en/transports.php ) and there it says: "ssl:// & tls:// since PHP 4.3" ...so you will want at least version 4.3 on your server for doing this. Hope this helps, Andrew From cira at bork.hampshire.edu Mon Nov 10 22:07:20 2003 From: cira at bork.hampshire.edu (|| cira ||) Date: Mon, 10 Nov 2003 23:07:20 -0500 (EST) Subject: [thelist] authorize.net form submission In-Reply-To: <1734.69.28.224.53.1068523284.squirrel@intdev.darktech.org> Message-ID: Andrew Seguin wrote: > The basic idea is that you have to create a POST request yourself over > sockets. See, simplicity. I never even thought about opening the port over sockets with PHP. I think that should do it. > ...so you will want at least version 4.3 on your server for doing this. No problem there. I will let you know how it goes. Thanks. -Samantha From bedouglas at earthlink.net Tue Nov 11 00:45:36 2003 From: bedouglas at earthlink.net (bruce) Date: Mon, 10 Nov 2003 22:45:36 -0800 Subject: [thelist] prototyping tool... In-Reply-To: Message-ID: <001401c3a81f$6b5e2390$0301a8c0@Mesa.com> hi... looking for a simple (!!!) tool that will allow me to prototype a web site. i'd like to be able to create a simple layout, with horizontal/vertical menus, add some content, have links, etc... i'm using a win2K box.... any ideas/sugestions....??? thanks -bruce -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org]On Behalf Of || cira || Sent: Monday, November 10, 2003 8:07 PM To: thelist at lists.evolt.org Subject: Re: [thelist] authorize.net form submission Andrew Seguin wrote: > The basic idea is that you have to create a POST request yourself over > sockets. See, simplicity. I never even thought about opening the port over sockets with PHP. I think that should do it. > ...so you will want at least version 4.3 on your server for doing this. No problem there. I will let you know how it goes. Thanks. -Samantha -- * * 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 ken at adOpenStatic.com Tue Nov 11 00:42:10 2003 From: ken at adOpenStatic.com (Ken Schaefer) Date: Tue, 11 Nov 2003 17:42:10 +1100 Subject: [thelist] prototyping tool... References: <001401c3a81f$6b5e2390$0301a8c0@Mesa.com> Message-ID: <0cb401c3a81e$ef45a530$0a345e81@careersAD.unsw.edu.au> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: "bruce" Subject: [thelist] prototyping tool... : looking for a simple (!!!) tool that will allow me to prototype : a web site. i'd like to be able to create a simple layout, : with horizontal/vertical menus, add some content, : have links, etc... : : i'm using a win2K box.... : : any ideas/sugestions....??? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Start -> Run -> Notepad Probably about as simple as you can get. Though you probably won't be very productive. Otherwise, look at Macromedia Dreamweaver MX, or Microsoft Frontpage 2003 (if you want WYSIWYG type tools), or Homesite or UltraEdit if you want hand-code your HTML. Cheers Ken Microsoft MVP - Windows Server (IIS) From spambait at onpointsolutions.com Tue Nov 11 00:52:06 2003 From: spambait at onpointsolutions.com (Bob Haroche) Date: Mon, 10 Nov 2003 22:52:06 -0800 Subject: [thelist] prototyping tool... References: <001401c3a81f$6b5e2390$0301a8c0@Mesa.com> Message-ID: <009e01c3a820$52932260$9865fea9@OFFICE> > looking for a simple (!!!) tool that will allow me to prototype > a web site. i'd like to be able to create a simple layout, with > horizontal/vertical menus, add some content, have links, etc... Visio has stencils for web IA. If you want clickable web pages, though, and use Dreamweaver, there's a great and free extension called wireframing you can find on the MM Exchange. If you don't, let me know and I can post a copy. ------------- Regards, Bob Haroche O n P o i n t S o l u t i o n s www.OnPointSolutions.com From cira at bork.hampshire.edu Tue Nov 11 00:54:17 2003 From: cira at bork.hampshire.edu (|| cira ||) Date: Tue, 11 Nov 2003 01:54:17 -0500 (EST) Subject: [thelist] authorize.net form submission In-Reply-To: <1734.69.28.224.53.1068523284.squirrel@intdev.darktech.org> Message-ID: Andrew Seguin wrote: > but do take note that on php's page for "fsockopen" ( > http://www.php.net/manual/en/function.fsockopen.php ) that there is a link > to the page that describes the "List of Supported Socket Transports" ( > http://www.php.net/manual/en/transports.php ) and there it says: > > "ssl:// & tls:// since PHP 4.3" So yeah, now that I've done a little more research I've found all I need to know from forums and the PHP manual. This is my first time dealing with PHP, SSL, and Authorize.net. I think what confused me was the lack of explanation between the AIM and SIM methods in the authorize documentation. Also, the Authorize.net user interface combines all possible methods of connecting to the gateway, so in the settings page, there are options for both AIM and SIM and the interface doesn't explain which is which or really differ between the two. The lowdown is that AIM is a direct response and the gateway will dump the response information right back to the browser when posting from a form, so that will not work. You have to use, like you said, the fsockopen() function to connect to the server and use PHP's urlencode() function to simulate the $_POST data. Previously, before PHP 4.3, the only way to connect to a secure socket was with the CURL functions, that is if you aren't using something like PayPal which PHP has specific functions for. Using the SIM method, you supply a URL for authorize to send the data to. I was under the impression that's what AIM was, which is where I was confused. Maybe I missed a big concept that other people didn't, but if the documentation had just explained the difference clearly, it would have helped a lot. I hope this helps anyone who is building a similar app. A lot of the forum posts and articles out there were written before PHP 4.3 and are not up-to-date. I was able to write a very small script to send the $_POST data and and parse the response data using just a few built-in PHP functions. -Samantha From burgan at iprimus.com.au Tue Nov 11 01:02:56 2003 From: burgan at iprimus.com.au (Tim Burgan) Date: Tue, 11 Nov 2003 17:32:56 +1030 Subject: [thelist] Javascript - Form value undefined Message-ID: <001d01c3a821$d65e5780$050a8aca@timburgan> Hello, I'm doing a basic JavaScript course at the moment - I'm trying to use logical operators at the moment, but I've got stuck right at the beginning with submitting a value from a form into JavaScript. I've stripped the page down to 2 forms that are identical except from the data input methods - 1 works (text inputs), 1 doesn't (radio inputs). The form with the radio button displays a result of 'undefined', when it should be either 0 or 0.25 Can someone please take a look at this to kelp me out? Thanks for your time Tim Burgan From ken at adOpenStatic.com Tue Nov 11 01:13:42 2003 From: ken at adOpenStatic.com (Ken Schaefer) Date: Tue, 11 Nov 2003 18:13:42 +1100 Subject: [thelist] Javascript - Form value undefined References: <001d01c3a821$d65e5780$050a8aca@timburgan> Message-ID: <001f01c3a823$56b77050$0a345e81@careersAD.unsw.edu.au> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: "Tim Burgan" Subject: [thelist] Javascript - Form value undefined : I'm doing a basic JavaScript course at the moment - : I'm trying to use logical operators at the moment, but : I've got stuck right at the beginning with : submitting a value from a form into JavaScript. : : I've stripped the page down to 2 forms that are identical : except from the data input methods - 1 works (text inputs), : 1 doesn't (radio inputs). ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This should get you started: 1
2
From jcbullas at nildram.co.uk Tue Nov 11 03:12:29 2003 From: jcbullas at nildram.co.uk (John C Bullas) Date: Tue, 11 Nov 2003 09:12:29 +0000 Subject: [thelist] odd IE worm or something.. In-Reply-To: References: <200311092132.1aj4Fw4SM3NZFkN0@swallow> Message-ID: <6.0.0.22.0.20031111091021.0242e5f0@pop3.nildram.co.uk> At 02:08 11/11/2003, Diane Soini wrote >How's this for a short exerpt: >On Sunday, November 9, 2003, at 09:32 PM, thelist-request at lists.evolt.org >wrote: > >>>What happens is that a IE window spawns of *its own accord.* > >Anyway, this exact same thing happened yesterday to my boyfriend on his >Windows XP computer. I remembered some recent posts to this list for >something called lavasoft and he went out and got it, installed it and ran >it and it helped. Turned out he had something like 39 viruses, ad-wares, >spy-wares and whatever else is out Lavasoft Addaware? brilliant stuff..... buy him an antivirus package for Christmas, Addaware is not an anti-virus package :) It sounds like he was using Kazaa and not Kazaa Lite ( cracked version of Kazaa without the spyware and nasties) to download his Frank Sinatra videos FB >there. (That's probably not the right terminology for this junk, but I'm a >mac user so how would I know?) > >Problem was solved. > >Thanks so much for this list! It is so helpful! From ghopson at mac.com Tue Nov 11 04:34:48 2003 From: ghopson at mac.com (Geoff Hopson) Date: Tue, 11 Nov 2003 10:34:48 +0000 Subject: [thelist] [novice] Help with CSS layout Message-ID: Hi, I'm trying to create a page template for a WebObjects application, and use CSS to define the layout instead of tables. I am a CSS novice, and the layout is killing me. I can fall back to tables if I have to, so this is all academic right now. But, I want to learn! I'm trying to create a bordered column of text, with images to define the left and right hand sides of the text. *** I need the height of these to adjust to fit the content ***. I thought that setting the background-image would help me. Here's where I am: http://objectology.co.uk/~ghopson/md/ How do I add a right hand column? And how would I go about adding a column in the middle for a two column display? Thanks for any help, Geoff -- Geoff Hopson Objectology Ltd. http://www.objectology.co.uk/ From S.Denslow at chgl.com Tue Nov 11 04:56:02 2003 From: S.Denslow at chgl.com (Stuart Denslow) Date: Tue, 11 Nov 2003 10:56:02 -0000 Subject: [thelist] [novice] Help with CSS layout Message-ID: <39FE7B4A33ADD5119E0000508BDCCFF8B03487@MAIL> Geoff This may help: http://www.thenoodleincident.com/tutorials/box_lesson/boxes.html -----Original Message----- From: Geoff Hopson [mailto:ghopson at mac.com] Sent: 11 November 2003 10:35 To: thelist at lists.evolt.org Subject: [thelist] [novice] Help with CSS layout Hi, I'm trying to create a page template for a WebObjects application, and use CSS to define the layout instead of tables. I am a CSS novice, and the layout is killing me. I can fall back to tables if I have to, so this is all academic right now. But, I want to learn! I'm trying to create a bordered column of text, with images to define the left and right hand sides of the text. *** I need the height of these to adjust to fit the content ***. I thought that setting the background-image would help me. Here's where I am: http://objectology.co.uk/~ghopson/md/ How do I add a right hand column? And how would I go about adding a column in the middle for a two column display? Thanks for any help, Geoff -- Geoff Hopson Objectology Ltd. http://www.objectology.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 webdev at megalion.org Tue Nov 11 05:53:34 2003 From: webdev at megalion.org (Megalion) Date: Tue, 11 Nov 2003 03:53:34 -0800 Subject: [thelist] CSS issue, delinking?? Message-ID: <4.2.0.58.20031111035145.014f0f90@64.5.40.20> In Mozilla 1.4.1 on WinXP (and presumably other Win OSes), someone reported to me that the "previous" links on my blog don't work. http://ponder.megalion.org/archives/individual/2003_11/000638.html?override= venturaSunset The previous link on this entry is "wow". I don't understand what's causing the link to delinkify so that you can't click on it. Could anyone shed some light? Thanks Megalion From chris.nimmo at stl.org Tue Nov 11 06:44:25 2003 From: chris.nimmo at stl.org (Chris Nimmo) Date: Tue, 11 Nov 2003 12:44:25 -0000 Subject: [thelist] ASP - Highlighting words in a string Message-ID: <4CE9532F3609934AA6C0383ED5CEC60D4D955C@ntmail2k.ntstl.stl.org> Heyhey, I'm not an expert with ASP but earlier today I was trying to make a script that would grab the first (x) words from a string and emphasise them. I almost turned to theList for help but eventually got it working. <% Dim msg1, counter, numwords msg1 = "one two three four five six seven eight nine ten" numwords = 4 for counter = 1 to numwords msgbegin = msgbegin & Left(msg1, InStr(msg1, " ")) msg1 = Mid(msg1,InStr(msg1, " ")+1,Len(msg1)) next Response.Write("" & msgbegin & "" & msg1) %> Chris _____________________________________________________________________ This e-mail has been scanned for viruses by MCI's Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com . From Graham.Bird at rspb.org.uk Tue Nov 11 06:47:23 2003 From: Graham.Bird at rspb.org.uk (Bird, Graham) Date: Tue, 11 Nov 2003 12:47:23 -0000 Subject: [thelist] That browser checking service... Message-ID: <665521262709BB4088F780D667B8ECE53E16EE@saturn.RSPB.ORG.UK> Hi, A while back someone flagged up a new (commercial?) tool for testing sites on multiple browsers. I can't find a reference to it in the archive, or on Google. Can anyone remember what it was? I seem to remember that the service had a cluster of servers with browsers installed on it. These servers "ran" your page and served back a screenshot or the like. I believe it was a monthly subscription thing. Any ideas? Graham From j.dobson at find-a-part.com Tue Nov 11 06:45:20 2003 From: j.dobson at find-a-part.com (John Dobson) Date: Tue, 11 Nov 2003 12:45:20 -0000 Subject: FW: [thelist] That browser checking service... Message-ID: > A while back someone flagged up a new (commercial?) tool for > testing sites > on multiple browsers. I can't find a reference to it in the > archive, or on > Google. Can anyone remember what it was? www.browsercam.com ? HTH John From ldelahunty at britstream.com Tue Nov 11 07:05:20 2003 From: ldelahunty at britstream.com (Liam Delahunty) Date: Tue, 11 Nov 2003 13:05:20 -0000 Subject: [thelist] SSL cert check. https://secure.britstream.com/~corx/ Message-ID: I've had a couple of people report certificate validation / security errors as they try to checkout on http://www.corx.co.uk/ which pops over to the secure server. https://secure.britstream.com/~corx/ Would you kind souls check the following link and let me know if 1. The seal says the site is secure 2. Clicking on the seal (pop up) confirms that the cert is valid & site secure. 3. any other messages you may get from the browser. I've checked (on windows me), IE 5.5, Opera 6.04, a slightly old Moz and in Netscape 7 and it's okay for me. The client has seen the error on IE whatever for Mac (OS 9). Kind regards, Liam Delahunty, Mega Products Limited From evolt at muinar.com Tue Nov 11 07:20:23 2003 From: evolt at muinar.com (muinar) Date: Tue, 11 Nov 2003 14:20:23 +0100 Subject: [thelist] SSL cert check. https://secure.britstream.com/~corx/ In-Reply-To: Message-ID: <5.0.2.1.2.20031111141830.00a516a0@mail.muinar.com> At 14:05 11.11.03, you wrote: >https://secure.britstream.com/~corx/ >Would you kind souls check the following link and let me know if >1. The seal says the site is secure >2. Clicking on the seal (pop up) confirms that the cert is valid & site >secure. >3. any other messages you may get from the browser. Everything ok from here (Win 98 IE6 and Moz Firebird, Switzerland) Mike From ghopson at mac.com Tue Nov 11 08:24:53 2003 From: ghopson at mac.com (Geoff Hopson) Date: Tue, 11 Nov 2003 14:24:53 +0000 Subject: [thelist] SSL cert check. https://secure.britstream.com/~corx/ In-Reply-To: Message-ID: The padlock shows up but says that it is an invalid certificate. MacOSX 10.2.8, Safari 1.0 On IE5 on Mac, broken image... HTH, Geoff On Tuesday, November 11, 2003, at 01:05 pm, Liam Delahunty wrote: > I've had a couple of people report certificate validation / security > errors > as they try to checkout on > http://www.corx.co.uk/ which pops over to the secure server. > > https://secure.britstream.com/~corx/ > Would you kind souls check the following link and let me know if > 1. The seal says the site is secure > 2. Clicking on the seal (pop up) confirms that the cert is valid & site > secure. > 3. any other messages you may get from the browser. > > I've checked (on windows me), IE 5.5, Opera 6.04, a slightly old Moz > and in > Netscape 7 and it's okay for me. The client has seen the error on IE > whatever for Mac (OS 9). > > > Kind regards, > Liam Delahunty, > Mega Products Limited > > -- > * * 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 ! > > -- Geoff Hopson Objectology Ltd. http://www.objectology.co.uk/ From kverens at contactjuggling.org Tue Nov 11 08:26:53 2003 From: kverens at contactjuggling.org (Kae Verens) Date: Tue, 11 Nov 2003 14:26:53 +0000 Subject: [thelist] displaying character entities in textareas Message-ID: <3FB0F1AD.9000508@contactjuggling.org> I am writing a gui for some text formatting codes that I use in my CMS, and am having a bit of trouble doing what I want to do. As an example, I presently enable bold type similar to here: "this is *bold* text" - my text filter then strips out those asterices and replaces them with and I want to stop using the asterix character for this purpose, though, and the others I use ('/' for italics, '_' for underline, etc), and replace them with other more unlikely-to-be-mistakenly-used characters. For example, underline might use the µ sign, which looks like a 'u', but is unlikely to crop up in a paragraph. The trouble is - I'm trying to insert these characters into textareas on teh click of a button - how can I enter character entities into a textarea? When I try with teh HTML of it, it simply shows up as 'This text is µunderlinedµ", which is just daned ugly - I want the actual character to be placed instead. Ideas? Kae From Brian at hondaswap.com Tue Nov 11 08:39:06 2003 From: Brian at hondaswap.com (Brian Cummiskey) Date: Tue, 11 Nov 2003 09:39:06 -0500 Subject: [thelist] SSL cert check. https://secure.britstream.com/~corx/ In-Reply-To: Message-ID: <000601c3a861$92614c50$e6dffea9@breal> > I've had a couple of people report certificate validation / security > errors I installed it just fine, and shows padlocked. No errors of any kind. Xp pro/ie 6 From Tab.Alleman at MetroGuide.com Tue Nov 11 08:39:43 2003 From: Tab.Alleman at MetroGuide.com (Tab Alleman) Date: Tue, 11 Nov 2003 09:39:43 -0500 Subject: [thelist] Native website authentication - IIS 5 Message-ID: Ken Schaefer wrote: > Ok, I did this, using Integrated Windows Authentication, and when I go > to the site in IE, I get the pop-up, and I login with what should be > correct information. But when I click ok, I get a Cannot find server > or DNS Error page. Any ideas why? > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > That indicates that the browser cannot contact the server - are you > doing some kind of redirect on the server that's going to some other > address or port that the browser cannot reach? > > Cheers > Ken I am using my hosts file to force the computer to use the website on my local box when I go to this particular URL. Does enabling Authentication somehow cause the browser to go around the host file and use the web, because this is a URL that doesn't exist on the Internet. If so, is there any way to have my hosts file and authentication too? From dunstan at 1976design.com Tue Nov 11 09:54:06 2003 From: dunstan at 1976design.com (Dunstan Orchard) Date: Tue, 11 Nov 2003 15:54:06 +0000 Subject: [thelist] Javascript: altering BG color of multiple divs with one click Message-ID: <20031111155406.M49813@1976design.com> Hi there, I wonder if anyone could put on their best Javascript Pants and take a look at this problem for me: http://www.1976design.com/dev/divcolor/ In a nutshell: I have a set of six divs. I'd like to be able to click on any one div and have its background-color change. It would then stay changed until another div was clicked on, at which point it would return to the default color and the new div's color would change, and so on... I'd also like to be able to click on a div and have it alter the color of other divs. For example, clicking on Div 3 would alter its color and that of Div 1. Can anyone help out? Thanks very much - Dunstan --------------------------- Dorset, England http://www.1976design.com/ http://www.1976design.com/blog/ From pete.prodoehl at cygnusinteractive.com Tue Nov 11 10:02:34 2003 From: pete.prodoehl at cygnusinteractive.com (Pete Prodoehl) Date: Tue, 11 Nov 2003 10:02:34 -0600 Subject: [thelist] htdig In-Reply-To: <0C217BAF-1190-11D8-9F3D-00039358CB42@earthlink.net> References: <0C217BAF-1190-11D8-9F3D-00039358CB42@earthlink.net> Message-ID: <3FB1081A.70803@cygnusinteractive.com> Diane Soini wrote: > I've been researching and testing htdig. Does anyone have experience > with it they could share with me? I've used ht://Dig for a number of sites, and it's pretty nice. It uses it's own datafiles, so there's no need for a separate database. I've used it under *nix based OS's like FreeBSD, Linux, and Mac OS X, but not Windows. You might also look at mnoGoSearch, which I've tested but haven't deployed on any live sites yet. It does require a database though. I've used MySQL but I believe it may work with others. There's also a Windows version of mnoGoSearch if needed. Pete From pete.prodoehl at cygnusinteractive.com Tue Nov 11 10:09:07 2003 From: pete.prodoehl at cygnusinteractive.com (Pete Prodoehl) Date: Tue, 11 Nov 2003 10:09:07 -0600 Subject: [thelist] Well-formed HTML email In-Reply-To: References: Message-ID: <3FB109A3.4010807@cygnusinteractive.com> GravyFace wrote: > Hi all, > > I'm constantly plagued with problems with mass-mailing (not spam, > newsletters :D) HTML messages to various email server/client environments. > My latest problem is with Mac Panther Mail, which is supposedly using Safari > for its rendering, a 100% W3C standards compliant browser. > I also have issues with Lotus Notes and Groupwise. Outlook seems to work > fine, regardless of the version. URLs with query strings seem to be getting > malformed, as well as the body of the messages themselves. > > However, after looking at the header of one of our mailings, I noticed that > is inserted by either > Exchange 2000, my Outlook, or VB's SMTP functions/library (the app the > mailer was written in, which I don't have the source too). This might be > conflicting with the same meta declaration for text/html. > > Any ideas? I'd love to see some documentation/books on making well-formed, > standards compliant emails -- you would think that the mail client would be > like a browser but nothing ceases to amaze me. :) Well, if you're willing to get your hands dirty using Perl, the MIME::Lite module should give you control over everything. You can author your HTML email in your editor of choice and then make Perl send your email. (I'm assuming other languages might have modules that allow similar amounts of control?) Pete From kilimajer at webglobe.sk Tue Nov 11 10:18:54 2003 From: kilimajer at webglobe.sk (Marek Kilimajer) Date: Tue, 11 Nov 2003 17:18:54 +0100 Subject: [thelist] SSL cert check. https://secure.britstream.com/~corx/ In-Reply-To: References: Message-ID: <3FB10BEE.4050108@webglobe.sk> It should depend on if your browser trusts Thawte Server CA - certificate authority. It must be built in, that is the browser must come with this CA's public key preinstalled. Geoff Hopson wrote: > The padlock shows up but says that it is an invalid certificate. > > MacOSX 10.2.8, Safari 1.0 > > On IE5 on Mac, broken image... > > HTH, > Geoff > > On Tuesday, November 11, 2003, at 01:05 pm, Liam Delahunty wrote: > >> I've had a couple of people report certificate validation / security >> errors >> as they try to checkout on >> http://www.corx.co.uk/ which pops over to the secure server. >> >> https://secure.britstream.com/~corx/ >> Would you kind souls check the following link and let me know if >> 1. The seal says the site is secure >> 2. Clicking on the seal (pop up) confirms that the cert is valid & site >> secure. >> 3. any other messages you may get from the browser. >> >> I've checked (on windows me), IE 5.5, Opera 6.04, a slightly old Moz >> and in >> Netscape 7 and it's okay for me. The client has seen the error on IE >> whatever for Mac (OS 9). >> >> >> Kind regards, >> Liam Delahunty, >> Mega Products Limited >> >> -- >> * * 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 ! >> >> > -- > Geoff Hopson > Objectology Ltd. > http://www.objectology.co.uk/ > From pete.prodoehl at cygnusinteractive.com Tue Nov 11 10:20:26 2003 From: pete.prodoehl at cygnusinteractive.com (Pete Prodoehl) Date: Tue, 11 Nov 2003 10:20:26 -0600 Subject: [thelist] displaying character entities in textareas In-Reply-To: <3FB0F1AD.9000508@contactjuggling.org> References: <3FB0F1AD.9000508@contactjuggling.org> Message-ID: <3FB10C4A.4090805@cygnusinteractive.com> Kae Verens wrote: > I am writing a gui for some text formatting codes that I use in my CMS, > and am having a bit of trouble doing what I want to do. > > As an example, I presently enable bold type similar to here: > "this is *bold* text" - my text filter then strips out those asterices > and replaces them with and > > I want to stop using the asterix character for this purpose, though, and > the others I use ('/' for italics, '_' for underline, etc), and replace > them with other more unlikely-to-be-mistakenly-used characters. > > For example, underline might use the µ sign, which looks like a > 'u', but is unlikely to crop up in a paragraph. > > The trouble is - I'm trying to insert these characters into textareas on > teh click of a button - how can I enter character entities into a > textarea? When I try with teh HTML of it, it simply shows up as 'This > text is µunderlinedµ", which is just daned ugly - I want the > actual character to be placed instead. I don't have a solution to your problem, but a suggestion... Instead of using a text filter to change *foo* into foo have you considered using Textile, the 'humane web text generator'? There are versions written in PHP, Perl, Python, and even ASP... I found it very easy to use the Perl version written by Brad Choate into a simple CMS I wrote... Back to the problem - my guess is the textarea of a browser displays text (hence the name) not HTML, so I don't know if you'll get what you want to work... Pete From rob.smith at THERMON.com Tue Nov 11 10:33:07 2003 From: rob.smith at THERMON.com (Rob Smith) Date: Tue, 11 Nov 2003 10:33:07 -0600 Subject: [thelist] Wingdings on Submit Buttons? Message-ID: <0CEC8258A6E4D611BE5400306E1CC9271E51A2@smtmb.tmc.local> >That way you still get that nice 'click' effect. Can you offer a privately made example on a public domain? Rob From hershelr at netvision.net.il Tue Nov 11 10:42:16 2003 From: hershelr at netvision.net.il (Hershel Robinson) Date: Tue, 11 Nov 2003 11:42:16 -0500 Subject: [thelist] Javascript: altering BG color of multiple divs with one click In-Reply-To: <20031111155406.M49813@1976design.com> Message-ID: <003e01c3a872$c4d11240$0300000a@hershel2000> > I'd also like to be able to click on a div and have it alter > the color of other > divs. For example, clicking on Div 3 would alter its color > and that of Div 1. Put all the DIVs in a container div with id="Container" Add to each inner DIV onclick="setColors(this);" Then something like this: function setColors(newSpecial) { // set all DIVs to default myKids = document.getElementById("Container").getElementsByTagName("DIV") for (var i=0; i Thanks for the example, Kristof. We are accomplishing the same effect, but your example requires separate rollover images for each area tag in the image map. Your example has three rollover effects, and uses four images; the base image, then one image for each rollover. Our image map has over 100 hot spots, so each time the base image is changed, we'd also have to make 100 new rollover images. Something we didn't want to do. That's exactly why I chose to implement the rollover with CSS clipping. That way, we just have two images; the base image, and the rollover image, which is clipped to give the effect of 100 separate rollover images. :) Thanks, Will ************************************************************************************************** This e-mail message and all attachments transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and/or legally privileged information. Please DO NOT forward this e-mail outside of the recipient's company unless expressly authorized to do so herein. Any unauthorized review; use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Warning: Although Energy Northwest has taken reasonable precautions to ensure no viruses are present in this e-mail, the agency cannot accept responsibility for any loss or damage arising from the use of this e-mail or its attachments. ************************************************************************************************** From pixelmech at yahoo.com Tue Nov 11 10:48:43 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Tue, 11 Nov 2003 08:48:43 -0800 (PST) Subject: [thelist] Javascript: altering BG color of multiple divs with one click In-Reply-To: <20031111155406.M49813@1976design.com> Message-ID: <20031111164843.7354.qmail@web12602.mail.yahoo.com> --- Dunstan Orchard wrote: > Hi there, > > I wonder if anyone could put on their best Javascript Pants and > take a look at this problem for me: > > http://www.1976design.com/dev/divcolor/ Dunstan, Pasted below is the answer to the first part of your question. Can you be a little more specific about the second part? It's going to be difficult to have both going on at once I think, depending on what you want. Why do 2 divs change, etc - be a bit more specific...is it just divs 3 and 6 that do that? Tom -------------------------------------------------
Div 1
Div 2
Div 3 [clicking should change colour of Div 1 as well]
Div 4
Div 5
Div 6 [clicking should change colour of Div 1 and Div 3 as well]
===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From bedouglas at earthlink.net Tue Nov 11 11:06:20 2003 From: bedouglas at earthlink.net (bruce) Date: Tue, 11 Nov 2003 09:06:20 -0800 Subject: [thelist] menu samples... In-Reply-To: <000601c3a861$92614c50$e6dffea9@breal> Message-ID: <003701c3a876$21b12290$0301a8c0@Mesa.com> hi.... looking for sample menus that will allow me to create drop down menus with hidden submenus... (horizontal menu) cat foo test qqqq aaa bbb etc... the cat/foo items are top level items in the horizontal nav bar cat has the structure: test <---- child of cat aaa <---- submenu/child of test etc... i'd like to be able to have/add child/submenus to the nav menu. it's important to be able to display the child menus underneath the parent, as opposed to being displayed off to the side.. i'd also like any pointers to good drop down/menu scripts for vertical menus. i'd like to be able to present the menu items and "hide" the child/submenu items. the user would be able to see/hide the child items by toggling the parent menu item... fooo -test <----- aaa test2 test3 fooo +test <----- test2 test3 toggling the "test" item displays/hides the underlying "aaa" item... i'd like the items to be listed underneath each other, as opposed to displayed out to the side..... we've seen a number of menu samples/scripts..but nothing that really can do what we've described... any help/assistance/pointers would be helpful..... thanks -bruce bedouglas at earthlink.net From rob.smith at THERMON.com Tue Nov 11 10:52:25 2003 From: rob.smith at THERMON.com (Rob Smith) Date: Tue, 11 Nov 2003 10:52:25 -0600 Subject: [thelist] displaying character entities in textareas Message-ID: <0CEC8258A6E4D611BE5400306E1CC9271E51A4@smtmb.tmc.local> > I want the actual character to be placed instead. > Ideas? Place the acutal character there. (?) Rob From pixelmech at yahoo.com Tue Nov 11 10:59:27 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Tue, 11 Nov 2003 08:59:27 -0800 (PST) Subject: [thelist] Javascript: altering BG color of multiple divs with one click In-Reply-To: <20031111155406.M49813@1976design.com> Message-ID: <20031111165927.39457.qmail@web12605.mail.yahoo.com> --- Dunstan Orchard wrote: > http://www.1976design.com/dev/divcolor/ Dunstan, here's another version that does what you want for the second stuff, it's kind of hacky though. If you had other DIVs on the page it would be a problem for starters. Again more info might help on the whys and hows.. :) Tom -----------------------
Div 1
Div 2
Div 3 [clicking should change colour of Div 1 as well]
Div 4
Div 5
Div 6 [clicking should change colour of Div 1 and Div 3 as well]
===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From marcan at home.se Tue Nov 11 11:10:11 2003 From: marcan at home.se (Marcus Andersson) Date: Tue, 11 Nov 2003 18:10:11 +0100 Subject: SV: [thelist] Javascript: altering BG color of multiple divs with oneclick In-Reply-To: <20031111155406.M49813@1976design.com> Message-ID: <000a01c3a876$aa554c70$0da8a8c0@marcusnb> >In a nutshell: I have a set of six divs. I'd like to be able to click on any one div and have its background-color change. It would then stay changed until another div was clicked on, at which point it would return to the default color and the new div's color would change, and so on... >I'd also like to be able to click on a div and have it alter the color of other divs. For example, clicking on Div 3 would alter its color and that of Div 1. I really don't know why you would want to do this, but okay... I made an example below that (I think) works as you described and I've also put comments in it to explain /Marcus
From chris at fastspot.com Tue Nov 11 11:31:33 2003 From: chris at fastspot.com (Christopher Styles) Date: Tue, 11 Nov 2003 12:31:33 -0500 Subject: [thelist] displaying character entities in textareas In-Reply-To: <3FB10C4A.4090805@cygnusinteractive.com> References: <3FB0F1AD.9000508@contactjuggling.org> <3FB10C4A.4090805@cygnusinteractive.com> Message-ID: <3FB11CF5.9050403@fastspot.com> Not sure if you have seen this or not, but it is what I use in all of my CMS's. I think it may be your sweetest dream come true: http://www.interactivetools.com/products/htmlarea/ And it is -so- easy to configure, to take out functionality that you don't want, to add in new - and the forums are pretty trafficked as well.... chris( ) Pete Prodoehl wrote: > Kae Verens wrote: > >> I am writing a gui for some text formatting codes that I use in my >> CMS, and am having a bit of trouble doing what I want to do. >> >> As an example, I presently enable bold type similar to here: >> "this is *bold* text" - my text filter then strips out those asterices >> and replaces them with and >> >> I want to stop using the asterix character for this purpose, though, >> and the others I use ('/' for italics, '_' for underline, etc), and >> replace them with other more unlikely-to-be-mistakenly-used characters. >> >> For example, underline might use the µ sign, which looks like a >> 'u', but is unlikely to crop up in a paragraph. >> >> The trouble is - I'm trying to insert these characters into textareas >> on teh click of a button - how can I enter character entities into a >> textarea? When I try with teh HTML of it, it simply shows up as 'This >> text is µunderlinedµ", which is just daned ugly - I want >> the actual character to be placed instead. > > > > I don't have a solution to your problem, but a suggestion... Instead of > using a text filter to change *foo* into foo have you > considered using Textile, the 'humane web text generator'? > > > > There are versions written in PHP, Perl, Python, and even ASP... I found > it very easy to use the Perl version written by Brad Choate into a > simple CMS I wrote... > > Back to the problem - my guess is the textarea of a browser displays > text (hence the name) not HTML, so I don't know if you'll get what you > want to work... > > Pete > > > From jasonh at corestar.co.uk Tue Nov 11 11:59:59 2003 From: jasonh at corestar.co.uk (Jason Handby) Date: Tue, 11 Nov 2003 17:59:59 -0000 Subject: [thelist] displaying character entities in textareas In-Reply-To: <3FB10C4A.4090805@cygnusinteractive.com> Message-ID: > I don't have a solution to your problem, but a suggestion... Instead of > using a text filter to change *foo* into foo have you > considered using Textile, the 'humane web text generator'? > > > > There are versions written in PHP, Perl, Python, and even ASP... I found > it very easy to use the Perl version written by Brad Choate into a > simple CMS I wrote... If there's a repository of downloadable versions somewhere, I'd love to know where it is. They don't appear to be on his website anywhere. (An ASP.NET version would be great -- otherwise I guess I'll have to write one...) J From fffrancis at fstorr.demon.co.uk Tue Nov 11 12:06:25 2003 From: fffrancis at fstorr.demon.co.uk (fstorr) Date: Tue, 11 Nov 2003 18:06:25 +0000 Subject: SV: [thelist] Simple XPath question In-Reply-To: <000401c3a7e9$574f01c0$0400a8c0@marcusnb> References: <000401c3a7e9$574f01c0$0400a8c0@marcusnb> Message-ID: <3FB12521.3040105@fstorr.demon.co.uk> Marcus Andersson wrote: > >

>
> > By doing this you will copy all child nodes of para to the result tree > (all text nodes, child elements etc.). If you want to make sure that you > only copy elements and text you can use > instead. +++++++ Thanks Marcus, that really helps Regards F From ehartfield at sflabs.com Tue Nov 11 11:16:33 2003 From: ehartfield at sflabs.com (Edward Hartfield) Date: Tue, 11 Nov 2003 11:16:33 -0600 Subject: [thelist] Javascript - Form value undefined In-Reply-To: <001d01c3a821$d65e5780$050a8aca@timburgan> Message-ID: If I'm not mistaken, this refers to the document, not the form. You've got two forms on your page, but your code doesn't distinguish between them. Edward Hartfield SF Analytical Labs 6125 W. National Avenue Milwaukee, Wisconsin 53212 (414) 475-6700 (414) 475-7216 (fax) ehartfield at sflabs.com Visit our website at http://www.sflabs.com This communication (including any attachments) contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s), please do not distribute, copy or use this communication or the information. Instead, if you have received this communication in error, please notify the sender immediately and then destroy any copies of it. Due to the nature of the Internet, the sender is unable to ensure the integrity of this message and does not accept any liability or responsibility for any errors or omissions (whether as the result of this message having been intercepted or otherwise) in the contents of this message. Any views expressed in this communication are those of the individual sender, except where the sender specifically states them to be the views of the company. -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org]On Behalf Of Tim Burgan Sent: Tuesday, November 11, 2003 1:03 AM To: [thelist] - Web Discussion Subject: [thelist] Javascript - Form value undefined Hello, I'm doing a basic JavaScript course at the moment - I'm trying to use logical operators at the moment, but I've got stuck right at the beginning with submitting a value from a form into JavaScript. I've stripped the page down to 2 forms that are identical except from the data input methods - 1 works (text inputs), 1 doesn't (radio inputs). The form with the radio button displays a result of 'undefined', when it should be either 0 or 0.25 Can someone please take a look at this to kelp me out? Thanks for your time Tim Burgan -- * * 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 peterwakeford at intekom.co.za Tue Nov 11 11:53:56 2003 From: peterwakeford at intekom.co.za (Peter Wakeford) Date: Tue, 11 Nov 2003 19:53:56 +0200 Subject: [thelist] What should Cint(True) return? Message-ID: <000c01c3a87c$c83c4530$8383ef9b@phoenix> Can anyone experts out there tell me why Cint(TRUE) returns -1 instead of 1? Why is TRUE in this function equating to a bit notation of 10000000 (where 1 is the MSB) instead of 00000001 (where 1 is the LSB)? In signed binary notation 00000001 should = 1. Any comments welcome. From steve at plankdesign.com Tue Nov 11 12:34:01 2003 From: steve at plankdesign.com (Steve Bissonnette) Date: Tue, 11 Nov 2003 13:34:01 -0500 Subject: [thelist] Multiple IE in Windows - SOLUTION Message-ID: Thought I'd point this out a it's something many people on this list have probably come up against at some time or another, How To Run Multiple IE's in Windows, http://www.insert-title.com/web_design/?page=articles/dev/multi_IE ------- Untested by myself, but I'm going to attempt it under XP here next week. ------- Steve -- steve bissonnette steve at plankdesign.com PLANK. A multi-faceted-media company. http://www.plankdesign.com v. 514.875.0003 f. 514.875.7611 From chris at fastspot.com Tue Nov 11 12:40:44 2003 From: chris at fastspot.com (Christopher Styles) Date: Tue, 11 Nov 2003 13:40:44 -0500 Subject: [thelist] menu samples... In-Reply-To: <003701c3a876$21b12290$0301a8c0@Mesa.com> References: <003701c3a876$21b12290$0301a8c0@Mesa.com> Message-ID: <3FB12D2C.1030601@fastspot.com> Hi Bruce, Check out (if you haven't already), Thomas Brattli's Coolmenus system...It is highly configurable and I can't really imagine what it can't do. It is cross browser and *solid* - I can't give it a high enough reccomendation :) Like you, I searched for a really long time for a nice menu system, one that could be generated from a database and be expandable, etc. This is certainly right on the money...And the forums for this are really good too. If you need an "addin" then someone has probably already written it. It's super easy to extend. http://www.dhtmlcentral.com/projects/coolmenus/ I have used it on several CMS's and even built a db-driven frontend that you can add an unlimited amount of children to any menu item, and continue adding menu items indefinitely...good stuff... chris( ) bruce wrote: > hi.... > > looking for sample menus that will allow me to create drop down menus with > hidden submenus... > > (horizontal menu) > > cat foo > test qqqq > aaa bbb > etc... > > the cat/foo items are top level items in the horizontal nav bar > > cat has the structure: > > test <---- child of cat > aaa <---- submenu/child of test > etc... > > i'd like to be able to have/add child/submenus to the nav menu. it's > important to be able to display the child menus underneath the parent, as > opposed to being displayed off to the side.. > > i'd also like any pointers to good drop down/menu scripts for vertical > menus. i'd like to be able to present the menu items and "hide" the > child/submenu items. the user would be able to see/hide the child items by > toggling the parent menu item... > > > fooo > -test <----- > aaa > test2 > test3 > > fooo > +test <----- > test2 > test3 > > toggling the "test" item displays/hides the underlying "aaa" item... > > i'd like the items to be listed underneath each other, as opposed to > displayed out to the side..... > > we've seen a number of menu samples/scripts..but nothing that really can do > what we've described... > > any help/assistance/pointers would be helpful..... > > thanks > > -bruce > bedouglas at earthlink.net > > > -- Christopher Styles Director of Design Technology FAST SPOT LLC 1716 Aliceanna St. Baltimore, MD 21231 p.410.537.5007 ex. 112 f.410.537.5008 chris at fastspot.com http://www.fastspot.com From dunstan at 1976design.com Tue Nov 11 13:37:43 2003 From: dunstan at 1976design.com (Dunstan Orchard) Date: Tue, 11 Nov 2003 19:37:43 +0000 Subject: [thelist] Javascript: altering BG color of multiple divs with one click - solved In-Reply-To: <003e01c3a872$c4d11240$0300000a@hershel2000> References: <20031111155406.M49813@1976design.com> <003e01c3a872$c4d11240$0300000a@hershel2000> Message-ID: <20031111193743.M26441@1976design.com> Hi there, > Hershel Robinson wrote some JS code for me... Thanks for that Hershel, that got me started down the right road and I now have a fully working version of what I want: http://www.1976design.com/dev/divcolor/ I discovered the problem with my code was that this: (i != 0) crashed my browsers, while this: if (i != 0) doesn't. Eg. This works: for (var i = 0; i < relatedItems.length; i++) { if (i != 0) { document.getElementById(relatedItems[i]).className = "question"; } else { document.getElementById(relatedItems[i]).className = "answer"; } ) Very odd :o/ Thanks - Dunstan --------------------------- Dorset, England http://www.1976design.com/ http://www.1976design.com/blog/ From hershelr at netvision.net.il Tue Nov 11 13:53:32 2003 From: hershelr at netvision.net.il (Hershel Robinson) Date: Tue, 11 Nov 2003 14:53:32 -0500 Subject: [thelist] Javascript: altering BG color of multiple divs with one click - solved In-Reply-To: <20031111193743.M26441@1976design.com> Message-ID: <004401c3a88d$7d0bb440$0300000a@hershel2000> > I discovered the problem with my code was that this: > > (i != 0) > > crashed my browsers, while this: > > if (i != 0) > > doesn't. > > Eg. This works: > > for (var i = 0; i < relatedItems.length; i++) > { > if (i != 0) > { > document.getElementById(relatedItems[i]).className = "question"; > } > else > { > document.getElementById(relatedItems[i]).className = "answer"; > } > ) > > > Very odd :o/ Not sure why you find this odd. Most languages require the keyword 'if' before an if/else statement. I would actually clean up the above code to this: for (var i = 0; i < relatedItems.length; i++) document.getElementById(relatedItems[i]).className = (i != 0) ? "question" : "answer" :) Hershel From dunstan at 1976design.com Tue Nov 11 14:11:13 2003 From: dunstan at 1976design.com (Dunstan Orchard) Date: Tue, 11 Nov 2003 20:11:13 +0000 Subject: [thelist] Javascript: altering BG color of multiple divs with one click - solved In-Reply-To: <004301c3a88c$2e40eac0$0300000a@hershel2000> References: <20031111193743.M26441@1976design.com> <004301c3a88c$2e40eac0$0300000a@hershel2000> Message-ID: <20031111201113.M40149@1976design.com> On Tue, 11 Nov 2003 14:44:11 -0500, Hershel Robinson wrote > Not sure why you find this odd. Most languages require the keyword if before > an if/else statement. Doh! Sorry, typos galore! I meant: if (i = 0) crashed my browsers, while this: if (i != 0) doesn't. So I had to swap the logic around a little bit. _That_ I find odd :o) > I would actually clean up the above code to this: > for (var i = 0; i < relatedItems.length; i++) > document.getElementById(relatedItems[i]).className = (i != 0) ? "question" > : "answer" Ah, much nicer, I forgot about that. Thanks again - Dunstan --------------------------- Dorset, England http://www.1976design.com/ http://www.1976design.com/blog/ From hershelr at netvision.net.il Tue Nov 11 14:25:38 2003 From: hershelr at netvision.net.il (Hershel Robinson) Date: Tue, 11 Nov 2003 15:25:38 -0500 Subject: [thelist] Javascript: altering BG color of multiple divs with one click - solved In-Reply-To: <20031111201113.M40149@1976design.com> Message-ID: <004a01c3a891$f8e41f90$0300000a@hershel2000> > Sorry, typos galore! > I meant: > > if (i = 0) > > crashed my browsers, while this: > > if (i != 0) > > doesn't. So I had to swap the logic around a little bit. > > _That_ I find odd :o) LOL at the typo. :) The line if (i = 0) is not syntactically valid JS. The = character is assignment not comparison. To compare i to zero you would use: if (i == 0) Hershel From russgriechen at comcast.net Tue Nov 11 13:26:55 2003 From: russgriechen at comcast.net (Russell Griechen) Date: Tue, 11 Nov 2003 13:26:55 -0600 Subject: [thelist] [novice] Help with CSS layout References: Message-ID: <003b01c3a889$c5060d80$fd953e44@tupelo01.ms.comcast.net> > > I'm trying to create a page template for a WebObjects application, and > use CSS to define the layout instead of tables. I am a CSS novice, and > the layout is killing me. I can fall back to tables if I have to, so > this is all academic right now. But, I want to learn! I am thinking that using a template controlled site such as: First thing for a template site is to create the structure. Break up your code to match the filenames noted below. [code]

[/code] The above code would effectively break up the different facets of the web page code that would allow a fairly good way of presenting the elements of such a combination. This code generates the page at http://foxhuntingworld.com There is no info in the left column...the css file is in the index.php file source. From tonyc at boldfish.co.uk Tue Nov 11 14:33:25 2003 From: tonyc at boldfish.co.uk (Tony Crockford) Date: Tue, 11 Nov 2003 20:33:25 -0000 Subject: [thelist] htdig In-Reply-To: <0C217BAF-1190-11D8-9F3D-00039358CB42@earthlink.net> References: <0C217BAF-1190-11D8-9F3D-00039358CB42@earthlink.net> Message-ID: On Fri, 7 Nov 2003 18:05:38 -0800, Diane Soini wrote: > I've been researching and testing htdig. Does anyone have experience > with it they could share with me? I've used it on an Intranet and this site: http://www.torbytes.co.uk/ where I tweaked the pages to allow htdig to show thumbnails in results (a trick that requires you to have full control over the site you are searching and be prepared to sacrifice the page title) I've set it up on *nix and Windows. The only downside for me is the lack of phase searching, but that's now in beta so may soon be sorted. mail me off list if you have specific questions... Tony -- listening to: silence ;o) From Jin.Park at ang.af.mil Tue Nov 11 14:56:36 2003 From: Jin.Park at ang.af.mil (Park Jin CIV ANG/LG) Date: Tue, 11 Nov 2003 15:56:36 -0500 Subject: [thelist] Javascript: altering BG color of multiple divs with one click - solved Message-ID: <159296AA231FD84F915DD429BE071FFF03E3CB4C@rcml002> You might have wanted i==0 instead? -----Original Message----- From: Dunstan Orchard [mailto:dunstan at 1976design.com] Sent: Tuesday, November 11, 2003 3:11 PM To: evolt list Subject: RE: [thelist] Javascript: altering BG color of multiple divs with one click - solved On Tue, 11 Nov 2003 14:44:11 -0500, Hershel Robinson wrote > Not sure why you find this odd. Most languages require the keyword if > before an if/else statement. Doh! Sorry, typos galore! I meant: if (i = 0) crashed my browsers, while this: if (i != 0) doesn't. So I had to swap the logic around a little bit. _That_ I find odd :o) From MPlunkett at MSA.com Tue Nov 11 15:14:13 2003 From: MPlunkett at MSA.com (Plunkett, Matt) Date: Tue, 11 Nov 2003 16:14:13 -0500 Subject: [thelist] Javascript: altering BG color of multiple divs with one click - solved Message-ID: -----Original Message----- From: Hershel Robinson > The line > if (i = 0) > is not syntactically valid JS. The = character is assignment not comparison. > To compare i to zero you would use: > if (i == 0) if (i = 0) is perfectly valid syntactically. It just doesn't do what he intended, which is what makes bugs of this type so annoying to ferret out. It will always be true. I agree with the original poster that it is odd that this crashed his browser. From jsWalter at torres.ws Tue Nov 11 15:46:16 2003 From: jsWalter at torres.ws (jsWalter) Date: Tue, 11 Nov 2003 15:46:16 -0600 Subject: [thelist] request for XB caretPOS code... Message-ID: I have a piece of code that will retrieve the current position of a the insertion bar within a TEXT element at that given moment... /* Copyright (C) George Zabanah April 8, 2003 */ /* Please feel free to use this ... but leave this header on top */ // 'bolStart' = true - return beginning point of selection // 'bolStart' = false - return ending point of selection // If no select is made, then either will return current caret location function ReturnCaretPOS ( bolStart ) { var caretPos = window.document.selection.createRange().duplicate(); caretPos.collapse(bolStart); caretPos.moveStart("textedit",-1); return caretPos.text.length; } This works great in IE 4/5/6. Does anyone have any ides on how to accomplish this in NN, Mozilla, Firebird and Opera? Yes, I'm working on another X-Browser project. Thanks for your help. Walter From pixelmech at yahoo.com Tue Nov 11 15:46:44 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Tue, 11 Nov 2003 13:46:44 -0800 (PST) Subject: [thelist] Enterprise site architecture/CMS question Message-ID: <20031111214644.2618.qmail@web12606.mail.yahoo.com> Hi all, Wondering about your opinions on how to handle static content on a large enterprise size site. Imagine a site that has say 7 categories, each category has multiple sub categories and theres roughly 200 pages, many with static content. The template for most pages is the same or similar. But the body of the template has varying content/HTML. I know there's lots of ways to handle this content but I wonder what you all thought was the most efficient. It doesn't seem that putting the content/html into a database is the best way to go on one hand - although it would seem to make editing that content easy. Anyway, thoughts, links etc .. Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From dunstan at 1976design.com Tue Nov 11 16:15:00 2003 From: dunstan at 1976design.com (Dunstan Orchard) Date: Tue, 11 Nov 2003 22:15:00 +0000 Subject: [thelist] Opera, ooh, get you... In-Reply-To: References: <20031111133942.M90075@1976design.com> Message-ID: <20031111221500.M6259@1976design.com> Hi everyone, I don't know if this is widely publicised or not, but have you tried hitting SHIFT-F11 in the latest versions of Opera yet? It reformats the page to fit the screen width of a mobile phone, and if a handheld style sheet is present, uses that. Really rather neat. A bit more info and a screen shot at: http://www.1976design.com/blog/archive/2003/11/11/47/ Cheers - Dunstan --------------------------- Dorset, England http://www.1976design.com/ http://www.1976design.com/blog/ From evolt at pixelwright.com Tue Nov 11 16:17:25 2003 From: evolt at pixelwright.com (James Aylard) Date: Tue, 11 Nov 2003 14:17:25 -0800 Subject: [thelist] Javascript: altering BG color of multiple divs with one click - solved References: Message-ID: <014501c3a8a1$96ab36f0$5360398a@newcos.com> Plunkett, Matt wrote: > if (i = 0) > > is perfectly valid syntactically. It just doesn't do what he > intended, which is what makes bugs of this type so annoying to ferret > out. It will always be true. One coding practice that can help alleviate this problem to some degree is to place the numeric value as the left operand and the variable as the right operand, e.g.: if (0 == i) Because if you goof it up and only type one "equal" sign, e.g.: if (0 = i) it will throw a Javascript error. James Aylard From meredith at pintsize.com Wed Nov 12 17:31:25 2003 From: meredith at pintsize.com (Meredith Tupper) Date: Wed, 12 Nov 2003 18:31:25 -0500 Subject: [thelist] need estimate to set up spidermail.php form Message-ID: <3FB2C2CD.7020509@pintsize.com> Hello evolters, Tony Crockford was kind enough to turn me on to spidermail.php but I'm too busy to set it up right now. Anyone interested in giving me an estimate? Quick cash for the php-inclined. Thanks, Meredith -- 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 joshua at waetech.com Tue Nov 11 16:32:51 2003 From: joshua at waetech.com (Joshua Olson) Date: Tue, 11 Nov 2003 17:32:51 -0500 Subject: [thelist] Javascript: altering BG color of multiple divs with one click - solved References: Message-ID: <04f701c3a8a3$be370bc0$0300a8c0@client1> ----- Original Message ----- From: "Plunkett, Matt" Sent: Tuesday, November 11, 2003 4:14 PM > if (i = 0) > > is perfectly valid syntactically. It just doesn't do what he intended, > which is what makes bugs of this type so annoying to ferret out. It will > always be true. > > I agree with the original poster that it is odd that this crashed his > browser. Matt, et al, In this case that statement actually ASSIGNS the variable i the value of 0, which will cause the for loop to continue indefinitely since i will never reach the value of relatedItems.length. It will, therefore, appear to crash the browser. <><><><><><><><><><> Joshua Olson Web Application Engineer WAE Tech Inc. http://www.waetech.com 706.210.0168 From kr43m0r at earthlink.net Tue Nov 11 17:15:40 2003 From: kr43m0r at earthlink.net (Lonnie) Date: Tue, 11 Nov 2003 17:15:40 -0600 Subject: [thelist] Enterprise site architecture/CMS question References: <20031111214644.2618.qmail@web12606.mail.yahoo.com> Message-ID: <002601c3a8a9$b996e800$6401a8c0@yoda> > Wondering about your opinions on how to handle static content on a > large enterprise size site. > > Imagine a site that has say 7 categories, each category has multiple > sub categories and theres roughly 200 pages, many with static > content. The template for most pages is the same or similar. > > But the body of the template has varying content/HTML. I know there's > lots of ways to handle this content but I wonder what you all thought > was the most efficient. > > It doesn't seem that putting the content/html into a database is the > best way to go on one hand - although it would seem to make editing > that content easy. > > Anyway, thoughts, links etc .. Hi Tom, One efficient way to handle static content is to write content pages that call the template - somewhat upsidedown as logic goes. This is a very flexible approach and quite simple to implement once you get your head around the concept. Since you mention databased content, I assume you are expecting a server-side method. If the concepts sounds viable, write me offlist and I'll get into more detail. Lonnie From billh at vioma.com Tue Nov 11 17:44:53 2003 From: billh at vioma.com (Bill Hughey) Date: Tue, 11 Nov 2003 15:44:53 -0800 Subject: [thelist] Wingdings on Submit Buttons? Message-ID: Anyone have experience using Webdings as characters in a span instead of a button? I am trying to make this work cross-browser with both Netscape and IE. IE works but Netscape 7 doesn't. > Rob Smith wrote: > > > Has anyone had experience with adding symbols provided by wingdings > > (other?) on submit buttons? > > If this is on an Intranet where you are confident users will have the > Wingdings font installed, this will work (by applying Wingdings as the > font-family for the button-type input or button element). But I wouldn't > recommend it on the open Internet, as some visitors to your page may not > have the font installed and will likely be confused by the odd characters on > the button. > > James Aylard > > -- > * * 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 ldelahunty at britstream.com Tue Nov 11 17:53:52 2003 From: ldelahunty at britstream.com (Liam Delahunty) Date: Tue, 11 Nov 2003 23:53:52 -0000 Subject: [thelist] SSL cert check. https://secure.britstream.com/~corx/ + sidebar In-Reply-To: Message-ID: Geoff Hopson Sent: 11 November 2003 14:25 Subject: Re: [thelist] SSL cert check. https://secure.britstream.com/~corx/ Many thanks for everyone's input today. >The padlock shows up but says that it is an invalid certificate. >MacOSX 10.2.8, Safari 1.0 I just don't get it. Surely a thawte cert is normally trusted by Safari? Aren't they the #2 cert issuer? of curiosity, what happens if you visit https://www.thawte.com/ ? >On IE5 on Mac, broken image... the image comes from Thawte themselves, in a live checking thingy. As a sidebar I was wondering if I should remove this (clients seem to like it though) as it showing up at all is probably dependant on Internet connectivity, and possibly connection speeds. What are your thoughts? >HTH, Hmmm. Yeah, cheers! >Geoff Kind regards, Liam From mark at safefrombees.com Tue Nov 11 18:11:42 2003 From: mark at safefrombees.com (Mark M) Date: Wed, 12 Nov 2003 11:11:42 +1100 Subject: [thelist] Trying to be as Div as possible Message-ID: <1068595902.3fb17abeeb5c4@postoffice.tpg.com.au> Hey all - Here I am trying to be as div/CSS as possible ;) and struggling to get the results i want. Hopefully someone can help me out. I have a corporate header I HAVE to nclude, which is a series of tables, so I have no choice about that part. However, what I'm trying to do is set up an area that is basically the size of the browser screen - and essentiall I have this -
my real content here.
This is the test version of what I want to do - essentially the full height div will end up being floated left, and become my nav bar for the screen. The problem with that is that the inner div (blue) also wants to be 100% of the browser window, and therefore pushes the div (red) to greater than 100% of the window - causing a scroll bar. What I really want is pretty much like I want the div (blue) to be 100% - corpheader.height. If I can't do it - I can't do it - but any help would be appreciated. Cheers, Mark ------------------------------------------------------------------ mark at safefrombees.com ICQ: 3094740 Safe From Bees [ www.safefrombees.com ] From pixelmech at yahoo.com Tue Nov 11 18:17:55 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Tue, 11 Nov 2003 16:17:55 -0800 (PST) Subject: [thelist] JavaScript: trim function? Message-ID: <20031112001755.84493.qmail@web12607.mail.yahoo.com> Hi, I have a number like this: 4234.343899238 I want to trim that to just 4234.34. Anyone have a handy function for this before I re-create the wheel? TIA Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From evolt at pixelwright.com Tue Nov 11 18:32:08 2003 From: evolt at pixelwright.com (James Aylard) Date: Tue, 11 Nov 2003 16:32:08 -0800 Subject: [thelist] Wingdings on Submit Buttons? References: <200311111917515.SM02624@acornparenting.org> Message-ID: <015801c3a8b4$68a836a0$5360398a@newcos.com> Bill Hughey wrote: > Anyone have experience using Webdings as characters in a span instead > of a button? I am trying to make this work cross-browser with both > Netscape and IE. IE works but Netscape 7 doesn't. I'm not aware of any reason off-hand why Netscape 7 wouldn't render Wingdings characters. You'll need to show us relevant CSS and HTML. James Aylard From ken at adOpenStatic.com Tue Nov 11 18:57:46 2003 From: ken at adOpenStatic.com (Ken Schaefer) Date: Wed, 12 Nov 2003 11:57:46 +1100 Subject: [thelist] What should Cint(True) return? References: <000c01c3a87c$c83c4530$8383ef9b@phoenix> Message-ID: <022301c3a8b7$fc817550$0a345e81@careersAD.unsw.edu.au> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: "Peter Wakeford" Subject: [thelist] What should Cint(True) return? : Can anyone experts out there tell me why Cint(TRUE) : returns -1 instead of 1? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I'm not sure why you expect it to be otherwise. Direct from the VBScript documentation: The True keyword has a value equal to -1. See Also False http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en Cheers Ken Microsoft MVP - Windows Server (IIS) From hassan at webtuitive.com Tue Nov 11 19:51:07 2003 From: hassan at webtuitive.com (Hassan Schroeder) Date: Tue, 11 Nov 2003 17:51:07 -0800 Subject: [thelist] JavaScript: trim function? In-Reply-To: <20031112001755.84493.qmail@web12607.mail.yahoo.com> References: <20031112001755.84493.qmail@web12607.mail.yahoo.com> Message-ID: <3FB1920B.90002@webtuitive.com> Tom Dell'Aringa wrote: > I have a number like this: 4234.343899238 > > I want to trim that to just 4234.34. Anyone have a handy function for > this before I re-create the wheel? Math.round() is a built-in JavaScript function ... HTH! -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From dianesoini at earthlink.net Tue Nov 11 19:57:37 2003 From: dianesoini at earthlink.net (Diane Soini) Date: Tue, 11 Nov 2003 17:57:37 -0800 Subject: [thelist] htdig In-Reply-To: <200311102018.1ajpZn3Aj3NZFl50@vulture> Message-ID: <96DD6D52-14B3-11D8-9F3D-00039358CB42@earthlink.net> Has anyone used htdig? I'm interested in any examples of customized search pages. The standard htdig advanced search page has a drop-down list for boolean, any and all words search and a few other drop downs, and it appears that everybody who uses htdig sticks with this same layout. I'm curious if anyone has really customized it, maybe done something that mimics the google advanced search page, or otherwise enhanced the user-interface to make it more user-friendly. From joshua at waetech.com Tue Nov 11 21:31:35 2003 From: joshua at waetech.com (Joshua Olson) Date: Tue, 11 Nov 2003 22:31:35 -0500 Subject: [thelist] Trying to be as Div as possible References: <1068595902.3fb17abeeb5c4@postoffice.tpg.com.au> Message-ID: <054501c3a8cd$79ce4870$0300a8c0@client1> ----- Original Message ----- From: "Mark M" Sent: Tuesday, November 11, 2003 7:11 PM >
>
>
> my real content here. >
>
> The problem with that is that the inner div (blue) also wants to be 100% of the browser > window, and therefore pushes the div (red) to greater than 100% of the window - causing a > scroll bar. What I really want is pretty much like I want the div (blue) to be 100% - > corpheader.height. Mark, Omit the width: 100% from the style declaration and the blue bordered div will automatically fill its container, which is the div with the red border. In general you should not specify a width if you also specify any of border, padding, or spacing UNLESS all four are in the same units and you've precalculated everything to make everything fit. Is the table with the corporate logo 100% of the width or is it something smaller. If it's smaller then make note of its width and set the blue bordered div accordingly. <><><><><><><><><><> Joshua Olson Web Application Engineer WAE Tech Inc. http://www.waetech.com 706.210.0168 From burgan at iprimus.com.au Tue Nov 11 22:48:10 2003 From: burgan at iprimus.com.au (Tim Burgan) Date: Wed, 12 Nov 2003 15:18:10 +1030 Subject: [thelist] javascript - how to refer to (x)html elements Message-ID: <001b01c3a8d8$2d01c980$690a8aca@timburgan> hello, as i've been trying to learn JavaScript - i'm a little stuck.. again I don't know how to explain this, but instead of: document.formName.inputName.value (eg.
) i want to use: document.formId.inputId.value (eg. ) the reason being, that to use the first example I must use non-standards-compliant xhtml code in my documents. So is there a way that JavaScript can use xhtml tag's ID elements rather than the depreciated NAME element? Thanks Tim Burgan From marcan at home.se Tue Nov 11 23:11:37 2003 From: marcan at home.se (Marcus Andersson) Date: Wed, 12 Nov 2003 06:11:37 +0100 Subject: SV: [thelist] javascript - how to refer to (x)html elements In-Reply-To: <001b01c3a8d8$2d01c980$690a8aca@timburgan> Message-ID: <001701c3a8db$73637d30$0da8a8c0@marcusnb> var element = document.getElementById("example") But you cannot have two elements with the same id. The form could be named exampleForm instead. /Marcus -----Ursprungligt meddelande----- Fr?n: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] F?r Tim Burgan Skickat: den 12 november 2003 05:48 Till: [thelist] - Web Discussion ?mne: [thelist] javascript - how to refer to (x)html elements hello, as i've been trying to learn JavaScript - i'm a little stuck.. again I don't know how to explain this, but instead of: document.formName.inputName.value (eg. ) i want to use: document.formId.inputId.value (eg. ) the reason being, that to use the first example I must use non-standards-compliant xhtml code in my documents. So is there a way that JavaScript can use xhtml tag's ID elements rather than the depreciated NAME element? Thanks Tim Burgan -- * * 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 burgan at iprimus.com.au Tue Nov 11 23:20:51 2003 From: burgan at iprimus.com.au (Tim Burgan) Date: Wed, 12 Nov 2003 15:50:51 +1030 Subject: [thelist] javascript - how to refer to (x)html elements References: <001701c3a8db$73637d30$0da8a8c0@marcusnb> Message-ID: <001301c3a8dc$bddc2aa0$690a8aca@timburgan> Thank you, yeah I understand you cannot have two elements with the same id. Tah Tim Burgan From burgan at iprimus.com.au Tue Nov 11 23:33:44 2003 From: burgan at iprimus.com.au (Tim Burgan) Date: Wed, 12 Nov 2003 16:03:44 +1030 Subject: [thelist] javascript - how to refer to (x)html elements References: <001701c3a8db$73637d30$0da8a8c0@marcusnb> Message-ID: <001d01c3a8de$8a38f320$690a8aca@timburgan> Hi, : ----- Original Message ----- : From: "Marcus Andersson" : : var element = document.getElementById("example") so how do I go about writing the following (which users the name elements) to use the ID element: document.formName.inputName.length Tim From burgan at iprimus.com.au Tue Nov 11 23:45:48 2003 From: burgan at iprimus.com.au (Tim Burgan) Date: Wed, 12 Nov 2003 16:15:48 +1030 Subject: [thelist] javascript - how to refer to (x)html elements References: <001701c3a8db$73637d30$0da8a8c0@marcusnb> <001d01c3a8de$8a38f320$690a8aca@timburgan> Message-ID: <004001c3a8e0$3ac2ee20$690a8aca@timburgan> i just answered my own question .. thanks From jeff at jeffhowden.com Wed Nov 12 00:24:44 2003 From: jeff at jeffhowden.com (Jeff Howden) Date: Tue, 11 Nov 2003 22:24:44 -0800 Subject: [thelist] javascript - how to refer to (x)html elements In-Reply-To: <001b01c3a8d8$2d01c980$690a8aca@timburgan> Message-ID: tim, ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< > From: Tim Burgan > > as i've been trying to learn JavaScript - i'm a little > stuck.. again > > I don't know how to explain this, but instead of: > > document.formName.inputName.value > (eg. ) > > i want to use: > > document.formId.inputId.value > (eg. ) ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< don't. there's no reason whatsoever to not use dom0 access methods. use the forms and elements collections for their intended purpose. ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< > the reason being, that to use the first example I must > use non-standards-compliant xhtml code in my documents. ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< that's bullshit. sure, forms can't have a name attribute in xhtml, but not form fields. they *must* have a name attribute if you want the data to be submitted to the server. rethink your approach please. thanks, .jeff ?????????????????????????????????????????????????????? Jeff Howden - Web Application Specialist R?sum? - http://jeffhowden.com/about/resume/ Code Library - http://evolt.jeffhowden.com/jeff/code/ From andrew at humanbehaviour.co.uk Wed Nov 12 03:12:15 2003 From: andrew at humanbehaviour.co.uk (Andrew) Date: Wed, 12 Nov 2003 09:12:15 -0000 Subject: [thelist] tag nameserver windoze/linux Message-ID: Does anyone know if there is a difference between linux and windoze when the isptag is different to that of where the domai is hosted? for example on a linux system the isptag doesn't have to be the same as long as the namesers point to the right place. The problem I have is a host has chnaged the tag and not the name servers and the site has gone down. If this was the case on a linux the site would still be there. Any clues or is the site down becuse the name tag is being updated? Cheers Andrew From kverens at contactjuggling.org Wed Nov 12 03:52:56 2003 From: kverens at contactjuggling.org (Kae Verens) Date: Wed, 12 Nov 2003 09:52:56 +0000 Subject: [thelist] displaying character entities in textareas In-Reply-To: References: Message-ID: <3FB202F8.50202@contactjuggling.org> Jason Handby wrote: >>I don't have a solution to your problem, but a suggestion... Instead of >>using a text filter to change *foo* into foo have you >>considered using Textile, the 'humane web text generator'? >> >> >> >>There are versions written in PHP, Perl, Python, and even ASP... I found >>it very easy to use the Perl version written by Brad Choate into a >>simple CMS I wrote... >> >> The textism one is similar to how I was handling formats previously, but that htmlarea one is bloody fantastic! I hope the author accepts patches, though, as the HTML produced is archaic. Thanks everyone, Kae From shilpabhoj at hotmail.com Wed Nov 12 04:03:47 2003 From: shilpabhoj at hotmail.com (Shilpa) Date: Wed, 12 Nov 2003 14:03:47 +0400 Subject: [thelist] arrays in java script Message-ID: <000201c3a904$436fa760$4d010181@shilpa> Hi, Can anyone tell me how to send an array in client side Javascript through a form to another VBScript server side page!! Thanks Shilpa From evolt at david.us-lot.org Wed Nov 12 04:11:43 2003 From: evolt at david.us-lot.org (David Dorward) Date: Wed, 12 Nov 2003 10:11:43 +0000 Subject: [thelist] arrays in java script In-Reply-To: <000201c3a904$436fa760$4d010181@shilpa> Message-ID: <9D5DFF1E-14F8-11D8-AABA-000A957E4F00@david.us-lot.org> On Wednesday, Nov 12, 2003, at 10:03 Europe/London, Shilpa wrote: > Can anyone tell me how to send an array in client side Javascript > through a form to another VBScript server side page!! > That the server side script is written in VBScript is largely irrelevant, you have at least a couple of options. (1) You could encode the data using some character that you know won't appear in the data (e.g. if you use only numbers, you could encode (1,2,3,4) as a string "1x2x3x4") and then explode it in your server side script. (2) You could generate a number of hidden inputs with the same name, and set each array item as the value of one of them. The former means more work writing the server side code (as you'd have to explode it), the latter means more work on the client side (as most server side languages handle multiple inputs with the same name as an array anyway[1]). [1] The obvious exception being PHP which requires specially formatted input data (i.e. the characters [ and ] at the end of the name) -- David Dorward http://dorward.me.uk/ From dunstan at 1976design.com Wed Nov 12 04:23:02 2003 From: dunstan at 1976design.com (Dunstan Orchard) Date: Wed, 12 Nov 2003 10:23:02 +0000 Subject: [thelist] Javascript: altering BG color of multiple divs with one click In-Reply-To: <200311120917.hAC9HAS04165@ns.graphitedesign.net> References: <200311120917.hAC9HAS04165@ns.graphitedesign.net> Message-ID: <20031112102302.M36864@1976design.com> Thanks for all the comments on this guys. Marcus said "I really don't know why you would want to do this, but okay..." Well, the reason I wanted to do it was to add some functionality to a blog comments system I was making. If you're interested you can see it explained here: http://www.1976design.com/blog/archive/2003/11/12/48/ Though it's certainly had some holes shot in it, I'm still pleased with the result. And I couldn't have done it without your help, so danke. > From: "James Aylard" wrote: > > One coding practice that can help alleviate this problem to some degree > is to place the numeric value as the left operand and the variable as the > right operand, e.g.: > > if (0 == i) > > Because if you goof it up and only type one "equal" sign, e.g.: > > if (0 = i) > > it will throw a Javascript error. Ah yes, good point, I saw that written down for PHP the other day, I must remember it. Thanks. Cheerio - Dunstan p.s. If you ever find yourself building a system that uses Javascript's onclick, and you change that behaviour to ondblclick for testing purposes, be sure not to go for lunch and forget what you did. You could spend two hours frantically stripping everything from your code trying to find out why the system no longer works when you 'click' :o) --------------------------- Dorset, England http://www.1976design.com/ http://www.1976design.com/blog/ From dunstan at 1976design.com Wed Nov 12 05:15:30 2003 From: dunstan at 1976design.com (Dunstan Orchard) Date: Wed, 12 Nov 2003 11:15:30 +0000 Subject: [thelist] JS: formatting onclick and onfocus Message-ID: <20031112111530.M55697@1976design.com> Good morning! I have another wee JS problemo: the following code works perfectly in Moz FB 0.6.1, but the 'onfocus' bit is not acted upon by IE or Opera:
  • And the W3C validator tells me: there is no attribute "onfocus" Am I coding this incorrectly? Thanks for any help you can offer - Dunstan --------------------------- Dorset, England http://www.1976design.com/ http://www.1976design.com/blog/ From hershelr at netvision.net.il Wed Nov 12 05:15:30 2003 From: hershelr at netvision.net.il (Hershel Robinson) Date: Wed, 12 Nov 2003 06:15:30 -0500 Subject: [thelist] Javascript: Assignment/Comparision (WAS altering BG color etc. ) In-Reply-To: Message-ID: <000301c3a90e$48eb6ad0$0300000a@hershel2000> > if (i = 0) > > is perfectly valid syntactically. It just doesn't do what he > intended, > which is what makes bugs of this type so annoying to ferret > out. I stand corrected. The above line is valid. I thought I had tried this in the past and it had failed, but I see now (empirically) that it does work. > It will > always be true. Well, in reality it will always be false because it returns zero. > I agree with the original poster that it is odd that this crashed his > browser. I do not think that line in and of itself crashed his browser. These lines: var i=0 if (i=0) alert(0) if (i=1) alert(1) do not crash my browser (Win 2K IE6). I see one alert with the text '1' and that's it. Hershel From JCone at municode.com Wed Nov 12 06:33:18 2003 From: JCone at municode.com (Jonathan Cone) Date: Wed, 12 Nov 2003 07:33:18 -0500 Subject: [thelist] Storing Time Duration in DB Message-ID: <77025926DDD85A4D886C5B8A34E43E74300E23@exchange.internal.municode.com> Hi list, My primary database is SQL Server 2000. I'm pretty sure this question may range to other db's also though. I am trying to store a time duration in a field in the database. For example length of a song, or how long it took to run a mile. Something along the format of hr:min:sec. The datetime datatype has this format, but it treats the data as a time, like 1 o'clock PM instead of 1 hour. I think it would still work, but something seems fundamentally wrong with this. The two other solutions I could think of were to have three seperate numeric fields, hours minutes and seconds, which also seemed wrong, or one field to hold the number of seconds and use the front end to convert to hours minutes seconds. I'm happiest with the latter, but it just seems like there should be a better way to go about this. I know I can't be the only one that's ever had this issue. Any help, advice, suggestions would be greatly appreciated! Thanks, Jonathan From hershelr at netvision.net.il Wed Nov 12 06:43:08 2003 From: hershelr at netvision.net.il (Hershel Robinson) Date: Wed, 12 Nov 2003 07:43:08 -0500 Subject: [thelist] Storing Time Duration in DB In-Reply-To: <77025926DDD85A4D886C5B8A34E43E74300E23@exchange.internal.municode.com> Message-ID: <000f01c3a91a$873d2100$0300000a@hershel2000> I have before stored times in seconds in DBs. It also makes calculations and comparisons among times simpler. That's my 2 cents. Hershel From burgan at iprimus.com.au Wed Nov 12 06:47:31 2003 From: burgan at iprimus.com.au (Tim Burgan) Date: Wed, 12 Nov 2003 23:17:31 +1030 Subject: [thelist] javascript - how to refer to (x)html elements References: Message-ID: <003d01c3a91b$23f25100$785e32d2@timburgan> dude, calm down.. just explain your point and leave it at that. obviously i'm looking for help because i'm confused about the topic. i don't appreciate the bad language either. but, thanks for the constructive comments that you made. tim burgan From burgan at iprimus.com.au Wed Nov 12 06:58:02 2003 From: burgan at iprimus.com.au (Tim Burgan) Date: Wed, 12 Nov 2003 23:28:02 +1030 Subject: [thelist] javascript - how to refer to (x)html elements References: <001b01c3a8d8$2d01c980$690a8aca@timburgan> Message-ID: <00bb01c3a91c$9baeabc0$785e32d2@timburgan> I've realised that the name attribute is depreciated, but only for certain elements. Thanks to Ineke van der Maat the explanation regarding depreciated elements. The attribute name is not appreciated for elements as input, only on the and elements. Here are the difference between xhtml 1.0 and xhtml 1.1 concerning the attribute name: http://www.w3.org/TR/xhtml11/changes.html#a_changes: On the a and map elements, the name attribute has been removed in favor of the id attribute (as defined in [XHTMLMOD]). Cheers Tim From randyp at cycla.com Wed Nov 12 06:59:36 2003 From: randyp at cycla.com (Randy Pearson) Date: Wed, 12 Nov 2003 07:59:36 -0500 Subject: [thelist] Opera, ooh, get you... In-Reply-To: <20031111221500.M6259@1976design.com> Message-ID: <12580406222089@dserver.cycla.com> Wow, that's a nice feature! Does anyone know how well these devices honor media="handheld" settings? For example, do PocketPC browsers respond to that? Handspring? -- Randy > -----Original Message----- > I don't know if this is widely publicised or not, but have > you tried hitting > SHIFT-F11 in the latest versions of Opera yet? It reformats > the page to fit the > screen width of a mobile phone, and if a handheld style sheet > is present, uses > that. Really rather neat. > > A bit more info and a screen shot at: > http://www.1976design.com/blog/archive/2003/11/11/47/ > > Cheers - Dunstan From psm2713 at hotmail.com Wed Nov 12 07:27:59 2003 From: psm2713 at hotmail.com (Ken Moore) Date: Wed, 12 Nov 2003 06:27:59 -0700 Subject: [thelist] Storing Time Duration in DB Message-ID: Hi all, Hershel is exactly right. Every system - HW and SW - does time differently. But They all know about seconds. Ken >I have before stored times in seconds in DBs. It also makes calculations >and >comparisons among times simpler. > >That's my 2 cents. > >Hershel _________________________________________________________________ Great deals on high-speed Internet access as low as $26.95. https://broadband.msn.com (Prices may vary by service area.) From joshua at waetech.com Wed Nov 12 07:38:57 2003 From: joshua at waetech.com (Joshua Olson) Date: Wed, 12 Nov 2003 08:38:57 -0500 Subject: [thelist] javascript - how to refer to (x)html elements References: <001b01c3a8d8$2d01c980$690a8aca@timburgan> <00bb01c3a91c$9baeabc0$785e32d2@timburgan> Message-ID: <007601c3a922$52cdd830$0300a8c0@client1> Tim, So what was does the final version of the code look like? I'm guessing something like this: Or, are you saying that you can still have the name attribute in the form tag and still be compliant? As an aside, I often time find that most of the JS I write that modifies or examines a form is triggered via the onsubmit handler for the form or through one of the form's elements. That being the case the reference to the form is available immediately without having to go through the document object. Example:
    When the validate function is called at the submittal of the form it's parameter will now reference the calling form: function validate(form) { // form already contains a reference to the form, so I can go straight to the elements. input = form.elements.myinput; alert('The value is ' + input.value); } Likewise, if the script is triggered via a form element, you could do the following: function dosomething(form) { // form already contains a reference to the form, so I can go straight to the elements. input = form.elements.myinput; alert('The value is ' + input.value); } One other pearl of wisdom: it's a good idea to go through the elements collection under the form object. Here's an example of what I mean: version 1: form.myinput.value version 2: form.elements.myinput.value The reason I recommend using the elements collection is because it alleviates the problem where a field name matches an attribute name on the form object. If you have an element in the form called "name" for example then the "name" attribute of the form object and it's element with the name "name" will be in conflict. Explicitly going through the elements collection avoids this ambiguity. If you specifically want to look at the attributes of the form itself you can use the attributes collection, fyi. <><><><><><><><><><> Joshua Olson Web Application Engineer WAE Tech Inc. http://www.waetech.com 706.210.0168 From pete.prodoehl at cygnusinteractive.com Wed Nov 12 07:41:44 2003 From: pete.prodoehl at cygnusinteractive.com (Pete Prodoehl) Date: Wed, 12 Nov 2003 07:41:44 -0600 Subject: [thelist] displaying character entities in textareas In-Reply-To: References: Message-ID: <3FB23898.90209@cygnusinteractive.com> Jason Handby wrote: >>I don't have a solution to your problem, but a suggestion... Instead of >>using a text filter to change *foo* into foo have you >>considered using Textile, the 'humane web text generator'? >> >> >> >>There are versions written in PHP, Perl, Python, and even ASP... I found >>it very easy to use the Perl version written by Brad Choate into a >>simple CMS I wrote... > > If there's a repository of downloadable versions somewhere, I'd love to know > where it is. They don't appear to be on his website anywhere. (An ASP.NET > version would be great -- otherwise I guess I'll have to write one...) Here's what I know... Perl: Python: PHP: VBScript: Any more? Pete From BreezyGraphics at aol.com Wed Nov 12 07:53:18 2003 From: BreezyGraphics at aol.com (BreezyGraphics at aol.com) Date: Wed, 12 Nov 2003 08:53:18 EST Subject: [thelist] Eolas update...looking good for us! Message-ID: <91.359a3002.2ce3954e@aol.com> Man I hope this does it, Breezy. http://news.com.com/2100-1032_3-5106129.html?tag=nefd_top From pixelmech at yahoo.com Wed Nov 12 08:05:56 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Wed, 12 Nov 2003 06:05:56 -0800 (PST) Subject: [thelist] JS: formatting onclick and onfocus In-Reply-To: <20031112111530.M55697@1976design.com> Message-ID: <20031112140556.61080.qmail@web12605.mail.yahoo.com> --- Dunstan Orchard wrote: > Good morning! > > I have another wee JS problemo: the following code works perfectly > in Moz FB 0.6.1, but the 'onfocus' bit is not acted upon by IE or > Opera: Per the W3C "The onfocus event occurs when an element receives focus either by the pointing device or by tabbing navigation. This attribute may be used with the following elements: A, AREA, LABEL, INPUT, SELECT, TEXTAREA, and BUTTON." Notice the absence of the LI ;). Not sure why it works in Mozzy. But probably Opera and IE followed the spec. Even looking in the XHTML DTD I find: And it's not listed there as a scriptable handler either. If you look at the form: Notice is shows the scriptable events. So I think the short answer is, its out of spec and if it works, you "just got lucky" (Dokken, 1982) hth Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From thelist at summit7solutions.com Wed Nov 12 08:11:58 2003 From: thelist at summit7solutions.com (JWilhelm-thelist) Date: Wed, 12 Nov 2003 09:11:58 -0500 Subject: [thelist] Javacript OS-X Like Navigation Bar Message-ID: <01cd01c3a926$f2c2f420$0a01a8c0@zion> Good morning! A month or two ago someone posted a link to a script he (or she) was working on. It was a javascript implementation of a Mac OS-X like navigation bar, where the icons smoothly grew when moused-over. Does anyone have that link saved somewhere that they could send me? Thanks, Jeff * J E F F R E Y M. W I L H E L M * | e: jeff at jeffwilhelm.com w: www.jeffwilhelm.com e: jeff at summit7solutions.com w: www.summit7solutions.com p: 401-874-3118 // 401-481-5991 f: 419-735-8865 // 208-979-7205 From evolt at accessibleinter.net Wed Nov 12 08:17:26 2003 From: evolt at accessibleinter.net (Bill Mason) Date: Wed, 12 Nov 2003 06:17:26 -0800 Subject: [thelist] That browser checking service... In-Reply-To: <200311111929.hABJTKT24086@westhost45.westhost.net> References: <200311111929.hABJTKT24086@westhost45.westhost.net> Message-ID: <3FB240F6.5040909@accessibleinter.net> Graham wrote: > A while back someone flagged up a new (commercial?) tool for testing sites > on multiple browsers. I can't find a reference to it in the archive, or on > Google. Can anyone remember what it was? Browsercam, http://www.browsercam.com/ -- Bill Mason Accessible Internet evolt at accessibleinter.net http://www.accessibleinter.net/ From joshua at waetech.com Wed Nov 12 08:36:59 2003 From: joshua at waetech.com (Joshua Olson) Date: Wed, 12 Nov 2003 09:36:59 -0500 Subject: [thelist] JS: formatting onclick and onfocus References: <20031112140556.61080.qmail@web12605.mail.yahoo.com> Message-ID: <00a201c3a92a$6df13230$0300a8c0@client1> ----- Original Message ----- From: "Tom Dell'Aringa" Sent: Wednesday, November 12, 2003 9:05 AM > Even looking in the XHTML DTD I find: > > > %attrs; > type %LIStyle; #IMPLIED > value %Number; #IMPLIED > > Tom, You are going down the right path, but you may want to take this a bit farther. Notice the reference to %attrs;? Here's the definition of %attrs %attrs is defined as a union of %coreattrs; %i18n, and %events. Here's %events Therefore, most elements (including LI) define most of the scriptable actions. The DTD defines the following separately: onfocus and onblur are defined here and there doesn't seem to be a link into these attributes from LI. So, you are correct in that the DTD does not specify onfocus as an attribute for LI in the markup, but it's important to travel down all the paths of the DTD before coming to that conclusion. Dunstan, I can understand why you'd want to set the onclick handler for an LI, but I'm not sure I understand how onfocus is applicable in any case. Only certain elements can be focused (links, buttons, etc) and it doesn't seem likely that an LI logically can receive focus. What did you have in mind when you looked at adding an onfocus handler to the LI? <><><><><><><><><><> Joshua Olson Web Application Engineer WAE Tech Inc. http://www.waetech.com 706.210.0168 From gassinaumasis at hotmail.com Wed Nov 12 08:39:02 2003 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Wed, 12 Nov 2003 14:39:02 +0000 Subject: [thelist] Eolas update...looking good for us! Message-ID: >Man I hope this does it, Breezy. >HREF="http://news.com.com/2100-1032_3-5106129.html?tag=nefd_top">http://news.com.com/2100-1032_3-5106129.html?tag=nefd_top Yup, looks pretty good. Microsoft has gotten others to do their dirty work, which I believe was the whole purpose of the special IE/Eolas release. Web developers and everyone else became very nervous and were spurred into action. As I said before, Microsoft is not planning to actually release the IE6/Eolas revision. It has now served its purpose. ------------------------------------------------------------------- ppk, freelance web developer Interaction, copywriting, JavaScript, integration http://www.quirksmode.org/ Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/ ------------------------------------------------------------------ _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From pixelmech at yahoo.com Wed Nov 12 08:52:23 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Wed, 12 Nov 2003 06:52:23 -0800 (PST) Subject: [thelist] JS: formatting onclick and onfocus In-Reply-To: <00a201c3a92a$6df13230$0300a8c0@client1> Message-ID: <20031112145223.40038.qmail@web12608.mail.yahoo.com> --- Joshua Olson wrote: > Tom, > > You are going down the right path, but you may want to take this a > bit farther. Notice the reference to %attrs;? Ahh, thanks Joshua! I had a feeling I had stopped short but I couldn't figure out where and I thought I had pinned it down. Thanks for the info. Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From psm2713 at hotmail.com Wed Nov 12 10:13:56 2003 From: psm2713 at hotmail.com (Ken Moore) Date: Wed, 12 Nov 2003 09:13:56 -0700 Subject: [thelist] EMail format question. Message-ID: Hi all, I know that there is simple solution to this one. On a form, using PHP to send an email that includes a comment area, I type in: "It's me again." And in the resulting email, I get this: "It\'s me again." What to do? TIA, Ken _________________________________________________________________ >From Beethoven to the Rolling Stones, your favorite music is always playing on MSN Radio Plus. No ads, no talk. Trial month FREE! http://join.msn.com/?page=offers/premiumradio From jay.blanchard at niicommunications.com Wed Nov 12 10:21:41 2003 From: jay.blanchard at niicommunications.com (Jay Blanchard) Date: Wed, 12 Nov 2003 10:21:41 -0600 Subject: [thelist] EMail format question. Message-ID: [snip] "It's me again." And in the resulting email, I get this: "It\'s me again." What to do? [/snip] http://www.php.net/stripslashes From rob.smith at THERMON.com Wed Nov 12 10:20:11 2003 From: rob.smith at THERMON.com (Rob Smith) Date: Wed, 12 Nov 2003 10:20:11 -0600 Subject: [thelist] EMail format question. Message-ID: <0CEC8258A6E4D611BE5400306E1CC9271E51A8@smtmb.tmc.local> > What to do? The backslash is an escape character \$ \' \! etc. Find the place in your code the escapes special characters and deal with it accordingly. Rob From cgeorge at basecorp.com Wed Nov 12 10:27:55 2003 From: cgeorge at basecorp.com (Chris George) Date: Wed, 12 Nov 2003 09:27:55 -0700 Subject: [thelist] EMail format question. Message-ID: <6E85D194CD14D341AB3AF41DB59D1BAE0DE8D0@basefs01.corp.basecorp.com> Hi Ken, Use stripslashes on your comment variable. > -----Original Message----- > From: Ken Moore [mailto:psm2713 at hotmail.com] > [snip] > And in the resulting email, I get this: > "It\'s me again." > > What to do? From jon at laughing-buddha.net Wed Nov 12 10:30:20 2003 From: jon at laughing-buddha.net (Jon Haworth) Date: Wed, 12 Nov 2003 16:30:20 -0000 Subject: [thelist] EMail format question. References: Message-ID: <00b501c3a93a$47a79c30$050a0a0a@eris> Hi Ken, > On a form, using PHP to send an email that > includes a comment area, I type in: "It's me again." > > And in the resulting email, I get this: "It\'s me again." Have a look at the stripslashes() function: http://php.net/stripslashes Cheers Jon From msjones815 at hotmail.com Wed Nov 12 10:39:51 2003 From: msjones815 at hotmail.com (Mark S Jones) Date: Wed, 12 Nov 2003 10:39:51 -0600 Subject: [thelist] EMail format question. References: Message-ID: add this to the configuration file where $name is the name of the field you want to stripslashes from $name = stripslashes($name); Mark ----- Original Message ----- From: "Jay Blanchard" To: Sent: Wednesday, November 12, 2003 10:21 AM Subject: RE: [thelist] EMail format question. [snip] "It's me again." And in the resulting email, I get this: "It\'s me again." What to do? [/snip] http://www.php.net/stripslashes -- * * 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 orion at electrick.net Wed Nov 12 10:53:23 2003 From: orion at electrick.net (orion) Date: Wed, 12 Nov 2003 10:53:23 -0600 Subject: [thelist] Enterprise site architecture/CMS question In-Reply-To: <20031111214644.2618.qmail@web12606.mail.yahoo.com> Message-ID: Where does your content come from? I would pick different CMS solutions based on the way your content is provided. Content from a large group of writers and publishers I would use something like Microsoft's CMS especially if you need to separate one set of publishers from another. OTOH I have other sites that receive XML documents once a day from 3rd party sites which I use to update a central database. If your content all comes from in-house then you may want to use a custom template that is easy to edit and cheap to build. -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Tom Dell'Aringa Sent: Tuesday, November 11, 2003 3:47 PM To: thelist at lists.evolt.org Subject: [thelist] Enterprise site architecture/CMS question Hi all, Wondering about your opinions on how to handle static content on a large enterprise size site. Imagine a site that has say 7 categories, each category has multiple sub categories and theres roughly 200 pages, many with static content. The template for most pages is the same or similar. But the body of the template has varying content/HTML. I know there's lots of ways to handle this content but I wonder what you all thought was the most efficient. It doesn't seem that putting the content/html into a database is the best way to go on one hand - although it would seem to make editing that content easy. Anyway, thoughts, links etc .. Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) -- * * 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 kris at midtempo.net Wed Nov 12 11:48:09 2003 From: kris at midtempo.net (kris burford) Date: Wed, 12 Nov 2003 17:48:09 +0000 Subject: [thelist] EMail format question. In-Reply-To: Message-ID: <4.2.0.58.20031112174242.016d4a70@mail.btinternet.com> >[snip] >"It's me again." > >And in the resulting email, I get this: >"It\'s me again." > >What to do? >[/snip] > >http://www.php.net/stripslashes i'm not sure this is right. the manual at php.net suggests stripcslashes (!=stripslashes) where mail is concerned http://uk2.php.net/mail http://uk2.php.net/stripcslashes hth k From John.Brooking at sappi.com Wed Nov 12 11:56:34 2003 From: John.Brooking at sappi.com (John.Brooking at sappi.com) Date: Wed, 12 Nov 2003 12:56:34 -0500 Subject: [thelist] Tip: Useful Windows Tools Message-ID: <471E425A0BB6D211972C00105AC954240556C3E0@soportland.na.sappi.com> Hey, everyone, I'm a bit frustrated that I haven't gotten any responses to my "Login Screen Security" query which I posted on Monday [1]. I think I followed rules of good posting (clear explanation, informative subject, no whining, etc). But rather than bitch and moan, I'll try submitting a tip to improve my give/take ratio and see if that improves the disposition of the list in general towards me. (Sorry it's not technical - unfortunately, I haven't been able to do a lot of web development recently at my job, so I can't think of anything technical that most of you wouldn't already know.) [1] http://lists.evolt.org/archive/Week-of-Mon-20031110/151270.html This is a short synopsis of two reasonably-priced (< $50) Windows-specific tools which I use every day. I should state that I have no affiliation to either of these vendors except as a standard customer, no personal connection to any of their employees, and that I am submitting this tip completely of my own initiative, purely as a service to the readers of this list. Text Editor: Ultra-Edit (http://www.ultraedit.com/ ). Features include opening and saving via FTP, column mode editing, customizable syntax highlighting (the site includes configuration files for pretty much any language you could use), DOS command run and output capture, and keystroke macros. Version Control: QVCS (http://www.qumasoft.com/ ) is a file-based version control tool which does not require database support. It supports standard vc functionality -- check check-in, check-out, get, history, keyword expansion -- and supports the Microsoft SCC API for integration into most third-party IDE's. It does not have its own text file comparison utility, but can be configured to use any one, and recommends ExamDiff (http://www.prestosoft.com/ ), which I have found to be excellent, even the free version. (Prestosoft also makes their own FTP-based version control utility, FtpVC, which is an attractive idea to me, but I haven't tried it yet.) - John ----------------------------------------- This message may contain information which is private, privileged or confidential and is intended solely for the use of the individual or entity named in the message. If you are not the intended recipient of this message, please notify the sender thereof and destroy / delete the message. Neither the sender nor Sappi Limited (including its subsidiaries and associated companies) shall incur any liability resulting directly or indirectly from accessing any of the attached files which may contain a virus or the like. From jay.blanchard at niicommunications.com Wed Nov 12 12:03:26 2003 From: jay.blanchard at niicommunications.com (Jay Blanchard) Date: Wed, 12 Nov 2003 12:03:26 -0600 Subject: [thelist] EMail format question. Message-ID: [snip] >What to do? >http://www.php.net/stripslashes i'm not sure this is right. the manual at php.net suggests stripcslashes (!=stripslashes) where mail is concerned http://uk2.php.net/mail http://uk2.php.net/stripcslashes [/snip] Actually, it does not suggest that at all and these are intended for two diffent stripping operations stripslashes - Returns a string with backslashes stripped off. (\' becomes ' and so on.) Double backslashes (\\) are made into a single backslash (\). stripcslashes - Returns a string with backslashes stripped off. Recognizes C-like \n, \r ..., octal and hexadecimal representation. From k.neirynck at belgacom.net Wed Nov 12 12:12:35 2003 From: k.neirynck at belgacom.net (Kristof Neirynck) Date: Wed, 12 Nov 2003 19:12:35 +0100 Subject: [thelist] javascript - how to refer to (x)html elements In-Reply-To: References: Message-ID: <3FB27813.7050908@belgacom.net> >><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< >>i want to use: >> >> document.formId.inputId.value >> (eg. ) >><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< > > don't. there's no reason whatsoever to not use dom0 access methods. use > the forms and elements collections for their intended purpose. > What Jeff is trying to explain is this: var formNr = 0; var elementName = 'theName'; var element = document.forms[formNr].elements[elementName]; This way you don't need id's. It works in nn4+, ie4+ and any other browser that has some sort of javascript support. -- Kristof From joshua at waetech.com Wed Nov 12 12:18:29 2003 From: joshua at waetech.com (Joshua Olson) Date: Wed, 12 Nov 2003 13:18:29 -0500 Subject: [thelist] Login Screen Security? References: <471E425A0BB6D211972C00105AC954240556C3C0@soportland.na.sappi.com> Message-ID: <005c01c3a949$5fa9b4d0$0300a8c0@client1> ----- Original Message ----- From: Sent: Monday, November 10, 2003 5:41 PM > * Is the Perl "crypt" function (which says it works exactly like the > crypt(3) function in the C library) a sufficient means of encrypting the > password? Yes, I'd think so. > I'm letting the administrator set a "salt" value in the software > configuration file, and when a password comes in from the login screen, I > encrypt it with the same "salt" and compare the result to the encrypted > value in the users file. Sound okay? Great idea. > * If my login screen is not going through an SSL layer, is that a > hole? Yes, it's a hole, unless you encrypt the form value via client-side scripting before submittal. This may or may not be tough if you don't wish to expose the salt value. <><><><><><><><><><> Joshua Olson Web Application Engineer WAE Tech Inc. http://www.waetech.com 706.210.0168 From jay.blanchard at niicommunications.com Wed Nov 12 12:21:31 2003 From: jay.blanchard at niicommunications.com (Jay Blanchard) Date: Wed, 12 Nov 2003 12:21:31 -0600 Subject: [thelist] Tip: Useful Windows Tools Message-ID: [snip] I'm a bit frustrated that I haven't gotten any responses to my "Login Screen Security" query which I posted on Monday [1]. I think I followed rules of good posting (clear explanation, informative subject, no whining, etc). But rather than bitch and moan, I'll try submitting a tip to improve my give/take ratio and see if that improves the disposition of the list in general towards me. (Sorry it's not technical - unfortunately, I haven't been able to do a lot of web development recently at my job, so I can't think of anything technical that most of you wouldn't already know.) [/snip] Did it occur to you that perhaps no one here had a solution for your request? Nah, couldn't have. We were just ignoring you because we wanted to. From webdev at megalion.org Wed Nov 12 12:38:30 2003 From: webdev at megalion.org (Megalion) Date: Wed, 12 Nov 2003 10:38:30 -0800 Subject: [thelist] CSS issue, delinking?? In-Reply-To: <4.2.0.58.20031111035145.014f0f90@64.5.40.20> Message-ID: <4.2.0.58.20031112103748.014f01c0@64.5.40.20> No one has any clue? I'm still fairly new to CSS, my blog skins are my attempts to teach myself CSS and work through the ins and outs... At 03:53 AM 11/11/2003 -0800, you wrote: >In Mozilla 1.4.1 on WinXP (and presumably other Win OSes), someone >reported to me that the "previous" links on my blog don't work. > >http://ponder.megalion.org/archives/individual/2003_11/000638.html?override >= venturaSunset > >The previous link on this entry is "wow". I don't understand what's >causing the link to delinkify so that you can't click on it. > >Could anyone shed some light? > >Thanks >Megalion >-- >* * 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 John.Brooking at sappi.com Wed Nov 12 12:37:58 2003 From: John.Brooking at sappi.com (John.Brooking at sappi.com) Date: Wed, 12 Nov 2003 13:37:58 -0500 Subject: [thelist] Login Screen Security Message-ID: <471E425A0BB6D211972C00105AC954240556C3E2@soportland.na.sappi.com> Thanks for the response, Josh. I was just preparing a follow-up on some client-side JavaScript I found which implements crypt, but your message sort of beat me to the punch. On the salt exposure problem: Even if the cracker can sniff the salt (now there's an image!), does it do him any good? It would certainly give him a much improved chance of guessing the password by running his guesses through his own crypt function to positively identify a match with what he sniffed. But he's still guessing passwords, so he's not any further ahead than if he was guessing passwords at a regular login screen that submits via SSL, right? It *is* kind of shame to protect the salt so well on the server side, only to expose it on the client, but if it doesn't hurt us, is that really a problem? I'll incorporate our conclusions, with a URL to the client-side crypt code, into a tip. - John This message may contain information which is private, privileged or confidential and is intended solely for the use of the individual or entity named in the message. If you are not the intended recipient of this message, please notify the sender thereof and destroy / delete the message. Neither the sender nor Sappi Limited (including its subsidiaries and associated companies) shall incur any liability resulting directly or indirectly from accessing any of the attached files which may contain a virus or the like. From k.neirynck at belgacom.net Wed Nov 12 12:46:07 2003 From: k.neirynck at belgacom.net (Kristof Neirynck) Date: Wed, 12 Nov 2003 19:46:07 +0100 Subject: [thelist] Javacript OS-X Like Navigation Bar In-Reply-To: <01cd01c3a926$f2c2f420$0a01a8c0@zion> References: <01cd01c3a926$f2c2f420$0a01a8c0@zion> Message-ID: <3FB27FEF.5050909@belgacom.net> JWilhelm-thelist wrote: > A month or two ago someone posted a link to a script he (or she) was working > on. It was a javascript implementation of a Mac OS-X like navigation bar, > where the icons smoothly grew when moused-over. Does anyone have that link > saved somewhere that they could send me? This was Joshua Olson's idea. I had a go at it too. It's slow if you use a lot of "icons". 16 - like I used - is a bit overkill. It's also slower on non-msie browsers. event.offsetX and event.offsetY being msie-only. I've used ppk's great knowledge to fake them, but it isn't quite as fast. I never realy saw it as a realy usefull thing. Most Mac OS-X users told me they disabled this feature It's been compared to "boxing with your computer". Let me know what you did with it. -- Kristof From hassan at webtuitive.com Wed Nov 12 12:57:44 2003 From: hassan at webtuitive.com (Hassan Schroeder) Date: Wed, 12 Nov 2003 10:57:44 -0800 Subject: [thelist] CSS issue, delinking?? In-Reply-To: <4.2.0.58.20031112103748.014f01c0@64.5.40.20> References: <4.2.0.58.20031112103748.014f01c0@64.5.40.20> Message-ID: <3FB282A8.80606@webtuitive.com> Megalion wrote: >> In Mozilla 1.4.1 on WinXP (and presumably other Win OSes), someone >> reported to me that the "previous" links on my blog don't work. >> >> http://ponder.megalion.org/archives/individual/2003_11/000638.html?override >> = venturaSunset >> >> The previous link on this entry is "wow". I don't understand what's >> causing the link to delinkify so that you can't click on it. It worked fine for me in Moz FB 0.6, in spite of (or maybe because of?) that page being full of these error messages ... Warning: main(/usr/local/psa/home/vhosts/ponder.megalion.org/httpdocs/mt/skins/ venturasunset/header.php): failed to open stream: No such file or directory in /usr/local/psa/home/vhosts/ponder.megalion.org/httpdocs/archives/individual/2003_11/000638.html on line 42 HTH! -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From joshua at waetech.com Wed Nov 12 12:58:17 2003 From: joshua at waetech.com (Joshua Olson) Date: Wed, 12 Nov 2003 13:58:17 -0500 Subject: [thelist] Login Screen Security References: <471E425A0BB6D211972C00105AC954240556C3E2@soportland.na.sappi.com> Message-ID: <007901c3a94e$eebc0ab0$0300a8c0@client1> From: Sent: Wednesday, November 12, 2003 1:37 PM > On the salt exposure problem: Even if the cracker can sniff the salt (now > there's an image!), does it do him any good? It would certainly give him a > much improved chance of guessing the password by running his guesses through > his own crypt function to positively identify a match with what he sniffed. > But he's still guessing passwords, so he's not any further ahead than if he > was guessing passwords at a regular login screen that submits via SSL, > right? It *is* kind of shame to protect the salt so well on the server side, > only to expose it on the client, but if it doesn't hurt us, is that really a > problem? It's good to see the thought processes at work. Reducing the ambient noise generated by the PC may help reduce headaches and hearing loss. Even at low volumes prolonged exposure to noise can cause productivity loss and personal injury. If you want to quite down your PC you may consider some hardware options offered at the following: http://www.endpcnoise.com/ <><><><><><><><><><> Joshua Olson Web Application Engineer WAE Tech Inc. http://www.waetech.com 706.210.0168 From dunstan at 1976design.com Wed Nov 12 13:32:50 2003 From: dunstan at 1976design.com (Dunstan Orchard) Date: Wed, 12 Nov 2003 19:32:50 +0000 Subject: [thelist] Re: JS: formatting onclick and onfocus In-Reply-To: <200311121909.hACJ9NS14050@ns.graphitedesign.net> References: <200311121909.hACJ9NS14050@ns.graphitedesign.net> Message-ID: <20031112193250.M14611@1976design.com> Hey Tom, Joshua, thanks for the help, > Joshua Olson wrote: > I can understand why you'd want to set the onclick handler for an LI, but > I'm not sure I understand how onfocus is applicable in any case. Only > certain elements can be focused (links, buttons, etc) and it doesn't seem > likely that an LI logically can receive focus. > > What did you have in mind when you looked at adding an onfocus handler > to the LI? Well, first off, I wanted the onfocus even to run if people clicked on a relative link from another comment. Clicking on a 'view this related comment' link takes you (unsuprisingly) to the
  • that contains that comment. It's the
  • s that have the IDs, and so it's them that gain focus when these relative, inter-comment links are clicked. The other occasion when I want the onfocus to run is when links are tabbed through. I was thinking that the
  • is a container for a comment, and each comment contains links. If any of these links received focus (through tabbing) then (in essence) the
  • is also receiving focus, the onfocus event would trigger and the
  • would display the 'I'm in focus' behaviour. Is that enough info? Cheers - Dunstan p.s. is this anything to do with event bubbling? http://www.quirksmode.org/js/events_order.html --------------------------- Dorset, England http://www.1976design.com/ http://www.1976design.com/blog/ From SCaudill at municode.com Wed Nov 12 13:49:32 2003 From: SCaudill at municode.com (Stephen Caudill) Date: Wed, 12 Nov 2003 14:49:32 -0500 Subject: [thelist] CSS issue, delinking?? Message-ID: <77025926DDD85A4D886C5B8A34E43E742D7794@exchange.internal.municode.com> Megalion on Wednesday, November 12, 2003 1:39 PM said: : No one has any clue? I'm still fairly new to CSS, my blog skins : are my attempts to teach myself CSS and work through the ins and : outs... Megalion, You may not have gotten responses right off, since neither the html nor the css validate. This is an important first step to getting peoples help... There were a few problems with the CSS. Mostly related to using floats and relative positioning in conjunction or just incorrectly (no slight intended, that's scary country). Also, always remember to define a width for any element you float. There was really no reason to use relative positioning, so I replaced them with margin:auto;'s. The culprit appears to have been that the floats were causing layers to overlay each other but remain visible, causing the link to stop working... in any case, I tinkered and got it working. Here are the changed parts from your style sheet: .bloghead { margin-left:auto; margin-right:auto; background:url(http://ponder.megalion.org/mt/skins/venturaSunset/linksBg.jpg); color: #FFF; font-family: Papyrus, palatino, georgia, times new roman, serif; font-size: medium; height: 25px; } .topNav { margin-left:auto; margin-right:auto; height: 25px; background-color: #55442A; width: 720px; left: 65px; color: #E6C79B; font-weight: bold; } .topNavPrev { float:left; text-align:left; width:230px; margin-left:10px; } .topNavCenter { float:left; text-align:center; width:240px; } .topNavNext { float:left; text-align:right; width:230px; margin-right:10px; } hth, Stephen Caudill http://www.mechavox.com/ From khallman at wrack.org Wed Nov 12 13:54:58 2003 From: khallman at wrack.org (Kelly Hallman) Date: Wed, 12 Nov 2003 11:54:58 -0800 (PST) Subject: [thelist] EMail format question. In-Reply-To: <4.2.0.58.20031112174242.016d4a70@mail.btinternet.com> Message-ID: On Wed, 12 Nov 2003, kris burford wrote: > i'm not sure this is right. the manual at php.net suggests stripcslashes > (!=stripslashes) where mail is concerned > > http://uk2.php.net/mail > http://uk2.php.net/stripcslashes I couldn't find where it said that. One thing that is important to note, which does not seem to be widely understood is that most/many PHP installations automatically run addslashes() on GET and POST input. To reverse that, if you don't require it, you must run stripslashes(). I guess it's partly a security measure, for containing SQL injection. As for mail, once the content is unslashed, then you can do whatever encoding is necessary for the mailer. // Quick-and-dirty unslashing: $post_noslash = array_map('stripslashes',$_POST); -- Kelly Hallman http://wrack.org/ From John.Brooking at sappi.com Wed Nov 12 14:16:26 2003 From: John.Brooking at sappi.com (John.Brooking at sappi.com) Date: Wed, 12 Nov 2003 15:16:26 -0500 Subject: [thelist] Login Screen Security Message-ID: <471E425A0BB6D211972C00105AC954240556C3E4@soportland.na.sappi.com> >> On the salt exposure problem: Even if the cracker can sniff the salt (now >> there's an image!), does it do him any good? It would certainly give him a >> much improved chance of guessing the password by running his guesses >through >> his own crypt function to positively identify a match with what he >sniffed. >> But he's still guessing passwords, so he's not any further ahead than if >he >> was guessing passwords at a regular login screen that submits via SSL, >> right? It *is* kind of shame to protect the salt so well on the server >side, >> only to expose it on the client, but if it doesn't hurt us, is that really >a >> problem? > > It's good to see the thought processes at work. But wait! That's no good!! Now all the cracker has to do is write his own form and send the same crypted string ("etqKJte.0e." or whatever) as he sees in the stream. Doesn't matter what the original password was! Back to rule #1: Don't trust anything from the client. Damn. Were you waiting to see how long it would take me to realize that? :-) - John This message may contain information which is private, privileged or confidential and is intended solely for the use of the individual or entity named in the message. If you are not the intended recipient of this message, please notify the sender thereof and destroy / delete the message. Neither the sender nor Sappi Limited (including its subsidiaries and associated companies) shall incur any liability resulting directly or indirectly from accessing any of the attached files which may contain a virus or the like. From joshua at waetech.com Wed Nov 12 14:37:45 2003 From: joshua at waetech.com (Joshua Olson) Date: Wed, 12 Nov 2003 15:37:45 -0500 Subject: [thelist] Re: JS: formatting onclick and onfocus References: <200311121909.hACJ9NS14050@ns.graphitedesign.net> <20031112193250.M14611@1976design.com> Message-ID: <009f01c3a95c$d4338f20$0300a8c0@client1> ----- Original Message ----- From: "Dunstan Orchard" Sent: Wednesday, November 12, 2003 2:32 PM > Well, first off, I wanted the onfocus even to run if people clicked on a > relative link from another comment. Clicking on a 'view this related comment' > link takes you (unsuprisingly) to the
  • that contains that comment. It's the >
  • s that have the IDs, and so it's them that gain focus when these relative, > inter-comment links are clicked. Your thought process makes sense here. Another approach may be to put an actual anchor at the top of the LI and link to the anchor instead of the LI. This also serves to give the viewer a way to know the link straight to that comment if they get to it through scrolling and want to know the shortcut. > The other occasion when I want the onfocus to run is when links are tabbed > through. I was thinking that the
  • is a container for a comment, and each > comment contains links. If any of these links received focus (through tabbing) > then (in essence) the
  • is also receiving focus, the onfocus event would > trigger and the
  • would display the 'I'm in focus' behaviour. This is what I was anticipating you'd mention. I tested setting the onfocus behavior dynamically via JS and the focusing on a contained anchor and found (as you did) that it did not work in IE. I'd venture to say that this simply won't work. I came up with something that simulates what you are trying to do:

    Start here and then tab through...

  • this id is li1 test1 test2 test3 test4
  • this id is li2 test1 test2 test3 test4
  • HTH, <><><><><><><><><><> Joshua Olson Web Application Engineer WAE Tech Inc. http://www.waetech.com 706.210.0168 From joshua at waetech.com Wed Nov 12 14:55:56 2003 From: joshua at waetech.com (Joshua Olson) Date: Wed, 12 Nov 2003 15:55:56 -0500 Subject: [thelist] Login Screen Security References: <471E425A0BB6D211972C00105AC954240556C3E4@soportland.na.sappi.com> Message-ID: <00c401c3a95f$5e5657d0$0300a8c0@client1> ----- Original Message ----- From: Sent: Wednesday, November 12, 2003 3:16 PM > But wait! That's no good!! Now all the cracker has to do is write his own > form and send the same crypted string ("etqKJte.0e." or whatever) as he sees > in the stream. Doesn't matter what the original password was! Back to rule > #1: Don't trust anything from the client. I've been withholding, you're right... but now that you're thinking about all the angles I'll give you a possible solution to the whole thing: What if the salt value was allowed to change on every request. More specifically, what if the client had to request from the server a one-time use salt value. The server generates and activates a random salt value and gives it back to the client. Once an attempt to login (successful or not) is made with that salt value it becomes invalid until a request for a new salt value is generated. Conceivable valid salt values could time out on the server if they go unused. On the client side you'd use the global salt value AND the one-time use salt value to encrypt the password. Back on the server encrypt the stored encrypted password using the onetime salt value and compare the result with the value from the client. Even if the encrypted was intercepted on the return trip to the server the salt value would no longer be valid and thusly the encrypted password would no longer be valid. Completely hackproof?... pretty much. Completely hackERproof?... almost. A hacker could intercept the one-time salt value's trip TO the client and expire it before the real client had a chance to use it. This is not real hole, but will be inconvenient since it would make the login fail even with correct credentials. All in all, this would work, but man is it a complex solution! I'd suggest you use SSL until something better comes out. :-) <><><><><><><><><><> Joshua Olson Web Application Engineer WAE Tech Inc. http://www.waetech.com 706.210.0168 From paul at teltest.com Wed Nov 12 14:57:34 2003 From: paul at teltest.com (Paul Bennett) Date: Thu, 13 Nov 2003 09:57:34 +1300 Subject: [thelist] Opera, ooh, get you... In-Reply-To: <12580406222089@dserver.cycla.com> References: <12580406222089@dserver.cycla.com> Message-ID: <3FB29EBE.4030409@teltest.com> Randy Pearson wrote: >Wow, that's a nice feature! > >Does anyone know how well these devices honor media="handheld" settings? For >example, do PocketPC browsers respond to that? Handspring? > any browser that honours WAP 2.0 will "honour" this. Note that it is not an OS issue (Handspring runs Palm OS and Pocket PC is its own OS), but an issue of the browser built into the platform. Many handheld browsers are made to show trimmed versions of HTML pages, eg with graphics but without the fancy layouts due to screen size limitiations, and so are actually cut-down html (not wap) browsers. WAP 2.0 supports xhtml mobile profile and css mobile profile meaning you can have essentially the same web content but with different formats specified in the stylesheets for mobile devices. This differs from wap 1.x which relied upon wml as the markup language and therefore did not allow you to run the same output content without server-side reformatting and user-agent sniffing. -- ------------------------------ 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 pixelmech at yahoo.com Wed Nov 12 15:15:47 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Wed, 12 Nov 2003 13:15:47 -0800 (PST) Subject: [thelist] why is this not breaking in IE6? Message-ID: <20031112211547.46928.qmail@web12602.mail.yahoo.com> http://www.fsisolutions.com/rayovac/cith_high/enter_code_that.asp This page uses the XML prolog that IE doesn't like, yet it displays fine in IE6 for me. Why is that? Or am I getting the browser version wrong? It's XHTML transitional. Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From syoung at unitec.ac.nz Wed Nov 12 17:05:24 2003 From: syoung at unitec.ac.nz (Stuart Young) Date: Thu, 13 Nov 2003 12:05:24 +1300 Subject: [thelist] That browser checking service... Message-ID: I reckon it was indeed www.browsercam.com, but also there is: NetMechanic's Browser Photo: http://www.netmechanic.com/browser-index.htm Graham.Bird at rspb.org.uk 12/11/2003 01:47:23 > Hi, A while back someone flagged up a new (commercial?) tool for testing sites on multiple browsers. I can't find a reference to it in the archive, or on Google. Can anyone remember what it was? I seem to remember that the service had a cluster of servers with browsers installed on it. These servers "ran" your page and served back a screenshot or the like. I believe it was a monthly subscription thing. Any ideas? Graham -- * * 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 ! Dr Stuart Young, +64 (0)9-815 4321 Ex 8656 Lecturer, School of Computing and Information Technology, UNITEC Institute of Technology, Auckland, New Zealand http://hyperdisc.unitec.ac.nz/staff/syoung.htm I would provide a URL for my official staffpage, but its too long and complex From burgan at iprimus.com.au Wed Nov 12 18:29:27 2003 From: burgan at iprimus.com.au (Tim Burgan) Date: Thu, 13 Nov 2003 10:59:27 +1030 Subject: [thelist] javascript - how to refer to (x)html elements References: <001b01c3a8d8$2d01c980$690a8aca@timburgan> <00bb01c3a91c$9baeabc0$785e32d2@timburgan> Message-ID: <00d701c3a97d$32ee73c0$779486cb@timburgan> Hello, The final code is - that does validate with the W3C validator
    I 'name' attribute in the 'form' tag is not compliant with XHTML 1.0 Strict or XHTML 1.1, but it is allowed to be used with 'input' tags. Multiple 'id' attributes are not allowed on the same page. The way the JavaScript refers to the elements here, it's not needed - thanks to .Jeff and Kristof. Thank you everyone for your help - you can see a working example of this at: Thanks Tim Burgan From gina at sitediva.com Wed Nov 12 18:51:11 2003 From: gina at sitediva.com (Gina Anderson) Date: Wed, 12 Nov 2003 19:51:11 -0500 Subject: [thelist] Solution to Multiple IE's In-Reply-To: <00d701c3a97d$32ee73c0$779486cb@timburgan> Message-ID: Hi all, I know this list works a little slow, but I haven't seen anything posted yet. Sitepoint.com just sent their newsletter and apparently, someone has worked around the fact that we can't have multiple versions of IE on our machines. Here's the link to the downloads, info, and such: http://www.skyzyx.com/archives/000094.php Sitepoint says: "Well the Holy Grail is here: you can now run Internet Explorer 4, 5, 5.5, and 6 side-by-side on the same Windows PC. Joe Maddalone, of Insert Title Web Designs noticed that Microsoft used a neat DLL substitution trick in order to make available test versions of Internet Explorer modified to comply with the Eolas '906 patent that could run side-by-side with the unmodified version of the browser. With a little experimentation, he was able to use the same technique to put together copies of Internet Explorer 5 and 5.5 that would coexist peacefully on a computer with Internet Explorer 6 installed. He has published an excellent guide to the steps required to do the same. Ryan Parman has reported on this in his blog, which provides convenient, pre-packaged downloads of Internet Explorer 3, 4.01, 5.01 SP2, and 5.5 SP2 with Maddalone's steps already applied. Simply download each of these packages, unzip it, and create a shortcut to the executable file. Just like that -- a standalone copy of Internet Explorer!" I haven't tried it yet, but I can't wait to see if it works. Gina From jeff at jeffhowden.com Wed Nov 12 18:56:13 2003 From: jeff at jeffhowden.com (Jeff Howden) Date: Wed, 12 Nov 2003 16:56:13 -0800 Subject: [thelist] javascript - how to refer to (x)html elements In-Reply-To: <00d701c3a97d$32ee73c0$779486cb@timburgan> Message-ID: tim, ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< > From: Tim Burgan > > function collectInfo() > { > var formNr = 0; > var elementName = "myName"; > var element = document.forms[formNr].elements[elementName]; > alert("The value is " + element.value); > } > > [snip] > >
    > > onclick="collectInfo();" /> >
    ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< you can take this a step further. you don't even need to know the number of the form in the forms array. just pass an object reference. additionally, lose the onclick event handler on the input button and move the collectInfo() function call to the onsubmit event handler of the
    tag: then, with some slight changes to your collectInfo() function, you're done: function collectInfo(oForm) { var elementName = 'myName'; var oElement = oForm.elements[elementName]; alert('The value is ' + oElement.value); } .jeff ?????????????????????????????????????????????????????? Jeff Howden - Web Application Specialist R?sum? - http://jeffhowden.com/about/resume/ Code Library - http://evolt.jeffhowden.com/jeff/code/ From psm2713 at hotmail.com Wed Nov 12 19:05:17 2003 From: psm2713 at hotmail.com (Ken Moore) Date: Wed, 12 Nov 2003 18:05:17 -0700 Subject: [thelist] EMail format question. Thanks. Message-ID: Hi all, >I know that there is simple solution to this one. > I knew it would be easy. Thanks to all. Ken _________________________________________________________________ MSN Shopping upgraded for the holidays! Snappier product search... http://shopping.msn.com From gina at sitediva.com Wed Nov 12 19:16:39 2003 From: gina at sitediva.com (Gina Anderson) Date: Wed, 12 Nov 2003 20:16:39 -0500 Subject: [thelist] Solution to Multiple IE's In-Reply-To: Message-ID: Ah, foo. It's been pointed out that I missed the discussion from yesterday. Pardon me, I've been busy and haven't read for several days, but I went scanned before I sent and didn't see anything mentioned. I must've missed the thread--obviously. Oh, and I meant the list was slow in -sending and receiving messages-, not slow as in not knowing the latest news. But apparently, at least in this case, my email showed up real quick so I could make a horse's patoot out of myself faster than I thought I would. Again, my apologies. Now shove me aside and move on, Gina From joshua at waetech.com Wed Nov 12 19:52:57 2003 From: joshua at waetech.com (Joshua Olson) Date: Wed, 12 Nov 2003 20:52:57 -0500 Subject: [thelist] javascript - how to refer to (x)html elements References: <001b01c3a8d8$2d01c980$690a8aca@timburgan><00bb01c3a91c$9baeabc0$785e32d2@timburgan> <00d701c3a97d$32ee73c0$779486cb@timburgan> Message-ID: <013701c3a988$dc77a1e0$0300a8c0@client1> ----- Original Message ----- From: "Tim Burgan" Sent: Wednesday, November 12, 2003 7:29 PM > > > Tim, As well as this does work in this case I've never been a big fan of referring to the form by it's position within the page. This can very easily break down if another form gets placed above this one. If you encounter this problem, then you can alternately reference the form by its id using document.getElementById. Good luck, <><><><><><><><><><> Joshua Olson Web Application Engineer WAE Tech Inc. http://www.waetech.com 706.210.0168 From burgan at iprimus.com.au Wed Nov 12 20:01:12 2003 From: burgan at iprimus.com.au (Tim Burgan) Date: Thu, 13 Nov 2003 12:31:12 +1030 Subject: [thelist] javascript - how to refer to (x)html elements References: Message-ID: <002e01c3a98a$048aeba0$783d1ad3@timburgan> hi jeff. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . : ----- Original Message ----- : From: "Jeff Howden" : : : you can take this a step further. you don't even need to : know the number of the form in the forms array. just pass : an object reference. additionally, lose the onclick event : handler on the input button and move the collectInfo() function : call to the onsubmit event handler of the tag: : : : : then, with some slight changes to your collectInfo() function, : you're done: : : function collectInfo(oForm) : { : var elementName = 'myName'; : var oElement = oForm.elements[elementName]; : alert('The value is ' + oElement.value); : } : : .jeff : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Yeah this makes even more sense. Thanks Tim From joshua at waetech.com Wed Nov 12 20:31:30 2003 From: joshua at waetech.com (Joshua Olson) Date: Wed, 12 Nov 2003 21:31:30 -0500 Subject: [thelist] [tip] How SSL Works Message-ID: <01bb01c3a98e$3f094c50$0300a8c0@client1> This link explains very well (and in simple terms) how SSL works. http://developer.netscape.com/tech/security/basics/index.html <><><><><><><><><><> Joshua Olson Web Application Engineer WAE Tech Inc. http://www.waetech.com 706.210.0168 From burgan at iprimus.com.au Wed Nov 12 20:44:20 2003 From: burgan at iprimus.com.au (Tim Burgan) Date: Thu, 13 Nov 2003 13:14:20 +1030 Subject: [thelist] javascript - how to refer to (x)html elements References: Message-ID: <005a01c3a990$0b102ca0$783d1ad3@timburgan> Hi Jeff. Your suggestion: : : : function collectInfo(oForm) : { : var elementName = 'myName'; : var oElement = oForm.elements[elementName]; : alert('The value is ' + oElement.value); : } I can't seem to get working for some reason. It's as if the oForm isn't being "read" properly or something like that. I've uploaded a page [1], where you can see the two variations. 'Task 1' on the page is the method you've just suggested, and 'Task 2' is the currently working method using the forms array. If you have the time can you please take a look to see what's going on. [1] Thanks for the help Tim From joshua at waetech.com Wed Nov 12 20:47:57 2003 From: joshua at waetech.com (Joshua Olson) Date: Wed, 12 Nov 2003 21:47:57 -0500 Subject: [thelist] javascript - how to refer to (x)html elements References: <005a01c3a990$0b102ca0$783d1ad3@timburgan> Message-ID: <01db01c3a990$8b83c7c0$0300a8c0@client1> ----- Original Message ----- From: "Tim Burgan" Sent: Wednesday, November 12, 2003 9:44 PM > Hi Jeff. > > Your suggestion: > > : : onsubmit="collectInfo(this.form)"> > I can't seem to get working for some reason. > It's as if the oForm isn't being "read" properly or something like that. There's a slight typo in jeff's code: Should be: If you look at the post I made this morning you'll see a correct reference to this same technique. <><><><><><><><><><> Joshua Olson Web Application Engineer WAE Tech Inc. http://www.waetech.com 706.210.0168 From burgan at iprimus.com.au Wed Nov 12 20:53:21 2003 From: burgan at iprimus.com.au (Tim Burgan) Date: Thu, 13 Nov 2003 13:23:21 +1030 Subject: [thelist] javascript - how to refer to (x)html elements References: <005a01c3a990$0b102ca0$783d1ad3@timburgan> Message-ID: <006401c3a991$4cf23680$783d1ad3@timburgan> actually.. it seems to be the.. ..that's the problem. If I change it to.. it works!??!?! why's this - from what I've been told over the last day, onsubmit is supposed to be more widely supported, or am I using it wrong? Tim From burgan at iprimus.com.au Wed Nov 12 20:57:56 2003 From: burgan at iprimus.com.au (Tim Burgan) Date: Thu, 13 Nov 2003 13:27:56 +1030 Subject: [thelist] javascript - how to refer to (x)html elements References: <005a01c3a990$0b102ca0$783d1ad3@timburgan> <01db01c3a990$8b83c7c0$0300a8c0@client1> Message-ID: <006c01c3a991$f1d92dc0$783d1ad3@timburgan> cheers.. that's the problem!! : : : Should be: : : : From burgan at iprimus.com.au Wed Nov 12 21:01:18 2003 From: burgan at iprimus.com.au (Tim Burgan) Date: Thu, 13 Nov 2003 13:31:18 +1030 Subject: [thelist] javascript - how to refer to (x)html elements References: <005a01c3a990$0b102ca0$783d1ad3@timburgan> <01db01c3a990$8b83c7c0$0300a8c0@client1> Message-ID: <007201c3a992$6a290b60$783d1ad3@timburgan> ok .. that's not it .. it still onsubmit still must have another problem From dave at dbmdata.com Wed Nov 12 21:04:46 2003 From: dave at dbmdata.com (David Mitchell) Date: Wed, 12 Nov 2003 22:04:46 -0500 Subject: [thelist] OT: Windows 2000 Networking In-Reply-To: <005a01c3a990$0b102ca0$783d1ad3@timburgan> References: <005a01c3a990$0b102ca0$783d1ad3@timburgan> Message-ID: <3FB2F4CE.2010404@dbmdata.com> Hey All, Have a really annoying problem here trying to add a new PC to my network at home. Here's the problem. I have 4 computers all connected to a LinkSys router sharing my cable connection. I just added a new computer tonite running W2k Pro. All the computers can see eachohter except for the laptop I am typing this email on. This laptop can see all the existing computers on the network except for the new one, and all the other computers can see the new PC except for this laptop. I can also see the laptop from the computer that I can't see from the laptop, if you know what I mean. Any ideas? I'm sure you'll need more info, so if you do please let me know. Thanks in advance, Dave From ken at adOpenStatic.com Wed Nov 12 21:12:57 2003 From: ken at adOpenStatic.com (Ken Schaefer) Date: Thu, 13 Nov 2003 14:12:57 +1100 Subject: [thelist] OT: Windows 2000 Networking References: <005a01c3a990$0b102ca0$783d1ad3@timburgan> <3FB2F4CE.2010404@dbmdata.com> Message-ID: <086701c3a994$09be5b70$0a345e81@careersAD.unsw.edu.au> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: "David Mitchell" Subject: [thelist] OT: Windows 2000 Networking : Have a really annoying problem here trying to add a : new PC to my network at home. Here's the problem. : I have 4 computers all connected to a LinkSys router : sharing my cable connection. I just added a new : computer tonite running W2k Pro. All the computers : can see eachohter except for the laptop I am typing : this email on. This laptop can see all the existing : computers on the network except for the new one, : and all the other computers can see the new PC : except for this laptop. I can also see the laptop : from the computer that I can't see from the laptop, if : you know what I mean. Any ideas? I'm sure you'll : need more info, so if you do please let me know. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hi, When you say "see", are you talking about visibility in Network Neighbourhood? If so, are you running in a workgroup or domain model? If it's a workgroup model, I would suggest that you have either a problem with: a) master-backup browser election -or- b) related to above, you're running some kind of software firewall on one of the machines that's intefering with browser elections/notifications etc. You can use browstat.exe to troubleshoot browse master issue (and to shutdown "rogue" master/backup browse masters) However, what I do suggest you try, is doing: \\xxx.xxx.xxx.xxx in the address bar of an explorer window, where the IP address corresponds to a machine that you can't see. So, you say your laptop can't see the new Win2k machine, and suppose the Win2k machine has an IP address of 192.168.0.50, then try doing: \\192.168.0.50 in an Explorer address bar on your laptop. If you can reach the Win2k machine by IP address, then it seems like a NetBIOS browsing issue, rather than anything more fundamental. Cheers Ken Microsoft MVP - Windows Server (IIS) From dave at dbmdata.com Wed Nov 12 21:22:47 2003 From: dave at dbmdata.com (David Mitchell) Date: Wed, 12 Nov 2003 22:22:47 -0500 Subject: [thelist] OT: Windows 2000 Networking In-Reply-To: <086701c3a994$09be5b70$0a345e81@careersAD.unsw.edu.au> References: <005a01c3a990$0b102ca0$783d1ad3@timburgan> <3FB2F4CE.2010404@dbmdata.com> <086701c3a994$09be5b70$0a345e81@careersAD.unsw.edu.au> Message-ID: <3FB2F907.6030006@dbmdata.com> Ken, Yes, I can see the computer in Explorer, yet when I try ping it, it is unreachable. Ken Schaefer wrote: >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >From: "David Mitchell" >Subject: [thelist] OT: Windows 2000 Networking > > >: Have a really annoying problem here trying to add a >: new PC to my network at home. Here's the problem. >: I have 4 computers all connected to a LinkSys router >: sharing my cable connection. I just added a new >: computer tonite running W2k Pro. All the computers >: can see eachohter except for the laptop I am typing >: this email on. This laptop can see all the existing >: computers on the network except for the new one, >: and all the other computers can see the new PC >: except for this laptop. I can also see the laptop >: from the computer that I can't see from the laptop, if >: you know what I mean. Any ideas? I'm sure you'll >: need more info, so if you do please let me know. >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Hi, > >When you say "see", are you talking about visibility in Network >Neighbourhood? If so, are you running in a workgroup or domain model? > >If it's a workgroup model, I would suggest that you have either a problem >with: >a) master-backup browser election > -or- >b) related to above, you're running some kind of software firewall on one of >the machines that's intefering with browser elections/notifications etc. > >You can use browstat.exe to troubleshoot browse master issue (and to >shutdown "rogue" master/backup browse masters) > >However, what I do suggest you try, is doing: > >\\xxx.xxx.xxx.xxx > >in the address bar of an explorer window, where the IP address corresponds >to a machine that you can't see. So, you say your laptop can't see the new >Win2k machine, and suppose the Win2k machine has an IP address of >192.168.0.50, then try doing: > >\\192.168.0.50 > >in an Explorer address bar on your laptop. If you can reach the Win2k >machine by IP address, then it seems like a NetBIOS browsing issue, rather >than anything more fundamental. > >Cheers >Ken > >Microsoft MVP - Windows Server (IIS) > > > From dianesoini at earthlink.net Wed Nov 12 22:02:18 2003 From: dianesoini at earthlink.net (Diane Soini) Date: Wed, 12 Nov 2003 20:02:18 -0800 Subject: [thelist] Enterprise site architecture/CMS question In-Reply-To: <200311120625.1ajVWg17R3NZFop0@coot> Message-ID: <2CC639B9-158E-11D8-9F3D-00039358CB42@earthlink.net> On Wednesday, November 12, 2003, at 06:25 AM, thelist-request at lists.evolt.org wrote: > >> Wondering about your opinions on how to handle static content on a >> large enterprise size site. > > Hi Tom, > > One efficient way to handle static content is to write content pages > that > call the template - somewhat upsidedown as logic goes. I have used this method. I didn't have quite so many pages as a large enterprise would, but it is indeed an efficient way to handle static content and make it easy to redesign. They way it works is to have some templates that take the body content file's filename as a variable. Then the page itself passes that variable to the template. The body content file is yet another file. If the body content file uses really simple HTML, then it's a relative cinch to do a web site redesign. By simple HTML I mean that instead of doing or or tons of nested tables kind of stuff you keep it very simple.

    tags for headings,

    tags for paragraphs,

    • for lists, maybe some custom classes for things like images with captions or callout boxes etc. Style the look of those things in the stylesheet. Push all the look and feel you can into the stylesheet. Avoid inline styles, or any kind of inline presentational markup like the plague. Then when it's time for the redesign, you redesign the look of the html tags in the stylesheet and redesign the layout of the site pages in the templates. All those body content pages you don't have to touch. Of course it's never exactly that easy, and this example is somewhat simplified. Basically, you get to avoid re-doing most of the content pages in the next redesign. The trade-off is that it's not intuitive for most people when they want to edit the content to have to look in a file that isn't the same name as the one their browser calls. Diane From mpember at phreaker.net Wed Nov 12 22:19:49 2003 From: mpember at phreaker.net (Michael Pemberton) Date: Thu, 13 Nov 2003 15:19:49 +1100 Subject: [thelist] OT: Windows 2000 Networking Message-ID: Can you give a bit more info about the various setups? eg. OS on laptop vs OS on other PCs. On many win9x machines, TCP/IP is not installed by default and they use NetBEUI. The reverse is the case in Win2k/XP setups. Since ping is based on TCP/IP, this may explain the problem with not being able to ping the machine. Try using NBTSTAT.EXE to test rather than ping. This can sometimes work better between various network setups. --- Michael Pemberton evolt at mpember.net.au David Mitchell wrote: > Hey All, > > Have a really annoying problem here trying to add a new PC to my network > at home. Here's the problem. I have 4 computers all connected to a > LinkSys router sharing my cable connection. I just added a new computer > tonite running W2k Pro. All the computers can see eachohter except for > the laptop I am typing this email on. This laptop can see all the > existing computers on the network except for the new one, and all the > other computers can see the new PC except for this laptop. I can also > see the laptop from the computer that I can't see from the laptop, if > you know what I mean. Any ideas? I'm sure you'll need more info, so if > you do please let me know. > > Thanks in advance, > > Dave From jaimz at netspace.net.au Wed Nov 12 22:20:47 2003 From: jaimz at netspace.net.au (tom jaimz) Date: Thu, 13 Nov 2003 15:20:47 +1100 Subject: [thelist] easy way to convert character encoding? In-Reply-To: <006c01c3a991$f1d92dc0$783d1ad3@timburgan> Message-ID: <000001c3a99d$86ce1c00$6a00a8c0@tom> hi thelist crew, i have a database with quite a lot of information encoded in shift_jis, and we've decided because we are going to eventually have to use multiple languages on one page, it's logical to convert over to utf-8 encoding. does anyone know of any easy methods - perhaps just a couple of well-constructed vbscript functions - to convert the data from shift_jis to utf-8? thanks! tom. From ken at adOpenStatic.com Wed Nov 12 22:35:39 2003 From: ken at adOpenStatic.com (Ken Schaefer) Date: Thu, 13 Nov 2003 15:35:39 +1100 Subject: [thelist] OT: Windows 2000 Networking References: Message-ID: <0a0501c3a99f$96e944f0$0a345e81@careersAD.unsw.edu.au> This is a possibility, but the fact that machineA can see machineB but not visa-versa would count against it. (plus the fact that OP has all these machines hooked up to the 'net, presumably, via his Linksys router, which would imply that they all have TCP/IP installed). Cheers Ken ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: "Michael Pemberton" Subject: Re: [thelist] OT: Windows 2000 Networking : Can you give a bit more info about the various setups? eg. OS on laptop vs : OS on other PCs. : : : : On many win9x machines, TCP/IP is not installed by default and they use : NetBEUI. The reverse is the case in Win2k/XP setups. : : Since ping is based on TCP/IP, this may explain the problem with not being : able to ping the machine. : : Try using NBTSTAT.EXE to test rather than ping. This can sometimes work : better between various network setups. : : --- : Michael Pemberton : evolt at mpember.net.au : : David Mitchell wrote: : : > Hey All, : > : > Have a really annoying problem here trying to add a new PC to my network : > at home. Here's the problem. I have 4 computers all connected to a : > LinkSys router sharing my cable connection. I just added a new computer : > tonite running W2k Pro. All the computers can see eachohter except for : > the laptop I am typing this email on. This laptop can see all the : > existing computers on the network except for the new one, and all the : > other computers can see the new PC except for this laptop. I can also : > see the laptop from the computer that I can't see from the laptop, if : > you know what I mean. Any ideas? I'm sure you'll need more info, so if : > you do please let me know. : > : > Thanks in advance, : > : > Dave : : : : : : -- : * * 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 Kili2x at netscape.net Wed Nov 12 22:38:32 2003 From: Kili2x at netscape.net (Blowhorn) Date: Wed, 12 Nov 2003 23:38:32 -0500 Subject: [thelist] XML schemas with keyrefs Message-ID: <43835502.44EA67C4.0004D44F@netscape.net> Hi, evolters. I have two XML files at http://cfc-cfl.g3z.com/worx/cfccontents.xml and http://cfc-cfl.g3z.com/worx/sfccontents.xml, both referring to a W3C-type schema at http://cfc-cfl.g3z.com/worx/contents.xsd Both XML files validate just fine using either the Schema Checking Service at http://www.w3.org/2001/03/webdata/xsv or the XML Schema Validator at http://tools.decisionsoft.com/schemaValidate.html, though the latter service requires local copies. Neither of the XML files, however, validate using XMLspy 5 Enterprise Edition. The offending markup are the clink element at line 302 in cfccontents.xml and the elink element at line 610 in sfccontents.xml, and the errors that XMLspy throws go something like "Undefined values for keyref identity constraint - the values referred to by the field selector must match an existing unique/key value." All xs:key and xs:keyref elements are located near the bottom of the schema document, under the xs:element with name='contents'. What should I fix in the schema document to make the XML files validate? Or should I ignore XMLspy validation for now? TIA! Cromwell __________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial today! http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397 Get AOL Instant Messenger 5.1 free of charge. Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455 From jcbullas at nildram.co.uk Thu Nov 13 00:38:43 2003 From: jcbullas at nildram.co.uk (John C Bullas) Date: Thu, 13 Nov 2003 06:38:43 +0000 Subject: [thelist] OT: Windows 2000 Networking... home net been there! In-Reply-To: <3FB2F4CE.2010404@dbmdata.com> References: <005a01c3a990$0b102ca0$783d1ad3@timburgan> <3FB2F4CE.2010404@dbmdata.com> Message-ID: <6.0.0.22.0.20031113063454.023fa6b8@pop3.nildram.co.uk> At 03:04 13/11/2003, David Mitchell wrote >Hey All, > >Have a really annoying problem here trying to add a new PC to my network >at home. Here's the problem. I have 4 computers all connected to a LinkSys >router sharing my cable connection. I just added a new computer tonite >running W2k Pro. All the computers can see eachohter except for the laptop >I am typing this email on. This laptop This is in "me speak" check all machines have the same network protocols and services running and the one that "sees all" check the firewall in use is happy to "let in" all the DNS calls from the other machines and vice-versa there may be a benefit in waiting a short time or restarting the old machines I had this very problem and solved it via a change/augmentation to the new machine of a new protocol and a setting in zonealarm I assume the domain name/workgroop is set right? FB > can see all the existing computers on the network except for the new > one, and all the other computers can see the new PC except for this > laptop. I can also see the laptop from the computer that I can't see from > the laptop, if you know what I mean. Any ideas? I'm sure you'll need more > info, so if you do please let me know. > >Thanks in advance, > >Dave From marcan at home.se Thu Nov 13 01:17:12 2003 From: marcan at home.se (Marcus Andersson) Date: Thu, 13 Nov 2003 08:17:12 +0100 Subject: SV: [thelist] javascript - how to refer to (x)html elements In-Reply-To: <005a01c3a990$0b102ca0$783d1ad3@timburgan> Message-ID: <020c01c3a9b6$28a35280$0da8a8c0@marcusnb> >I can't seem to get working for some reason. >It's as if the oForm isn't being "read" properly or something like that. >I've uploaded a page [1], where you can see the two variations. 'Task 1' on the page is the method you've just suggested, and 'Task 2' is the currently working method using the forms array. >If you have the time can you please take a look to see what's going on. >[1] You currently have this code in your form: If you want your form to trigger onsubmit you need to change your input type="button" to input type="submit". You would also like to change you onsubmit to refer to this instead of this.form It will then look like this:
      /Marcus From evolt at david.us-lot.org Thu Nov 13 01:22:36 2003 From: evolt at david.us-lot.org (David Dorward) Date: Thu, 13 Nov 2003 07:22:36 +0000 Subject: [thelist] why is this not breaking in IE6? In-Reply-To: <20031112211547.46928.qmail@web12602.mail.yahoo.com> References: <20031112211547.46928.qmail@web12602.mail.yahoo.com> Message-ID: <20031113072236.GA1994%david@dorward.me.uk> On Wed, Nov 12, 2003 at 01:15:47 -0800, Tom Dell'Aringa wrote: > http://www.fsisolutions.com/rayovac/cith_high/enter_code_that.asp > > This page uses the XML prolog that IE doesn't like, yet it displays > fine in IE6 for me. Why is that? Because you are using deprecated tag soup instead of CSS for your presentation. Using the XML prolog kicks MSIE 6 out of standards mode which means its CSS engine emulates the bugs of its predecessors. You aren't using the CSS engine. > It's XHTML transitional. No it isn't, it just claims to be. It fails to qualify as XHTML 1.0 Transitional on forty three counts. -- David Dorward http://dorward.me.uk/ From burgan at iprimus.com.au Thu Nov 13 02:03:48 2003 From: burgan at iprimus.com.au (Tim Burgan) Date: Thu, 13 Nov 2003 18:33:48 +1030 Subject: [thelist] javascript - how to refer to (x)html elements References: <020c01c3a9b6$28a35280$0da8a8c0@marcusnb> Message-ID: <001d01c3a9bc$ac505f00$3a3032d2@timburgan> Thanks Marcus, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . : ----- Original Message ----- : From: "Marcus Andersson" : : : If you want your form to trigger onsubmit you need to change your input : type="button" to input type="submit". You would also like to change you : onsubmit to refer to this instead of this.form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . It's all working like a charm now. Cheers Tim From dave at dbmdata.com Thu Nov 13 06:28:21 2003 From: dave at dbmdata.com (David Mitchell) Date: Thu, 13 Nov 2003 07:28:21 -0500 Subject: [thelist] OT: Windows 2000 Networking In-Reply-To: Message-ID: Here's the lowdown on the machines: 1) Windows 2000 server - sees all and can be seen by all 2) Windows XP pro - see all and can be seen by all 3) Windows 2000 pro - sees above 2, but can't see new machine (4) 4) Windows 2000 pro (new machine) - sees (1) and (2) but can't see (3) All all using the same protocols and are members of the same workgroup. The only anomaly I can think of is (3) is a laptop and is on a wireless connection. My router is set up to serve DHCP. Maybe this could be the factor? -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org]On Behalf Of Michael Pemberton Sent: Wednesday, November 12, 2003 11:20 PM To: thelist at lists.evolt.org Subject: Re: [thelist] OT: Windows 2000 Networking Can you give a bit more info about the various setups? eg. OS on laptop vs OS on other PCs. On many win9x machines, TCP/IP is not installed by default and they use NetBEUI. The reverse is the case in Win2k/XP setups. Since ping is based on TCP/IP, this may explain the problem with not being able to ping the machine. Try using NBTSTAT.EXE to test rather than ping. This can sometimes work better between various network setups. --- Michael Pemberton evolt at mpember.net.au David Mitchell wrote: > Hey All, > > Have a really annoying problem here trying to add a new PC to my network > at home. Here's the problem. I have 4 computers all connected to a > LinkSys router sharing my cable connection. I just added a new computer > tonite running W2k Pro. All the computers can see eachohter except for > the laptop I am typing this email on. This laptop can see all the > existing computers on the network except for the new one, and all the > other computers can see the new PC except for this laptop. I can also > see the laptop from the computer that I can't see from the laptop, if > you know what I mean. Any ideas? I'm sure you'll need more info, so if > you do please let me know. > > Thanks in advance, > > Dave -- * * 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 jcbullas at nildram.co.uk Thu Nov 13 06:35:04 2003 From: jcbullas at nildram.co.uk (John C Bullas (soton.ac.uk relay)) Date: Thu, 13 Nov 2003 12:35:04 +0000 Subject: [thelist] OT: Windows 2000 Networking In-Reply-To: References: Message-ID: <6.0.0.22.0.20031113123244.027aad80@pop3.nildram.co.uk> At 12:28 PM 13-11-03, David Mitchell wrote: >Here's the lowdown on the machines: > >1) Windows 2000 server - sees all and can be seen by all >2) Windows XP pro - see all and can be seen by all >3) Windows 2000 pro - sees above 2, but can't see new machine (4) >4) Windows 2000 pro (new machine) - sees (1) and (2) but can't see (3) what comms are going on between the existing machines? can you trap the traffic between the #1 #2 and #3 machines using something like Zonealarm or firewall logs? >All all using the same protocols and are members of the same workgroup. The >only anomaly I can think of is (3) is a laptop and is on a wireless >connection. My router is set up to serve DHCP. Maybe this could be the If that is the unique "thang" about #4 then you might have it!!!! >factor? From mpember at phreaker.net Thu Nov 13 06:51:57 2003 From: mpember at phreaker.net (Michael Pemberton) Date: Thu, 13 Nov 2003 23:51:57 +1100 Subject: [thelist] OT: Windows 2000 Networking In-Reply-To: References: Message-ID: <3FB37E6D.10902@phreaker.net> David Mitchell wrote: >Here's the lowdown on the machines: > >1) Windows 2000 server - sees all and can be seen by all >2) Windows XP pro - see all and can be seen by all >3) Windows 2000 pro - sees above 2, but can't see new machine (4) >4) Windows 2000 pro (new machine) - sees (1) and (2) but can't see (3) > >All all using the same protocols and are members of the same workgroup. The >only anomaly I can think of is (3) is a laptop and is on a wireless >connection. My router is set up to serve DHCP. Maybe this could be the >factor? > > So the problem is only affecting Win2000 Pro and affects them both. So the problem is relating to two machines. This both widens the scope and shortens the list of causes (did that make sense??). How are the local accounts configured on the individual machines? Is is possible that the administrator password differs between the machines. What do you get when you run "net view" from the command line on these two machines? Also, try running a "netstat /a" check that they are all getting the same settings from the DHCP server. DHCP can control a large number of settings. Is it possible to turn your Win2000 Server system into a DHCP server and removing the option from the router? The reason I ask this is that you can often keep better track of what's going on if you run a fully featured (I'm amazed I'm using this turn in reference to a M$ product) DHCP server rather than the plug 'n' play ones that come with various routers. It's almost midnight local time, but I should be back @ my desk in about 9 hours, so I'll try ask some of the guys in the office if they've seen anything like this. -- Michael Pemberton evolt at mpember.net.au From simon.perry at si-designs.co.uk Thu Nov 13 07:06:25 2003 From: simon.perry at si-designs.co.uk (Simon Perry) Date: Thu, 13 Nov 2003 13:06:25 +0000 Subject: [thelist] OT: Windows 2000 Networking In-Reply-To: References: Message-ID: <3FB381D1.4080701@si-designs.co.uk> David Mitchell wrote: >Here's the lowdown on the machines: > >1) Windows 2000 server - sees all and can be seen by all >2) Windows XP pro - see all and can be seen by all >3) Windows 2000 pro - sees above 2, but can't see new machine (4) >4) Windows 2000 pro (new machine) - sees (1) and (2) but can't see (3) > >All all using the same protocols and are members of the same workgroup. The >only anomaly I can think of is (3) is a laptop and is on a wireless >connection. My router is set up to serve DHCP. Maybe this could be the >factor? > > Sounds like some sort of basic firewall/security issue within your LinkSys router. My guess is that certain traffic such as netbios is blocked unless the ip or mac address of the computer is on an allow list. Let me know what router model you are running and I will be able to confirm this. Simon From michiel.oosterling at hinttech.com Thu Nov 13 07:12:17 2003 From: michiel.oosterling at hinttech.com (Michiel Oosterling) Date: Thu, 13 Nov 2003 14:12:17 +0100 Subject: [thelist] Javascript window.print function Message-ID: <3FB38331.1010400@hinttech.com> Hi, I have an (x)html document that users need to be able to print out, however, due to our nice friends from Redmond, IE doesn't really handle the rel="alternate stylesheet" attribute too well. I devised a way of being able to still do the print thingie via css by reloading the page and rewriting the css tag in the header to point to the print stylesheet. This is a dirty hack, and I would very much like to do something along the following lines, misusing the window.print function in javascript, given this can actually be done: javascript:document.URL.print('doc.html?action=print'); - or - javascript:document.self.print('doc.html?action=print'); Agreed, this is another dirty hack, but if someone has a nice method of printing out a document along the lines of window.print(); using a 'print this doc' image/link and be able to use the alternate print style sheet, oh and it really should work on most accepted graphical browsers. If this is possible, I want to keep it within the same doc, due to the templating system we're using here. (some nightmare app called Tridion :) ) Regards, Michiel Oosterling From mpember at phreaker.net Thu Nov 13 07:15:25 2003 From: mpember at phreaker.net (Michael Pemberton) Date: Fri, 14 Nov 2003 00:15:25 +1100 Subject: [thelist] odd IE worm or something.. In-Reply-To: <013601c3a749$bba0bab0$6401a8c0@yoda> References: <013601c3a749$bba0bab0$6401a8c0@yoda> Message-ID: <3FB383ED.9040708@phreaker.net> Lonnie wrote: >Michael, > >If you *know* this is a virus. And you know what it does and how it >manifests. And you've seen it before on your brother's PC. Then WHAT IS IT? >How is it that you know, but the major anti-virus folks don't? What did your >brother do to get rid of it? If his PC is behind a tight firewall, how did >this virus infect him? > >I'll bet many on this list will forego your tip for a bit more information >on what you profess to know about this alleged virus and how it relates to >Tom's problem. > > Sorry I haven't responded sooner, I often lose track of my own posts and end up missing the rest of the conversation. My boss say's I'm the same at work :) I actually found this again on a PC at work this morning. Again, behind a firewall. and again, I have forgotten the name of the executable. I apologise for not taking note. But I assure you that the program exists and running startup control panel will allow you to find it. The program is free and I have no affiliation with it's author. From memory, the process that is installed appears in your winnt/windows or system32 folder. One that sounded familiar while doing a google search was "savenow.exe". I apologise for my use of the term "virus". It is probably more appropriate to call it malware. I have no idea how either of the two victims got the software because both ignored it until I happened to be speaking to them some time after they became infected. Because both were heavy users of IE and the internet in general, both saw it is a normal popup related problem and not something that can be countered. As for removing it, my tip was written in such a way as to hopefully give steps to solve the problem while also allowing for later reference. -- Michael Pemberton evolt at mpember.net.au From evolt at david.us-lot.org Thu Nov 13 07:21:01 2003 From: evolt at david.us-lot.org (David Dorward) Date: Thu, 13 Nov 2003 13:21:01 +0000 Subject: [thelist] Javascript window.print function In-Reply-To: <3FB38331.1010400@hinttech.com> Message-ID: <39D472B6-15DC-11D8-811B-000A957E4F00@david.us-lot.org> On Thursday, Nov 13, 2003, at 13:12 Europe/London, Michiel Oosterling wrote: > I have an (x)html document that users need to be able to print out, > however, due to our nice friends from Redmond, IE doesn't really > handle the rel="alternate stylesheet" attribute too well. Why use an alternative stylesheet? The default stylesheet set for print media does the job for most people - or do you need two or more DIFFERENT print style sheets for users to use? -- David Dorward http://dorward.me.uk/ From hershelr at netvision.net.il Thu Nov 13 07:21:29 2003 From: hershelr at netvision.net.il (Hershel Robinson) Date: Thu, 13 Nov 2003 08:21:29 -0500 Subject: [thelist] Javascript window.print function In-Reply-To: <3FB38331.1010400@hinttech.com> Message-ID: <002e01c3a9e9$0c6dc360$0300000a@hershel2000> What's wrong with @media print { /* Print style definitions */ } ? This works for me in IE6 Win 2K. Hershel From chris at ecleanuk.com Thu Nov 13 07:44:30 2003 From: chris at ecleanuk.com (Chris Marsh) Date: Thu, 13 Nov 2003 13:44:30 -0000 Subject: [thelist] odd IE worm or something.. In-Reply-To: <3FB383ED.9040708@phreaker.net> Message-ID: <000501c3a9ec$438bfe90$0500a8c0@winsvr200301> [..] > system32 folder. One that sounded familiar while doing a > google search > was "savenow.exe". Haven't been following the thread, but isn't this something that's installed with Kazaa? [..] Regards Chris Marsh --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.519 / Virus Database: 317 - Release Date: 17/09/2003 From michiel.oosterling at hinttech.com Thu Nov 13 07:47:12 2003 From: michiel.oosterling at hinttech.com (Michiel Oosterling) Date: Thu, 13 Nov 2003 14:47:12 +0100 Subject: [thelist] Javascript window.print function In-Reply-To: <39D472B6-15DC-11D8-811B-000A957E4F00@david.us-lot.org> References: <39D472B6-15DC-11D8-811B-000A957E4F00@david.us-lot.org> Message-ID: <3FB38B60.7090707@hinttech.com> Indeed, there would have to be options for printing the document out in various ways, based on for example which department the given user is working for. I know this sounds wierd, but that's the way the client has requested it, and we told them we would investigate if this where possible. Michiel Oosterling David Dorward wrote: > > On Thursday, Nov 13, 2003, at 13:12 Europe/London, Michiel Oosterling > wrote: > >> I have an (x)html document that users need to be able to print out, >> however, due to our nice friends from Redmond, IE doesn't really >> handle the rel="alternate stylesheet" attribute too well. > > > Why use an alternative stylesheet? The default stylesheet set for > print media does the job for most people - or do you need two or more > DIFFERENT print style sheets for users to use? > > -- > David Dorward > http://dorward.me.uk/ > From dave at dbmdata.com Thu Nov 13 07:54:22 2003 From: dave at dbmdata.com (David Mitchell) Date: Thu, 13 Nov 2003 08:54:22 -0500 Subject: [thelist] OT: Windows 2000 Networking In-Reply-To: <3FB381D1.4080701@si-designs.co.uk> Message-ID: <000401c3a9ed$a687b240$6501a8c0@opr> Hi Simon, Here is the router model: http://www.linksys.com/products/product.asp?grid=33&scid=35&prid=544 >Sounds like some sort of basic firewall/security issue within your >LinkSys router. My guess is that certain traffic such as netbios is >blocked unless the ip or mac address of the computer is on an allow >list. Let me know what router model you are running and I will be >able >to confirm this. >Simon -- * * 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 tim at incutio.com Thu Nov 13 07:56:37 2003 From: tim at incutio.com (Tim Fountain) Date: Thu, 13 Nov 2003 13:56:37 +0000 Subject: [thelist] PHP ad management system Message-ID: <601444527030.20031113135637@incutio.com> Does anyone know of a decent PHP/MySQL ad management system? Requirements: - Needs to support multiple sites, and you need to be able to add an advert to multiple sites simultaneously - Ability to add adverts for particular keywords (the ads are going on a search engine) - Some sort of advertiser login so advertisers can manage their own adverts. Ideally with payment support they can credit their accounts. Obviously it needs click tracking and the usual stuff - support for banner and text ads, possibly flash as well. I've looked at: phpMyAds - easy to use, supports multiple sites but doesn't allow you to add adverts to mulitple sites at once. No keyword support. phpAdsNew - this one's the best so far, great interface, keyword support is there, however no payment stuff that I can see, and the whole thing seems organised in a strange way. Oasis - horrible installation, at first glance there appear to be some nasty security holes (plain text config files). A trawl around hotscripts hasn't yielded much else. Am I going to have to write one? -- Tim Fountain | Web developer | Incutio Ltd | www.incutio.com Tel: +44(0)8708 700 333 | Fax: +44(0)7092 181 581 From hassan at webtuitive.com Thu Nov 13 08:02:25 2003 From: hassan at webtuitive.com (Hassan Schroeder) Date: Thu, 13 Nov 2003 06:02:25 -0800 Subject: [thelist] OT: Windows 2000 Networking In-Reply-To: References: Message-ID: <3FB38EF1.3080805@webtuitive.com> David Mitchell wrote: > > 3) Windows 2000 pro - sees above 2, but can't see new machine (4) > 4) Windows 2000 pro (new machine) - sees (1) and (2) but can't see (3) > > All all using the same protocols and are members of the same workgroup. The > only anomaly I can think of is (3) is a laptop and is on a wireless > connection. My router is set up to serve DHCP. Maybe this could be the > factor? Some APs also do DHCP by default. It sounds like these two machines are being given the same IP address, which could happen if two DHCP servers are running simultaneously and using the same address pool. In any case, grab a copy of Nmap ; it'll help give you a picture of what addresses are active, etc. And a copy of Ethereal would also be helpful. FWIW! -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From pixelmech at yahoo.com Thu Nov 13 08:03:53 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Thu, 13 Nov 2003 06:03:53 -0800 (PST) Subject: [thelist] odd IE worm or something.. In-Reply-To: <000501c3a9ec$438bfe90$0500a8c0@winsvr200301> Message-ID: <20031113140353.25375.qmail@web12605.mail.yahoo.com> --- Chris Marsh wrote: > [..] > Haven't been following the thread, but isn't this something that's > installed with Kazaa? Chris, I have *never* (nor would I) installed Kazaa or anything like that, so for me that was not it (i was the original poster.) Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From lead at offlead.com Thu Nov 13 08:15:14 2003 From: lead at offlead.com (Jeniffer C. Johnson) Date: Thu, 13 Nov 2003 08:15:14 -0600 Subject: [thelist] a portfolio of web work? Message-ID: <6.0.0.22.0.20031113080808.024b0758@www.offlead.com> Here's a question for folks who make a living doing web work. When someone asks you to bring a portfolio, just how are you representing your online work in a physical manner? I've got an online portfolio, with details of my role in various projects, links to sites I've developed, and in cases where content is not available to the public online, either copies of some of the pages, or sample files with sensitive content removed. I work online, and most often I'm asked for examples of my work online. But I've been asked for an actual physical portfolio, that I can carry in and put on someone's desk. I'm not sure just how best to do this, especially since so much of good web work depends on how well the user can USE the site. I'm not sure just how best to approach putting stuff on paper, or if there's a better way to do a physical portfolio of online work. Jeniffer From bedouglas at earthlink.net Thu Nov 13 08:25:53 2003 From: bedouglas at earthlink.net (bruce) Date: Thu, 13 Nov 2003 06:25:53 -0800 Subject: [thelist] OT: Windows 2000 Networking In-Reply-To: Message-ID: <020401c3a9f2$0c51e7e0$0301a8c0@Mesa.com> david... just out of curiousity... what happens for each machine when you do a c:/ipconfig...? what do you get as a result... could you paste the result to us.. and where are you located.. us or abroad... thanks.. -bruce -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org]On Behalf Of David Mitchell Sent: Thursday, November 13, 2003 4:28 AM To: thelist at lists.evolt.org Subject: RE: [thelist] OT: Windows 2000 Networking Here's the lowdown on the machines: 1) Windows 2000 server - sees all and can be seen by all 2) Windows XP pro - see all and can be seen by all 3) Windows 2000 pro - sees above 2, but can't see new machine (4) 4) Windows 2000 pro (new machine) - sees (1) and (2) but can't see (3) All all using the same protocols and are members of the same workgroup. The only anomaly I can think of is (3) is a laptop and is on a wireless connection. My router is set up to serve DHCP. Maybe this could be the factor? -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org]On Behalf Of Michael Pemberton Sent: Wednesday, November 12, 2003 11:20 PM To: thelist at lists.evolt.org Subject: Re: [thelist] OT: Windows 2000 Networking Can you give a bit more info about the various setups? eg. OS on laptop vs OS on other PCs. On many win9x machines, TCP/IP is not installed by default and they use NetBEUI. The reverse is the case in Win2k/XP setups. Since ping is based on TCP/IP, this may explain the problem with not being able to ping the machine. Try using NBTSTAT.EXE to test rather than ping. This can sometimes work better between various network setups. --- Michael Pemberton evolt at mpember.net.au David Mitchell wrote: > Hey All, > > Have a really annoying problem here trying to add a new PC to my network > at home. Here's the problem. I have 4 computers all connected to a > LinkSys router sharing my cable connection. I just added a new computer > tonite running W2k Pro. All the computers can see eachohter except for > the laptop I am typing this email on. This laptop can see all the > existing computers on the network except for the new one, and all the > other computers can see the new PC except for this laptop. I can also > see the laptop from the computer that I can't see from the laptop, if > you know what I mean. Any ideas? I'm sure you'll need more info, so if > you do please let me know. > > Thanks in advance, > > Dave -- * * 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 ! From mikek at brightstorm.co.uk Thu Nov 13 08:24:51 2003 From: mikek at brightstorm.co.uk (mike karthauser) Date: Thu, 13 Nov 2003 14:24:51 +0000 Subject: [thelist] a portfolio of web work? In-Reply-To: <6.0.0.22.0.20031113080808.024b0758@www.offlead.com> Message-ID: on 13/11/03 2:15 pm, Jeniffer C. Johnson at lead at offlead.com wrote: > Here's a question for folks who make a living doing web work. When someone > asks you to bring a portfolio, just how are you representing your online > work in a physical manner? Save it on cd and bring a laptop. If you are going for a web job - then you'll be expected to show working examples. If you are going for a design role, then print out some of your designs and put them in a folder. I always ask for online portfolios/ -- 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 chris at ecleanuk.com Thu Nov 13 08:27:44 2003 From: chris at ecleanuk.com (Chris Marsh) Date: Thu, 13 Nov 2003 14:27:44 -0000 Subject: [thelist] odd IE worm or something.. In-Reply-To: <20031113140353.25375.qmail@web12605.mail.yahoo.com> Message-ID: <000c01c3a9f2$4d679680$0500a8c0@winsvr200301> > --- Chris Marsh wrote: > > [..] > > > Haven't been following the thread, but isn't this something that's > > installed with Kazaa? > > Chris, > > I have *never* (nor would I) installed Kazaa or anything like > that, so for me that was not it (i was the original poster.) FWIW Regards Chris Marsh --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.519 / Virus Database: 317 - Release Date: 17/09/2003 From rob.smith at THERMON.com Thu Nov 13 08:23:26 2003 From: rob.smith at THERMON.com (Rob Smith) Date: Thu, 13 Nov 2003 08:23:26 -0600 Subject: [thelist] a portfolio of web work? Message-ID: <0CEC8258A6E4D611BE5400306E1CC9271E51AE@smtmb.tmc.local> ... or if there's a better way to do a physical portfolio of online work. Well, although I've never actually had to do that, and even though I've pondered this very idea, I do have something. Burn a CD for each site you've done/completed. Walk to your interviewer and slap down a CD Wallet full of sites you've done. Or if you're the more experienced, waltz in with a CD Tower :-p But for the time being, I've just put the URL's in a
        on my res. on page two. Rob From dave at dbmdata.com Thu Nov 13 08:31:03 2003 From: dave at dbmdata.com (David Mitchell) Date: Thu, 13 Nov 2003 09:31:03 -0500 Subject: [thelist] OT: Windows 2000 Networking In-Reply-To: <020401c3a9f2$0c51e7e0$0301a8c0@Mesa.com> Message-ID: <000001c3a9f2$c5af0fb0$6501a8c0@opr> Hi Bruce, When I run ipconfig on the machines in question, I can verify that they all have unique Ips (to answer another post...). I'm not at home now, so I'll have to wait till tonite to post the results of ipconfig. Located in Canada. -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of bruce Sent: Thursday, November 13, 2003 9:26 AM To: thelist at lists.evolt.org Subject: RE: [thelist] OT: Windows 2000 Networking david... just out of curiousity... what happens for each machine when you do a c:/ipconfig...? what do you get as a result... could you paste the result to us.. and where are you located.. us or abroad... thanks.. -bruce -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org]On Behalf Of David Mitchell Sent: Thursday, November 13, 2003 4:28 AM To: thelist at lists.evolt.org Subject: RE: [thelist] OT: Windows 2000 Networking Here's the lowdown on the machines: 1) Windows 2000 server - sees all and can be seen by all 2) Windows XP pro - see all and can be seen by all 3) Windows 2000 pro - sees above 2, but can't see new machine (4) 4) Windows 2000 pro (new machine) - sees (1) and (2) but can't see (3) All all using the same protocols and are members of the same workgroup. The only anomaly I can think of is (3) is a laptop and is on a wireless connection. My router is set up to serve DHCP. Maybe this could be the factor? -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org]On Behalf Of Michael Pemberton Sent: Wednesday, November 12, 2003 11:20 PM To: thelist at lists.evolt.org Subject: Re: [thelist] OT: Windows 2000 Networking Can you give a bit more info about the various setups? eg. OS on laptop vs OS on other PCs. On many win9x machines, TCP/IP is not installed by default and they use NetBEUI. The reverse is the case in Win2k/XP setups. Since ping is based on TCP/IP, this may explain the problem with not being able to ping the machine. Try using NBTSTAT.EXE to test rather than ping. This can sometimes work better between various network setups. --- Michael Pemberton evolt at mpember.net.au David Mitchell wrote: > Hey All, > > Have a really annoying problem here trying to add a new PC to my network > at home. Here's the problem. I have 4 computers all connected to a > LinkSys router sharing my cable connection. I just added a new computer > tonite running W2k Pro. All the computers can see eachohter except for > the laptop I am typing this email on. This laptop can see all the > existing computers on the network except for the new one, and all the > other computers can see the new PC except for this laptop. I can also > see the laptop from the computer that I can't see from the laptop, if > you know what I mean. Any ideas? I'm sure you'll need more info, so if > you do please let me know. > > Thanks in advance, > > Dave -- * * 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 ! -- * * 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 brian.j.boerner at lmco.com Thu Nov 13 08:38:41 2003 From: brian.j.boerner at lmco.com (Boerner, Brian J) Date: Thu, 13 Nov 2003 09:38:41 -0500 Subject: [thelist] a portfolio of web work? Message-ID: You have to tailor your work to the kind of job you're after - IMHO - "paper" portfolios for a web design position aren't very good at all. Though you can judge creativity and design skills, prospective employers will have no other way to guage how well you'll fit in with their interactive group. Can you code, use CSS, animate, etc. Interactive portfolios should be on CD or website... and if you feel the need to carry something into the interview bring a sweet laptop with your work all cached up and ready to roll. swag with your URL is an ok thing to leave behind - especially if it's unique and ties into your site. or just a really well designed business card is enough - especially if you have a kick-a55 demo If you're headed for print work or want to do both print and web THEN you'll need a top-flight site and book. np "Sun Green", Neil Young -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org]On Behalf Of Jeniffer C. Johnson Sent: Thursday, November 13, 2003 9:15 AM To: thelist at lists.evolt.org Subject: [thelist] a portfolio of web work? Here's a question for folks who make a living doing web work. When someone asks you to bring a portfolio, just how are you representing your online work in a physical manner? I've got an online portfolio, with details of my role in various projects, links to sites I've developed, and in cases where content is not available to the public online, either copies of some of the pages, or sample files with sensitive content removed. I work online, and most often I'm asked for examples of my work online. But I've been asked for an actual physical portfolio, that I can carry in and put on someone's desk. I'm not sure just how best to do this, especially since so much of good web work depends on how well the user can USE the site. I'm not sure just how best to approach putting stuff on paper, or if there's a better way to do a physical portfolio of online work. Jeniffer -- * * 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 Jono at brookgroup.com Thu Nov 13 08:43:23 2003 From: Jono at brookgroup.com (Jono Young) Date: Thu, 13 Nov 2003 09:43:23 -0500 Subject: [thelist] a portfolio of web work? In-Reply-To: Message-ID: What I do is take a screenshot and then Photoshop the screenshot, cropping it around the browser window. After that I mount a printout on black poster board, and it looks very nice. You can make a story board of the sites functionality with multiple printouts. Making nice clean cuts when mounting the printouts is extremely important, so be cautious when doing the handy work. I also keep a CD handy which contains the same material so I can show it on the client's computer, or on a projector if they have one. On 11/13/03 9:24 AM, "mike karthauser" wrote: > on 13/11/03 2:15 pm, Jeniffer C. Johnson at lead at offlead.com wrote: > >> Here's a question for folks who make a living doing web work. When someone >> asks you to bring a portfolio, just how are you representing your online >> work in a physical manner? > > Save it on cd and bring a laptop. If you are going for a web job - then > you'll be expected to show working examples. > > If you are going for a design role, then print out some of your designs and > put them in a folder. > > I always ask for online portfolios/ -- Jono Young Designer/Illustrator From sam at sam-i-am.com Thu Nov 13 10:25:25 2003 From: sam at sam-i-am.com (Sam-I-Am) Date: Thu, 13 Nov 2003 10:25:25 -0600 Subject: [thelist] Regular Expression Question In-Reply-To: <000601c3a6dd$c5c2d850$6501a8c0@hartshorne> References: <000601c3a6dd$c5c2d850$6501a8c0@hartshorne> Message-ID: <3FB3B075.2090006@sam-i-am.com> > She said "hello, world" [ href="link.html">1] > > Is translated to: > > She said "hi, there." [ href="link.html">1] > hi Beau, I'm also going to side-step your question. If you're using perl, I'd recommend using HTML::TokeParser (one of the HTML::Parser family of modules) which will raise events for each html tag (or text, comment, etc) encountered. For a start tag, you get passed the tagname, attribute hash, and original string. So you can focus on positive matches rather than trying to regexp your way through an entire document with all the possible exceptions. Failing that maybe split it into 2 steps? Use /<([^>]+)>/ to get the contents of the tag, unescape the quotes and whatever else you want to do and write it back out. hth Sam From pixelmech at yahoo.com Thu Nov 13 10:37:39 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Thu, 13 Nov 2003 08:37:39 -0800 (PST) Subject: [thelist] HomeSite: Search & Replace for special characters? Message-ID: <20031113163739.7641.qmail@web12606.mail.yahoo.com> Hi, I have a big document where I'd like to search and replace lots and lots of tabs and carriage returns. I cannot seem to figure out how to do this in HomeSite - if it is even possible. I think it is, because I thought I did it once before. Anyone? Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From sam at sam-i-am.com Thu Nov 13 10:37:37 2003 From: sam at sam-i-am.com (Sam-I-Am) Date: Thu, 13 Nov 2003 10:37:37 -0600 Subject: [thelist] Well-formed HTML email In-Reply-To: <3FB109A3.4010807@cygnusinteractive.com> References: <3FB109A3.4010807@cygnusinteractive.com> Message-ID: <3FB3B351.7060100@sam-i-am.com> >> Any ideas? I'd love to see some documentation/books on making >> well-formed, >> standards compliant emails -- you would think that the mail client >> would be >> like a browser but nothing ceases to amaze me. :) > > > Well, if you're willing to get your hands dirty using Perl, the > MIME::Lite module should give you control over everything. You can > author your HTML email in your editor of choice and then make Perl send > your email. (I'm assuming other languages might have modules that allow > similar amounts of control?) I wrote a simple cgi to do my testing with. It lets you upload a file (your template - which will become the body of your message), specify To, Subject, etc. headers, and handles the sending of the mail. That way I can use the tools I normally do for the html part. In putting it together I had to work around not having sendmail (I'm on win2k), but I ended up using the Mail::Sendmail module (I'll look again at MIME::Lite though.) I'd be happy to send out if it would help. Sam From joshua at waetech.com Thu Nov 13 10:41:41 2003 From: joshua at waetech.com (Joshua Olson) Date: Thu, 13 Nov 2003 11:41:41 -0500 Subject: [thelist] HomeSite: Search & Replace for special characters? References: <20031113163739.7641.qmail@web12606.mail.yahoo.com> Message-ID: <055d01c3aa05$04043990$0300a8c0@client1> ----- Original Message ----- From: "Tom Dell'Aringa" Sent: Thursday, November 13, 2003 11:37 AM > I have a big document where I'd like to search and replace lots and > lots of tabs and carriage returns. I cannot seem to figure out how to > do this in HomeSite - if it is even possible. I think it is, because > I thought I did it once before. In CF Studio you can do this with Extended Replace (Ctrl+Shift+R by default). Perhaps Homesite has something similar? <><><><><><><><><><> Joshua Olson Web Application Engineer WAE Tech Inc. http://www.waetech.com 706.210.0168 From pixelmech at yahoo.com Thu Nov 13 10:44:29 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Thu, 13 Nov 2003 08:44:29 -0800 (PST) Subject: [thelist] HomeSite: Search & Replace for special characters? In-Reply-To: <055d01c3aa05$04043990$0300a8c0@client1> Message-ID: <20031113164429.49172.qmail@web12603.mail.yahoo.com> --- Joshua Olson wrote: > ----- Original Message ----- > From: "Tom Dell'Aringa" > > I have a big document where I'd like to search and replace lots > > and lots of tabs and carriage returns. I cannot seem to figure out > > how to do this in HomeSite - if it is even possible. I think it > > is, because I thought I did it once before. > > In CF Studio you can do this with Extended Replace (Ctrl+Shift+R by > default). > > Perhaps Homesite has something similar? Right, HS has extended S&R which is what I would use - my particular question is WHAT to use as the search string for TAB and RETURN? I've tried ^T and \n etc to no avail. How do you tell the engine to find a tab or a return? Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From koksa.uh at seznam.cz Thu Nov 13 10:44:53 2003 From: koksa.uh at seznam.cz (Tomas Kokoska) Date: Thu, 13 Nov 2003 17:44:53 +0100 Subject: [thelist] HomeSite: Search & Replace for special characters? References: <20031113163739.7641.qmail@web12606.mail.yahoo.com> Message-ID: <01c101c3aa05$7704af60$ca09000a@kukulin> > I have a big document where I'd like to search and replace lots and > lots of tabs and carriage returns. I cannot seem to figure out how to > do this in HomeSite - if it is even possible. I think it is, because > I thought I did it once before. > > Anyone? > > Tom I think you won't be able to do that with Search/Replace. You can use CodeSweeper instead. There is a feature "Trim white space between tags" in General settings. Tom (me too) From jabber at raditha.com Thu Nov 13 10:49:45 2003 From: jabber at raditha.com (Raditha Dissanayake) Date: Thu, 13 Nov 2003 22:49:45 +0600 Subject: [thelist] HomeSite: Search & Replace for special characters? In-Reply-To: <20031113163739.7641.qmail@web12606.mail.yahoo.com> References: <20031113163739.7641.qmail@web12606.mail.yahoo.com> Message-ID: <3FB3B629.3020803@raditha.com> There is a wonderfull old tool called 'sed' :-) Tom Dell'Aringa wrote: >Hi, > >I have a big document where I'd like to search and replace lots and >lots of tabs and carriage returns. I cannot seem to figure out how to >do this in HomeSite - if it is even possible. I think it is, because >I thought I did it once before. > >Anyone? > >Tom > >===== >http://www.pixelmech.com/ :: Web Development Services >http://www.DMXzone.com/ :: JavaScript Author / Every Friday! >http://www.thywordistruth.net/ :: Eternal Life > >"I'll ho ho and ha ha you!" (Daffy Duck) > > -- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar. From sam at sam-i-am.com Thu Nov 13 10:45:09 2003 From: sam at sam-i-am.com (Sam-I-Am) Date: Thu, 13 Nov 2003 10:45:09 -0600 Subject: [thelist] HomeSite: Search & Replace for special characters? In-Reply-To: <20031113163739.7641.qmail@web12606.mail.yahoo.com> References: <20031113163739.7641.qmail@web12606.mail.yahoo.com> Message-ID: <3FB3B515.4080306@sam-i-am.com> Select the tab or carriage return, and SHIFT+ CTRL + R (or Search -> Extended Replace) You can build them into a regular expression if you need pattern matching. The trick is to use the literal character, not \t or \n as you might do elsewhere in a regexp. Also remember to escape any / or any of the special characters like ?+.() etc. with a backslash if you need to match them as literal character. hth Sam + Tom Dell'Aringa wrote: > Hi, > > I have a big document where I'd like to search and replace lots and > lots of tabs and carriage returns. I cannot seem to figure out how to > do this in HomeSite - if it is even possible. I think it is, because > I thought I did it once before. > > Anyone? > > Tom From rthigpen at nc.rr.com Thu Nov 13 10:50:24 2003 From: rthigpen at nc.rr.com (Ron Thigpen) Date: Thu, 13 Nov 2003 11:50:24 -0500 Subject: [thelist] HomeSite: Search & Replace for special characters? In-Reply-To: <20031113163739.7641.qmail@web12606.mail.yahoo.com> References: <20031113163739.7641.qmail@web12606.mail.yahoo.com> Message-ID: <3FB3B650.4090101@nc.rr.com> Tom Dell'Aringa wrote: > I have a big document where I'd like to search and replace lots and > lots of tabs and carriage returns. You can simply type in the literals into the search and replace dialogue boxes, ie: type in a tab for it to find a tab, or you can use the regular expressions syntax and specify these characters with their regex form, ex: \n. --rt From chris at fastspot.com Thu Nov 13 10:57:59 2003 From: chris at fastspot.com (Christopher Styles) Date: Thu, 13 Nov 2003 11:57:59 -0500 Subject: [thelist] HomeSite: Search & Replace for special characters? In-Reply-To: <20031113164429.49172.qmail@web12603.mail.yahoo.com> References: <20031113164429.49172.qmail@web12603.mail.yahoo.com> Message-ID: <3FB3B817.9000606@fastspot.com> Have you tried \t for Tab, and \r for a Return? chris( ) > > Right, HS has extended S&R which is what I would use - my particular > question is WHAT to use as the search string for TAB and RETURN? I've > tried ^T and \n etc to no avail. How do you tell the engine to find a > tab or a return? > > Tom From cira at bork.hampshire.edu Thu Nov 13 10:57:06 2003 From: cira at bork.hampshire.edu (|| cira ||) Date: Thu, 13 Nov 2003 11:57:06 -0500 (EST) Subject: [thelist] HomeSite: Search & Replace for special characters? In-Reply-To: <20031113163739.7641.qmail@web12606.mail.yahoo.com> Message-ID: On Thu, 13 Nov 2003, Tom Dell'Aringa wrote: > I have a big document where I'd like to search and replace lots and > lots of tabs and carriage returns. I cannot seem to figure out how to > do this in HomeSite - if it is even possible. I think it is, because > I thought I did it once before. The only way I have been able to S+R specific characters such as tabs, or newlines, is to copy them from the text and paste into the Search box. Codesweeper will only fix "\s" whitespace I think. Once pasted into the search box, you should see thick line, kind of like a pipe (|). HTH -Samantha From pixelmech at yahoo.com Thu Nov 13 11:02:22 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Thu, 13 Nov 2003 09:02:22 -0800 (PST) Subject: [thelist] HomeSite: Search & Replace for special characters? In-Reply-To: <01c101c3aa05$7704af60$ca09000a@kukulin> Message-ID: <20031113170222.37386.qmail@web12602.mail.yahoo.com> --- Tomas Kokoska wrote: > I think you won't be able to do that with Search/Replace. > You can use CodeSweeper instead. There is a feature "Trim white > space between tags" in General settings. Right - that doesn't do the trick :) Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From sabaffy at mswebdevelopment.com Thu Nov 13 11:12:43 2003 From: sabaffy at mswebdevelopment.com (Steve Abaffy) Date: Thu, 13 Nov 2003 11:12:43 -0600 Subject: [thelist] HomeSite: Search & Replace for special characters? In-Reply-To: <3FB3B629.3020803@raditha.com> Message-ID: Normally when I need to do this all I do is copy one of the tab in one document and copy this into the search & replace window (This works for tabs, not for CRLF) Haven't found anything that will take those out in Homesite yet. > -----Original Message----- > From: thelist-bounces at lists.evolt.org > [mailto:thelist-bounces at lists.evolt.org]On Behalf Of Raditha Dissanayake > Sent: Thursday, November 13, 2003 10:50 AM > To: pixelmech at yahoo.com; thelist at lists.evolt.org > Subject: Re: [thelist] HomeSite: Search & Replace for special > characters? > > > There is a wonderfull old tool called 'sed' :-) > > Tom Dell'Aringa wrote: > > >Hi, > > > >I have a big document where I'd like to search and replace lots and > >lots of tabs and carriage returns. I cannot seem to figure out how to > >do this in HomeSite - if it is even possible. I think it is, because > >I thought I did it once before. > > > >Anyone? > > > >Tom > > > >===== > >http://www.pixelmech.com/ :: Web Development Services > >http://www.DMXzone.com/ :: JavaScript Author / Every Friday! > >http://www.thywordistruth.net/ :: Eternal Life > > > >"I'll ho ho and ha ha you!" (Daffy Duck) > > > > > > > -- > Raditha Dissanayake. > ------------------------------------------------------------------------ > http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload > Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader > Graphical User Inteface. Just 150 KB | with progress bar. > > > -- > * * 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 tim at pinkcandyproductions.com Thu Nov 13 11:10:21 2003 From: tim at pinkcandyproductions.com (Tim) Date: Thu, 13 Nov 2003 12:10:21 -0500 Subject: [thelist] Copyright Infringement - Client Posted Website Using a Comp (prior to payment) Message-ID: <007301c3aa09$05b32540$14f3fea9@tj> Hi all, Can anyone provide advice regarding recourse in a copyright infringement case (in Canada). A client of mine used my comp of their proposed website to create and upload their new home page. I had my company's copyright notice as the page footer and they changed it to the name of their company. I made it very clear that they would receive the project files once I had received the final payment. I have not yet received payment. I have asked them to remove the page until I have been paid and they have refused. What are my options? Any help would be appreciated. Tim From koksa.uh at seznam.cz Thu Nov 13 11:10:53 2003 From: koksa.uh at seznam.cz (Tomas Kokoska) Date: Thu, 13 Nov 2003 18:10:53 +0100 Subject: [thelist] HomeSite: Search & Replace for special characters? References: <20031113164429.49172.qmail@web12603.mail.yahoo.com> Message-ID: <01f301c3aa09$1884a680$ca09000a@kukulin> > > > I have a big document where I'd like to search and replace lots > > > and lots of tabs and carriage returns. I cannot seem to figure > out > > > how to do this in HomeSite - if it is even possible. I think it > > > is, because I thought I did it once before. > > > > In CF Studio you can do this with Extended Replace (Ctrl+Shift+R by > > default). > > > > Perhaps Homesite has something similar? > > Right, HS has extended S&R which is what I would use - my particular > question is WHAT to use as the search string for TAB and RETURN? I've > tried ^T and \n etc to no avail. How do you tell the engine to find a > tab or a return? > > Tom > So, I've tried it (and read little piece of help documentation :-) and it's much easier. Just press Tab in the Find area and nothing in the Replace with area and it will do the trick. The same with Enter/Return. Optionally you can check "Skip tags while searching". That's all and it works (HomeSite 5.0) Tom From norman.bunn at craftedsolutions.com Thu Nov 13 11:31:23 2003 From: norman.bunn at craftedsolutions.com (Norman Bunn) Date: Thu, 13 Nov 2003 12:31:23 -0500 Subject: [thelist] HomeSite: Search & Replace for special characters? References: <20031113163739.7641.qmail@web12606.mail.yahoo.com> <3FB3B650.4090101@nc.rr.com> Message-ID: <032e01c3aa0b$f5ab9210$2101a8c0@DELL4500> Here's how I do it... 1. Highlight the section of code that you want to replace; it can cover as many lines, tabs, etc. as you wish. 2. Go to the Extended Replace feature by the button, drop down list or key sequence (Shift+Ctrl+R) 3. Your highlighted text will show in the "Find What" field. 4. Place your replacement text in the "Replace With" field. 5. Choose your "Find Where" option 6. Choose "Replace" That's it! Another neat thing you can do... Let's say you have made a change that you want to make show up on all the pages of a project. Highlight the new information and copy it to the clipboard (Ctrl+C). Next go to a page where the text to be replaced is located and highlight the text. Now go through the steps above. HS will copy what you have highlighted into the "Find What" field and you can paste (Ctrl+V) the new text into the "Replace With" field. Choose all the documents in the project's folder and click "Replace". Badabing! It's done! Norman Bunn www.CraftedSolutions.com 803-405-1008 From pixelmech at yahoo.com Thu Nov 13 11:04:26 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Thu, 13 Nov 2003 09:04:26 -0800 (PST) Subject: [thelist] HomeSite: Search & Replace for special characters? [solved] In-Reply-To: <056501c3aa05$f40d5a20$0300a8c0@client1> Message-ID: <20031113170426.90209.qmail@web12601.mail.yahoo.com> --- Joshua Olson wrote: > The Extended S&R in CF Studio is a text area. If you want to > search on a Tab simply put a normal Tab into the box. For CR's do > the same. No special encoding needed... just clear the "find what" > box, focus the "find what" box, hit either the tab or the enter > key, set the value of the "replace with" box, and that's it. That's it! Thanks Joshua! Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From Jono at brookgroup.com Thu Nov 13 11:49:20 2003 From: Jono at brookgroup.com (Jono Young) Date: Thu, 13 Nov 2003 12:49:20 -0500 Subject: [thelist] HomeSite: Search & Replace for special characters? In-Reply-To: <20031113170222.37386.qmail@web12602.mail.yahoo.com> Message-ID: You could copy the code into a text editor such as TextEdit(Mac) and do a find replace of empty space. If I highlight a tab, or any other amount of open/empty space in the code, and then Edit wrote: > --- Tomas Kokoska wrote: > >> I think you won't be able to do that with Search/Replace. >> You can use CodeSweeper instead. There is a feature "Trim white >> space between tags" in General settings. > > Right - that doesn't do the trick :) > > Tom -- Jono Young Designer/Illustrator From tonyc at boldfish.co.uk Thu Nov 13 11:50:42 2003 From: tonyc at boldfish.co.uk (Tony Crockford) Date: Thu, 13 Nov 2003 17:50:42 -0000 Subject: [thelist] HomeSite: Search & Replace for special characters? In-Reply-To: <20031113170222.37386.qmail@web12602.mail.yahoo.com> References: <20031113170222.37386.qmail@web12602.mail.yahoo.com> Message-ID: On Thu, 13 Nov 2003 09:02:22 -0800 (PST), Tom Dell'Aringa wrote: > > --- Tomas Kokoska wrote: > >> I think you won't be able to do that with Search/Replace. >> You can use CodeSweeper instead. There is a feature "Trim white >> space between tags" in General settings. > > Right - that doesn't do the trick :) > Hi have you got a copy of editplus? that has a really easy search and replace function - you can select special characters from a dropdown to search for and replace with if you want. http://www.editplus.com I don't use it all the time but it's really good for cleaning up files. it has trim trailing spaces and convert spaces to tabs etc... hth Tony From hershelr at netvision.net.il Thu Nov 13 12:20:59 2003 From: hershelr at netvision.net.il (Hershel Robinson) Date: Thu, 13 Nov 2003 13:20:59 -0500 Subject: [thelist] Popup Calendar (Javascript) Message-ID: <003101c3aa12$e41e7380$0300000a@hershel2000> Anyone have any suggestions for a good, customizable Javascript-based popup date picker? I have found a few thus far but perhaps I haven't found THE one I want just yet. Here are two that look interesting: http://www.phpguru.org/dyncalendar.html http://sutternow.com/CodeStuff/javascript/dropdndate/dropdncal.jsp Thanks, Hershel From jeff at jeffhowden.com Thu Nov 13 12:45:20 2003 From: jeff at jeffhowden.com (Jeff Howden) Date: Thu, 13 Nov 2003 10:45:20 -0800 Subject: [thelist] Popup Calendar (Javascript) In-Reply-To: <003101c3aa12$e41e7380$0300000a@hershel2000> Message-ID: hershel, ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< > From: Hershel Robinson > > Anyone have any suggestions for a good, customizable > Javascript-based popup date picker? ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< what level of browser support? customizable how? .jeff ?????????????????????????????????????????????????????? Jeff Howden - Web Application Specialist R?sum? - http://jeffhowden.com/about/resume/ Code Library - http://evolt.jeffhowden.com/jeff/code/ From spambait at onpointsolutions.com Thu Nov 13 12:49:10 2003 From: spambait at onpointsolutions.com (Bob Haroche) Date: Thu, 13 Nov 2003 10:49:10 -0800 Subject: [thelist] Copyright Infringement - Client Posted Website Using a Comp (prior to payment) References: <007301c3aa09$05b32540$14f3fea9@tj> Message-ID: <002401c3aa16$d362b610$9865fea9@OFFICE> Tim wrote: > Hi all, > Can anyone provide advice regarding recourse in a copyright > infringement case (in Canada). I'm not a Canadian lawyer, but my advice is that you consult one if the amount unpaid is large and you don't care about losing this client for future projects. In that case, have the attny write a demand letter claiming the client not only breached its contract with you but is now infringing your copyright. Maybe an hour of attny time to do this. You could of course write this yourself but it sounds like your client could care less about what you have to say at this point. By the way, do you have a written contract with the client for the work you did? If so, does it have an attorney's fees provision? ------------- Regards, Bob Haroche O n P o i n t S o l u t i o n s www.OnPointSolutions.com From kr43m0r at earthlink.net Thu Nov 13 12:54:43 2003 From: kr43m0r at earthlink.net (Lonnie) Date: Thu, 13 Nov 2003 12:54:43 -0600 Subject: [thelist] Popup Calendar (Javascript) References: <003101c3aa12$e41e7380$0300000a@hershel2000> Message-ID: <006401c3aa17$99e70610$6401a8c0@yoda> > Anyone have any suggestions for a good, customizable Javascript-based popup > date picker? I have found a few thus far but perhaps I haven't found THE one > I want just yet. Here are two that look interesting: Have you tried: http://evolt.jeffhowden.com/jeff/code/calendar/index.cfm From hershelr at netvision.net.il Thu Nov 13 12:56:57 2003 From: hershelr at netvision.net.il (Hershel Robinson) Date: Thu, 13 Nov 2003 13:56:57 -0500 Subject: [thelist] Popup Calendar (Javascript) In-Reply-To: Message-ID: <003201c3aa17$e99ac570$0300000a@hershel2000> > what level of browser support? Well I personally only need it for IE6 Win. Perhaps other people are also interested in broader solutions. > customizable how? At the very least that it has intelligently-written code so I can edit it myself. I want to customize the look (CSS hopefully) and probably the behavior--what options it shows, how it closes, what are the defaults etc. I also looked at Microshaft's xmlns utc calendar. It's nice, but not quite what I want. Furthermore, the code there is quite large. Hershel From pixelmech at yahoo.com Thu Nov 13 13:27:01 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Thu, 13 Nov 2003 11:27:01 -0800 (PST) Subject: [thelist] JavaScript: How to save/return state on group of objects Message-ID: <20031113192701.77510.qmail@web12602.mail.yahoo.com> Hi there, I have a table of data that is styled with various background colors. Any one cell can be one of 5 colors - 2 shades of yellow, 2 shades of green or black. I have a function where you rollover the row, I highlight that row so it is more easily readable. PROBLEM: Highlighting the row is easy, returning each cell back to its' one of 5 colors is not so easy. This is what I want to do. Here is my highlight function (which is set via an init() function during onload): function HLRow() { var table = document.getElementById("schedTable"); var oRows = table.getElementsByTagName("TR"); var lastRowClass; for(var i=0; i References: <003101c3aa12$e41e7380$0300000a@hershel2000> <006401c3aa17$99e70610$6401a8c0@yoda> Message-ID: <3fb3ec9f$1@127.0.0.1> Hey .jeff, Your calendar doesn't work in Firebird 0.7 on XP... > Have you tried: > > http://evolt.jeffhowden.com/jeff/code/calendar/index.cfm > From headlemur at cox.net Thu Nov 13 13:35:32 2003 From: headlemur at cox.net (headlemur) Date: Thu, 13 Nov 2003 12:35:32 -0700 Subject: [thelist] Copyright Infringement - Client Posted Website Using a Comp (prior to payment) References: <007301c3aa09$05b32540$14f3fea9@tj> Message-ID: <00b501c3aa1d$5a2bcfa0$0200a8c0@ph.cox.net> Dig out all of your paperwork, files, screenshots, of your originals and what is currently up. create a list of dates of work. create a timeline of activity from initial contact to date of last payment. See a Copyright/Contract Lawyer. ======================================================= I made it very clear that they would receive the project files once I had received the final payment. I have not yet received payment. I have asked them to remove the page until I have been paid and they have refused. ======================================================= I hope that as Bob says that you have an attorney fees segment in your contract. The good news is that an attorney letter will usually solve the issue. In case that it doesn't you will need the full monty by applying for copyright and then you will have to look for another lawyer who will work on a contingency basis. The price of pursuit is gonna go up. An hour of attorney time will probably let you know if the pockets are deep enough and you are mad enough. Go for the money, damages, and mental anguish. Drop the client like a stone once you have Cashed the check. Trust me, by taking this guy down will only enhance your reputation and let the next one up know that you are in Business. the head lemur News: http://www.lemurzone.com/news/ Interviews: http://www.lemurzone.com/pixelview/ blog: http://theheadlemur.typepad.com/ Community: http://www.evolt.org From hershelr at netvision.net.il Thu Nov 13 13:52:39 2003 From: hershelr at netvision.net.il (Hershel Robinson) Date: Thu, 13 Nov 2003 14:52:39 -0500 Subject: [thelist] Popup Calendar (Javascript) In-Reply-To: <006401c3aa17$99e70610$6401a8c0@yoda> Message-ID: <003501c3aa1f$b1da55d0$0300000a@hershel2000> > Have you tried: > > http://evolt.jeffhowden.com/jeff/code/calendar/index.cfm Jeff Howden? Who IS this guy? I've never heard of him. ;) Anyhow, this does look very interesting. Appears to use a bit of technology with which I am not familiar, but that's good I suppose--always good to learn. Looks nice, Jeff. Can I ask a question--why is there no download button for visitors to download your code without having to look inside the HTML page to see where it is? :) Thanks, Hershel From cs1spw at bath.ac.uk Thu Nov 13 13:57:11 2003 From: cs1spw at bath.ac.uk (Simon Willison) Date: Thu, 13 Nov 2003 13:57:11 -0600 Subject: [thelist] Popup Calendar (Javascript) In-Reply-To: <003201c3aa17$e99ac570$0300000a@hershel2000> References: <003201c3aa17$e99ac570$0300000a@hershel2000> Message-ID: <3FB3E217.8010902@bath.ac.uk> Hershel Robinson wrote: >>customizable how? > > At the very least that it has intelligently-written code so I can edit it > myself. I want to customize the look (CSS hopefully) and probably the > behavior--what options it shows, how it closes, what are the defaults etc. The calendar from this site is standards compliant in all the right ways and is easy to customise using CSS. Good documentation too. http://dynarch.com/mishoo/calendar.epl -- Simon Willison Web development weblog: http://simon.incutio.com/ From djinn at darkdesigns.org Thu Nov 13 14:06:31 2003 From: djinn at darkdesigns.org (djinn at darkdesigns.org) Date: Thu, 13 Nov 2003 13:06:31 -0700 Subject: [thelist] Div Background Color Visibility Message-ID: <20031113200631.32321.qmail@webmail-2-1.secureserver.net> I Googled and I searched the list archives to no avail. Does anyone have any idea why my Footer background color isn't visible? http://camarilla.white-wolf.com/revamp/members_only2.html Thanks for your help. Jean Peterson From kr43m0r at earthlink.net Thu Nov 13 14:18:05 2003 From: kr43m0r at earthlink.net (Lonnie) Date: Thu, 13 Nov 2003 14:18:05 -0600 Subject: [thelist] Enterprise site architecture/CMS question References: <2CC639B9-158E-11D8-9F3D-00039358CB42@earthlink.net> Message-ID: <00ae01c3aa23$3f74eab0$6401a8c0@yoda> > > One efficient way to handle static content is to write content pages > > that > > call the template - somewhat upsidedown as logic goes. > They way it works is to have some templates that take the body content > file's filename as a variable. Then the page itself passes that > variable to the template. The body content file is yet another file. [snip] > Of course it's never exactly that easy, and this example is somewhat > simplified. Basically, you get to avoid re-doing most of the content > pages in the next redesign. The trade-off is that it's not intuitive > for most people when they want to edit the content to have to look in a > file that isn't the same name as the one their browser calls. > > Diane I was referring to something a bit different. My method uses ASP. Here's a very simplified explanation The content pages simply sets some variables - like: pagetitle="This is the page title" etc. and has a subroutine that contains the actual content: <% sub pagecontent() %>

        This is the content of the page.

        <% end sub %> and finally includes the template: template.asp then has placeholders for the variables: <%= pagetitle %> and a call to the subroutine to read the contents: <% call pagecontent() %> From jeff at jeffhowden.com Thu Nov 13 15:27:02 2003 From: jeff at jeffhowden.com (Jeff Howden) Date: Thu, 13 Nov 2003 13:27:02 -0800 Subject: [thelist] Popup Calendar (Javascript) In-Reply-To: <3fb3ec9f$1@127.0.0.1> Message-ID: brian, ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< > From: Brian W. Reaves > > Hey .jeff, > > Your calendar doesn't work in Firebird 0.7 on XP... > > > http://evolt.jeffhowden.com/jeff/code/calendar/index.cfm ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< yes, i'm well aware of that (and added a note to that effect). it uses a number of scripting tricks that are only available to win/ie. maybe one of these days when mozilla users account for more than the <1% of the total browser market share for my client's sites I'll consider "fixing" it. .jeff ------------------------------------------------------ Jeff Howden - Web Application Specialist Resume - http://jeffhowden.com/about/resume/ Code Library - http://evolt.jeffhowden.com/jeff/code/ From jeff at jeffhowden.com Thu Nov 13 15:40:12 2003 From: jeff at jeffhowden.com (Jeff Howden) Date: Thu, 13 Nov 2003 13:40:12 -0800 Subject: [thelist] Popup Calendar (Javascript) In-Reply-To: <003501c3aa1f$b1da55d0$0300000a@hershel2000> Message-ID: hershel, ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< > From: Hershel Robinson > > > http://evolt.jeffhowden.com/jeff/code/calendar/index.cfm > > Jeff Howden? Who IS this guy? I've never heard of > him. ;) ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< i hear he used to be a great coder. then he lost both hands in a horrible knitting accident. i heard he moved to the coast and paints ocean-scapes with his stubs. i have one of his paintings too. it cost me 30k, but it was worth it. ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< > Anyhow, this does look very interesting. Appears to use > a bit of technology with which I am not familiar, but > that's good I suppose--always good to learn. ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< scriptlet is the operative word. it's basically a mechanism that allows you to use html to create an embeddable object in the page. ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< > Looks nice, Jeff. Can I ask a question--why is there no > download button for visitors to download your code > without having to look inside the HTML page to see where > it is? :) ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< ah, there was a zip file in there, but no link to it. if you're running win/ie and can see the toolbar, then it'll be available in the dropdown menu. .jeff ?????????????????????????????????????????????????????? Jeff Howden - Web Application Specialist R?sum? - http://jeffhowden.com/about/resume/ Code Library - http://evolt.jeffhowden.com/jeff/code/ From chris at ecleanuk.com Thu Nov 13 14:06:27 2003 From: chris at ecleanuk.com (Chris Marsh) Date: Thu, 13 Nov 2003 20:06:27 +0000 Subject: [thelist] Div Background Color Visibility In-Reply-To: <20031113200631.32321.qmail@webmail-2-1.secureserver.net> References: <20031113200631.32321.qmail@webmail-2-1.secureserver.net> Message-ID: <20031113200627.M25716@ecleanuk.com> On Thu, 13 Nov 2003 13:06:31 -0700, djinn wrote > I Googled and I searched the list archives to no avail. Does anyone > have any idea why my Footer background color isn't visible? > > http://camarilla.white-wolf.com/revamp/members_only2.html The following line breaks your stylesheet: body[class] .text { height: auto; } Remove (or modify) this, and it works fine. Regards Chris Marsh From jhmielowski at comcast.net Thu Nov 13 16:42:31 2003 From: jhmielowski at comcast.net (Joshua Hmielowski) Date: Thu, 13 Nov 2003 15:42:31 -0700 Subject: [thelist] Div Background Color Visibility In-Reply-To: <20031113200631.32321.qmail@webmail-2-1.secureserver.net> Message-ID: if your footer background color is black....it works fine with explorer mac and safari. (unless you fixed it already.) josh On Thursday, November 13, 2003, at 01:06 PM, djinn at darkdesigns.org wrote: > I Googled and I searched the list archives to no avail. Does anyone > have any idea why my Footer background color isn't visible? > > http://camarilla.white-wolf.com/revamp/members_only2.html > > Thanks for your help. > > Jean Peterson > -- > * * 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 marcan at home.se Thu Nov 13 17:13:00 2003 From: marcan at home.se (Marcus Andersson) Date: Fri, 14 Nov 2003 00:13:00 +0100 Subject: SV: [thelist] JavaScript: How to save/return state on group of objects In-Reply-To: <20031113192701.77510.qmail@web12602.mail.yahoo.com> Message-ID: <023a01c3aa3b$af367540$0da8a8c0@marcusnb> >This all works, but of course returning the cells to white is not what I want :). My first thought was to save each cell's original value in an array, then run through that array and reset them all. I'm just wondering if there is a better way. Well, arrays can be quite handy. >I can almost see Marcus now typing up an OO answer...;) I could, if you want... But, even if you create an OO solution to this there will in the end (hidden somewhere in the OO stuff) be an array :). And I also guess that OO shouldn't be used everywhere. Your script is pretty small and simple and I think it would make it a little bit more complex if you make it OO (not very much though). But, if you're going to use it all over the place I would definitely make it a class somehow. >You can see the page in its full glory at: >http://www.pixelmech.com/review/newWorkerTable.html Hmmm... It doesn't work. Everything gets green. A change on row 84 to: oCells[i].style.backgroundColor = ""; made it work Yeay, I know it's kind of ugly and not completely DOMish to "reset" an attribute like that, but all (not many at all according to PPK and his quirksmode) browsers doesn't support removal of attributes. And it works ;) /Marcus From ken at adOpenStatic.com Thu Nov 13 18:42:07 2003 From: ken at adOpenStatic.com (Ken Schaefer) Date: Fri, 14 Nov 2003 11:42:07 +1100 Subject: [thelist] OT: Windows 2000 Networking References: Message-ID: <021901c3aa48$220fbd90$0a345e81@careersAD.unsw.edu.au> Hi, I've asked you a couple of times already, but can you do this please: \\192.168.0.1 in the Explorer bar of machine (3), where the IP address is replaced with the one that's assigned to machine (4) below? I think you have a routing problem of some kind (something to do with the browse list broadcasts not being propogated perhaps, or announcements not being propogated), and then that's causing browse list maintenance problems... Because you don't have a domain model, you're not using DNS for name resolution. Instead, when a machine starts up (and it has NetBT bound to an adapter), it forces an election on the network (to elect a browse master). The browse master maintains a master list of shared resources on the network. The election also results in backup browsers, which receive a list of resources from the master browser. When you want to access a resource by name, your machine contacts a backup browser. You run into problems when: a) the election doesn't work properly (eg a machine might be running a firewall that stops it receiving incoming election broadcasts, and then appoints itself a master not realising that there are other masters on the network) b) the master browse list hasn't propogated to the rest of the backup browsers yet, and your machine contacts a backup browser that has an out-of-date list of resources. Using \\IP-Address-Here helps get around some of these problems by dispensing with name resolution. Alternatively (this is better, but requires a little more effort), using browstat.exe to determine what the browse list status is on all your machines. (I can email it to you offlist if required). (I assume that you can ping all the machines from each other - it's only accessing SMB or NetBT resources like file shares etc that's causing problems). Cheers Ken Microsoft MVP - Windows Server (IIS) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: "David Mitchell" Subject: RE: [thelist] OT: Windows 2000 Networking : Here's the lowdown on the machines: : : 1) Windows 2000 server - sees all and can be seen by all : 2) Windows XP pro - see all and can be seen by all : 3) Windows 2000 pro - sees above 2, but can't see new machine (4) : 4) Windows 2000 pro (new machine) - sees (1) and (2) but can't see (3) : : All all using the same protocols and are members of the same workgroup. The : only anomaly I can think of is (3) is a laptop and is on a wireless : connection. My router is set up to serve DHCP. Maybe this could be the : factor? : : : : : -----Original Message----- : From: thelist-bounces at lists.evolt.org : [mailto:thelist-bounces at lists.evolt.org]On Behalf Of Michael Pemberton : Sent: Wednesday, November 12, 2003 11:20 PM : To: thelist at lists.evolt.org : Subject: Re: [thelist] OT: Windows 2000 Networking : : : Can you give a bit more info about the various setups? eg. OS on laptop vs : OS on other PCs. : : : : On many win9x machines, TCP/IP is not installed by default and they use : NetBEUI. The reverse is the case in Win2k/XP setups. : : Since ping is based on TCP/IP, this may explain the problem with not being : able to ping the machine. : : Try using NBTSTAT.EXE to test rather than ping. This can sometimes work : better between various network setups. : : --- : Michael Pemberton : evolt at mpember.net.au : : David Mitchell wrote: : : > Hey All, : > : > Have a really annoying problem here trying to add a new PC to my network : > at home. Here's the problem. I have 4 computers all connected to a : > LinkSys router sharing my cable connection. I just added a new computer : > tonite running W2k Pro. All the computers can see eachohter except for : > the laptop I am typing this email on. This laptop can see all the : > existing computers on the network except for the new one, and all the : > other computers can see the new PC except for this laptop. I can also : > see the laptop from the computer that I can't see from the laptop, if : > you know what I mean. Any ideas? I'm sure you'll need more info, so if : > you do please let me know. : > : > Thanks in advance, : > : > Dave From dave at dbmdata.com Thu Nov 13 19:09:35 2003 From: dave at dbmdata.com (David Mitchell) Date: Thu, 13 Nov 2003 20:09:35 -0500 Subject: [thelist] OT: Windows 2000 Networking - Solved. In-Reply-To: <021901c3aa48$220fbd90$0a345e81@careersAD.unsw.edu.au> References: <021901c3aa48$220fbd90$0a345e81@careersAD.unsw.edu.au> Message-ID: <3FB42B4F.5000800@dbmdata.com> Hi Ken, Yes, I had tried that several times and it would actually hang explorer. I was not able to ping the machine in question by the ip address either. Basically the problem came down to this: The 2 Win2k Pro boxes on the network could not talk to eachother. They would show up in the Net 'Hood, but trying to browse them would hang Explorer as well. What I did to get it working was: 1) shutdown all the machines on the network 2) unplug the router, plug it back in 3) start all machines up again. Everything works fine. I still think that the Linksys had something to do with my woes, since I have had other strange networking issues since installing it (as is probably painfully evident, I am in no way a networking guru). Thanks for all your insight, Ken, and thanks to everyone else who helped me out with this. Cheers, Dave Ken Schaefer wrote: >Hi, > >I've asked you a couple of times already, but can you do this please: > >\\192.168.0.1 > >in the Explorer bar of machine (3), where the IP address is replaced with >the one that's assigned to machine (4) below? I think you have a routing >problem of some kind (something to do with the browse list broadcasts not >being propogated perhaps, or announcements not being propogated), and then >that's causing browse list maintenance problems... > >Because you don't have a domain model, you're not using DNS for name >resolution. Instead, when a machine starts up (and it has NetBT bound to an >adapter), it forces an election on the network (to elect a browse master). >The browse master maintains a master list of shared resources on the >network. The election also results in backup browsers, which receive a list >of resources from the master browser. When you want to access a resource by >name, your machine contacts a backup browser. You run into problems when: >a) the election doesn't work properly (eg a machine might be running a >firewall that stops it receiving incoming election broadcasts, and then >appoints itself a master not realising that there are other masters on the >network) >b) the master browse list hasn't propogated to the rest of the backup >browsers yet, and your machine contacts a backup browser that has an >out-of-date list of resources. > >Using \\IP-Address-Here helps get around some of these problems by >dispensing with name resolution. > >Alternatively (this is better, but requires a little more effort), using >browstat.exe to determine what the browse list status is on all your >machines. (I can email it to you offlist if required). > >(I assume that you can ping all the machines from each other - it's only >accessing SMB or NetBT resources like file shares etc that's causing >problems). > >Cheers >Ken > >Microsoft MVP - Windows Server (IIS) > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >From: "David Mitchell" >Subject: RE: [thelist] OT: Windows 2000 Networking > > >: Here's the lowdown on the machines: >: >: 1) Windows 2000 server - sees all and can be seen by all >: 2) Windows XP pro - see all and can be seen by all >: 3) Windows 2000 pro - sees above 2, but can't see new machine (4) >: 4) Windows 2000 pro (new machine) - sees (1) and (2) but can't see (3) >: >: All all using the same protocols and are members of the same workgroup. >The >: only anomaly I can think of is (3) is a laptop and is on a wireless >: connection. My router is set up to serve DHCP. Maybe this could be the >: factor? >: >: >: >: >: -----Original Message----- >: From: thelist-bounces at lists.evolt.org >: [mailto:thelist-bounces at lists.evolt.org]On Behalf Of Michael Pemberton >: Sent: Wednesday, November 12, 2003 11:20 PM >: To: thelist at lists.evolt.org >: Subject: Re: [thelist] OT: Windows 2000 Networking >: >: >: Can you give a bit more info about the various setups? eg. OS on laptop >vs >: OS on other PCs. >: >: >: >: On many win9x machines, TCP/IP is not installed by default and they use >: NetBEUI. The reverse is the case in Win2k/XP setups. >: >: Since ping is based on TCP/IP, this may explain the problem with not being >: able to ping the machine. >: >: Try using NBTSTAT.EXE to test rather than ping. This can sometimes work >: better between various network setups. >: >: --- >: Michael Pemberton >: evolt at mpember.net.au >: >: David Mitchell wrote: >: >: > Hey All, >: > >: > Have a really annoying problem here trying to add a new PC to my network >: > at home. Here's the problem. I have 4 computers all connected to a >: > LinkSys router sharing my cable connection. I just added a new computer >: > tonite running W2k Pro. All the computers can see eachohter except for >: > the laptop I am typing this email on. This laptop can see all the >: > existing computers on the network except for the new one, and all the >: > other computers can see the new PC except for this laptop. I can also >: > see the laptop from the computer that I can't see from the laptop, if >: > you know what I mean. Any ideas? I'm sure you'll need more info, so if >: > you do please let me know. >: > >: > Thanks in advance, >: > >: > Dave > > > From mpember at phreaker.net Thu Nov 13 19:10:11 2003 From: mpember at phreaker.net (Michael Pemberton) Date: Fri, 14 Nov 2003 12:10:11 +1100 Subject: [thelist] odd IE worm or something.. Message-ID: The program I found on the PC i checked yesterday was SearchSuire's masterpiece. It monitors search submissions and gives you "helpful" popups. More info can be found here: http://www.searchsquire.com/ I'm not sure that this was the same program on my brother's machine, but it sound very similar. --- Michael Pemberton evolt at mpember.net.au Tom Dell'Aringa wrote: > I have *never* (nor would I) installed Kazaa or anything like that, > so for me that was not it (i was the original poster.) From scot at vquill.com Thu Nov 13 19:53:45 2003 From: scot at vquill.com (Scot Radowski) Date: Thu, 13 Nov 2003 17:53:45 -0800 Subject: [thelist] easy way to convert character encoding? In-Reply-To: <000001c3a99d$86ce1c00$6a00a8c0@tom> References: <000001c3a99d$86ce1c00$6a00a8c0@tom> Message-ID: <3FB435A9.8030501@vquill.com> Tom, I too am interested in something along these lines. Don't know if this will help you or not, but I found a thorough php script collection at http://www.spencernetwork.org/ The third link is for jcode. The readme describes the encoding it will convert from/to. Scot [tom jaimz] wrote: >hi thelist crew, > >i have a database with quite a lot of information encoded in shift_jis, and >we've decided because we are going to eventually have to use multiple >languages on one page, it's logical to convert over to utf-8 encoding. does >anyone know of any easy methods - perhaps just a couple of well-constructed >vbscript functions - to convert the data from shift_jis to utf-8? > >thanks! >tom. > > > > From jcbullas at nildram.co.uk Thu Nov 13 22:08:45 2003 From: jcbullas at nildram.co.uk (John C Bullas) Date: Fri, 14 Nov 2003 04:08:45 +0000 Subject: [thelist] No hotlinking? Message-ID: <6.0.0.22.0.20031114040636.023d5628@pop3.nildram.co.uk> I am happy to allow anythinggoogle. to hotlink, nothing else What should I add to my "wee" script below, to achieve that? FB RewriteEngine on RewriteCond %{HTTP_REFERER} ^[http|nttp].*$ RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?fatblokeracing.org/.*$ [NC] RewriteRule \.(gif|jpg|jpeg|png)$ http://www.fatblokeracing.org/sharedimages/badimage.gif [R,L] From jcbullas at nildram.co.uk Thu Nov 13 22:23:38 2003 From: jcbullas at nildram.co.uk (John C Bullas) Date: Fri, 14 Nov 2003 04:23:38 +0000 Subject: [thelist] Client Posted Website Using a Comp (prior to payment)..... personal experience In-Reply-To: <007301c3aa09$05b32540$14f3fea9@tj> References: <007301c3aa09$05b32540$14f3fea9@tj> Message-ID: <6.0.0.22.0.20031114041739.0245ef08@pop3.nildram.co.uk> At 17:10 13/11/2003, Tim wrote >Hi all, >Can anyone provide advice regarding recourse in a copyright infringement >case (in Canada). > >A client of mine used my comp of their proposed website to create and >upload their new home page. I had my company's copyright notice as the >page footer and they changed it to the name of their company. > >I made it very clear that they would receive the project files once I had >received the final payment. I have not yet received payment. I have asked >them to remove the page until I have been paid and they have refused. > >What are my options? >Any help would be appreciated. This happened once to me Customer ripped content off the server I hosted it on and copied it to "his" He was stupid enough NOT to take the author tags and hidden copyright comments out each page of the code!!!!! I Told the "customer" (sensu lato) he was a very naughty man and would be cursed with torment hellfire brimstone and damnation on his departure from this earth if he did not pay, he did nothing.... (not god-fearing in the slightest) Luckily his "ripped off" site was now HOSTED on a 3rd party server not his own! Rang the host and told them they were delivering content that breached ....la la la la.. ......... furious "view source" by the host! Site was down in 30 minutes!!! Customer paid up in 1 day ;) John >Tim From ken at adOpenStatic.com Thu Nov 13 23:19:54 2003 From: ken at adOpenStatic.com (Ken Schaefer) Date: Fri, 14 Nov 2003 16:19:54 +1100 Subject: [thelist] No hotlinking? References: <6.0.0.22.0.20031114040636.023d5628@pop3.nildram.co.uk> Message-ID: <08f001c3aa6e$f035fba0$0a345e81@careersAD.unsw.edu.au> So www.google.adOpenStatic.com is OK? I'm not sure that's what you want... :-) Cheers Ken ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: "John C Bullas" Subject: [thelist] No hotlinking? : I am happy to allow anythinggoogle. to hotlink, nothing else : : What should I add to my "wee" script below, to achieve that? : : FB : : RewriteEngine on : RewriteCond %{HTTP_REFERER} ^[http|nttp].*$ : RewriteCond %{HTTP_REFERER} !^$ : RewriteCond %{HTTP_REFERER} !^http://(www\.)?fatblokeracing.org/.*$ [NC] : RewriteRule \.(gif|jpg|jpeg|png)$ : http://www.fatblokeracing.org/sharedimages/badimage.gif [R,L] From jcbullas at nildram.co.uk Thu Nov 13 23:46:58 2003 From: jcbullas at nildram.co.uk (John C Bullas) Date: Fri, 14 Nov 2003 05:46:58 +0000 Subject: [thelist] No hotlinking? In-Reply-To: <08f001c3aa6e$f035fba0$0a345e81@careersAD.unsw.edu.au> References: <6.0.0.22.0.20031114040636.023d5628@pop3.nildram.co.uk> <08f001c3aa6e$f035fba0$0a345e81@careersAD.unsw.edu.au> Message-ID: <6.0.0.22.0.20031114054459.023ac568@pop3.nildram.co.uk> At 05:19 14/11/2003, Ken Schaefer wrote >So www.google.adOpenStatic.com is OK? I'm not sure that's what you want... Ah ha maybe anything.google. AND can you actually tell me what I should put in not not actually give me what I should not ;) >:-) > >Cheers >Ken > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >From: "John C Bullas" >Subject: [thelist] No hotlinking? > > >: I am happy to allow anythinggoogle. to hotlink, nothing else >: >: What should I add to my "wee" script below, to achieve that? >: >: FB >: >: RewriteEngine on >: RewriteCond %{HTTP_REFERER} ^[http|nttp].*$ >: RewriteCond %{HTTP_REFERER} !^$ >: RewriteCond %{HTTP_REFERER} !^http://(www\.)?fatblokeracing.org/.*$ [NC] >: RewriteRule \.(gif|jpg|jpeg|png)$ >: http://www.fatblokeracing.org/sharedimages/badimage.gif [R,L] > >-- >* * 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 ! ********************************************** John C Bullas nildram.co.uk ***** Eudora Mail 6.0.0.22 + McAfee Virus Scan 4.5.1 ***** ********************************************** From jcbullas at nildram.co.uk Fri Nov 14 00:01:57 2003 From: jcbullas at nildram.co.uk (John C Bullas) Date: Fri, 14 Nov 2003 06:01:57 +0000 Subject: [thelist] Amusing spam aside... and spambotting In-Reply-To: <6.0.0.22.0.20031114054459.023ac568@pop3.nildram.co.uk> References: <6.0.0.22.0.20031114040636.023d5628@pop3.nildram.co.uk> <08f001c3aa6e$f035fba0$0a345e81@careersAD.unsw.edu.au> <6.0.0.22.0.20031114054459.023ac568@pop3.nildram.co.uk> Message-ID: <6.0.0.22.0.20031114055434.02404388@pop3.nildram.co.uk> Last year one of my domains got hijacked for the spoofed return address of some crappy spam..... >

        I'm a real person writing to you, and I'm telling you this works... >
        > Give it a try... You WILL make some serious cash !

        >

        Hi,

        >

        You may have seen this business before and
        > ignored it. I know I did - many times! However,
        > please take a few moments to read this letter.
        > I was amazed when the profit potential of this
        > business finally sunk in... and it works!

        >

        With easy-to-use e-mail tools and opt-in e-mail,
        > success in this business is now fast, easy and
        > well within the capabilities of ordinary people
        > who know little about internet marketing. And the
        > earnings potential is truly staggering!

        > I logged the process of getting the spammer shut down/moved on Letters to the UK DTI and trading standards offices local to the UK spammers seem to have moved them on to PO boxes as the site I put up reproduces their postal addresses in the spam....... #1 spammer using my domain moved off the top 5 list for the MLM scheme BUT one of the spoofed addresses given on my webpage has now been spam botted!!! thus just got the same spam TO the spoofed address!!! Fortunately it was sat in the 3000+ list of ignored/blocked spams I occasionally read through... TIP: never give your email address "unmunged" on any web resource that can be "botted"... spam botted that is! FB From jcbullas at nildram.co.uk Fri Nov 14 00:48:38 2003 From: jcbullas at nildram.co.uk (John C Bullas) Date: Fri, 14 Nov 2003 06:48:38 +0000 Subject: [thelist] HTML mail pitfalls when viewed in plain text and "bloopers" In-Reply-To: <6.0.0.22.0.20031114054459.023ac568@pop3.nildram.co.uk> References: <6.0.0.22.0.20031114040636.023d5628@pop3.nildram.co.uk> <08f001c3aa6e$f035fba0$0a345e81@careersAD.unsw.edu.au> <6.0.0.22.0.20031114054459.023ac568@pop3.nildram.co.uk> Message-ID: <6.0.0.22.0.20031114063815.02457b90@pop3.nildram.co.uk> Just been spammed TWICE by "Brett Rhodes-Neal" [] Date: [] [] 2003-11-13 22:37:39.0 [] [] To: [] [] individual at artworkz.biz [] [] Subject: [] [] Christmas Gifts: Give Award Winning ArtWork However when you read the HTML message (vomit coloured green background) in plain text you see,,,, (in green) Green is a good plan. [] that's right ok [] sounds good, Pamela ....... embedded in the message!!! reminds me of an image on a local authority website extolling the virtues of one councillor for his relationship with the elderly.. a photo of him and some elderly gent was "up" on the site .... and the jpeg name... kenwithfogey.jpg !!!! NB: fogey is a UK term for an old gibber ;) Careful out there when you go live!!!! FB From thelist at meidomus.com Fri Nov 14 05:41:01 2003 From: thelist at meidomus.com (Burhan Khalid) Date: Fri, 14 Nov 2003 14:41:01 +0300 Subject: [thelist] EMail format question. In-Reply-To: References: Message-ID: <3FB4BF4D.9010605@meidomus.com> Ken Moore wrote: > Hi all, > > I know that there is simple solution to this one. > > On a form, using PHP to send an email that includes a comment area, I > type in: > "It's me again." > > And in the resulting email, I get this: > "It\'s me again." > > What to do? The reason its doing that is because you have magic_quotes turned on (which automatically escapes incoming data). You can turn that off, or use stripslashes(). -- Burhan Khalid thelist[at]meidomus[dot]com http://www.meidomus.com ----------------------- "Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing." From thelist at meidomus.com Fri Nov 14 05:40:57 2003 From: thelist at meidomus.com (Burhan Khalid) Date: Fri, 14 Nov 2003 14:40:57 +0300 Subject: [thelist] Database Schema Suggestions Message-ID: <3FB4BF49.2010506@meidomus.com> Greetings All : I'm having a bit of a problem trying to sort out how to store information in a database that does not have a defined size. An item that can have /n/ amount of properties/attributes for example. What I'm trying to do is create an automatic form generation system for an event scheduling application. The administrator will create an event, and if that event requires registration, they would then create a registration form. The problem I'm having is how to structure the database so that I can store the form data ... specifically, any number of fields that the admin might want. It would be moot to limit the form to /x/ amount of fields. Thinking about it for a bit, I came up with one idea -- but every time I look at it, I find something else wrong with it (or situtations where it wouldn't work) and I'm hoping that some experienced database wizards can lend some advice. My idea was to create a table with all the possible fields that are allowed in a HTML form (text, checkbox, radiobutton, etc.) and give them each a unique id (in effect, a lookup table). This would take care of storing the form element types. Then I was going to have a field in the table that stores the form data (called elements) that would contain a comma-separated list from the lookup table. Something like this : [ Lookup table ] *----*----------* | id | type | *----*----------* | 1 | checkbox | | 2 | text | | 3 | radio | *---------------* [ Form table ] *------------* | elements | *------------* | 2,1,3,1,2 | *------------* However, I am also going to have a facility where the admin can choose fields that are mandatory and some basic checks (email, name, zipcode, etc.) but I don't know how I would store that information per field .. or where I would store it. I thought about creating another table with possible validation types, and then doing the same comma-list in the form table for validation (which would be in the same order as the fields) but I have a feeling that there is a better way to do this. I thought about scraping the entire database approach and just creating text files with information for each form, and then storing a reference to that text file in the database, but I'm looking forward to any suggestions or ideas that you might have regarding this. Anyone have to deal with this before? If such things matter, the target database is mysql. Thanks, -- Burhan Khalid thelist[at]meidomus[dot]com http://www.meidomus.com ----------------------- "Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing." From kverens at contactjuggling.org Fri Nov 14 05:55:19 2003 From: kverens at contactjuggling.org (Kae Verens) Date: Fri, 14 Nov 2003 11:55:19 +0000 Subject: [thelist] Database Schema Suggestions In-Reply-To: <3FB4BF49.2010506@meidomus.com> References: <3FB4BF49.2010506@meidomus.com> Message-ID: <3FB4C2A7.2040808@contactjuggling.org> Burhan Khalid wrote: > However, I am also going to have a facility where the admin can choose > fields that are mandatory and some basic checks (email, name, zipcode, > etc.) but I don't know how I would store that information per field .. > or where I would store it. I thought about creating another table with > possible validation types, and then doing the same comma-list in the > form table for validation (which would be in the same order as the > fields) but I have a feeling that there is a better way to do this. what you need is three tables. one to describe the form generally (name, id), one to describe each field, and the last to hold the actual data. For example: t_form( id int auto_increment primary key, name text ) t_form_fields( id int auto_increment primary key, formId int, name text, type int, mandatory tinyint default 0 ) t_form_data( formId int, formFieldsId int, contents text ) that should take care of most forms. Kae From guy at holler.co.uk Fri Nov 14 07:01:05 2003 From: guy at holler.co.uk (Guy Bowden) Date: Fri, 14 Nov 2003 13:01:05 -0000 Subject: [thelist] Eolas update...looking good for us! In-Reply-To: <91.359a3002.2ce3954e@aol.com> Message-ID: <028b01c3aaaf$6080fa50$0c00a8c0@HollerNet.local> Hi, Quick WDDX question.. I'm using a third party flash WDDX serializer and deserializer tool (from figleaf) - The way it tries to convert accents on french letters is by using html char codes like this : è = "?", é = "?", ê = "?", ë = "?", I'm having trouble getting PHP to output these codes - at the moment if I use the htmlentities function I get codes like this : é and à Anyone know how I can get PHP to output char codes like the first set? Cheers Guy From psm2713 at hotmail.com Fri Nov 14 07:11:16 2003 From: psm2713 at hotmail.com (Ken Moore) Date: Fri, 14 Nov 2003 06:11:16 -0700 Subject: [thelist] Database Schema Suggestions Message-ID: Hi all, Burhan wrote: >The problem I'm having is how to structure the database so that I can store >the form data ... specifically, any number of fields that the admin might >want. It would be moot to limit the form to /x/ amount of fields. Consider this. Form_Table has the attributes of the table, the event, owner, and anything else that is common to all forms. Item_table has a field (something like "Main_Form") to tie it to the form. The rest of the fields have the item properties such as item name, data, datatype, required, etc. The negative is that your code will need to do all of the processing, error handling - and probably you will need to convet all data to and from string type in the data field to store it. The advantage is that you have absoute control and flexibility. Ken _________________________________________________________________ Great deals on high-speed Internet access as low as $26.95. https://broadband.msn.com (Prices may vary by service area.) From guy at holler.co.uk Fri Nov 14 07:21:45 2003 From: guy at holler.co.uk (Guy Bowden) Date: Fri, 14 Nov 2003 13:21:45 -0000 Subject: [thelist] French accents In-Reply-To: <028b01c3aaaf$6080fa50$0c00a8c0@HollerNet.local> Message-ID: <02a001c3aab2$439d0390$0c00a8c0@HollerNet.local> Sorry - forgot to change the subject line.. -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Guy Bowden Sent: 14 November 2003 13:01 To: thelist at lists.evolt.org Subject: RE: [thelist] Eolas update...looking good for us! Hi, Quick WDDX question.. I'm using a third party flash WDDX serializer and deserializer tool (from figleaf) - The way it tries to convert accents on french letters is by using html char codes like this : è = "?", é = "?", ê = "?", ë = "?", I'm having trouble getting PHP to output these codes - at the moment if I use the htmlentities function I get codes like this : é and à Anyone know how I can get PHP to output char codes like the first set? Cheers Guy -- * * 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 pixelmech at yahoo.com Fri Nov 14 07:43:10 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Fri, 14 Nov 2003 05:43:10 -0800 (PST) Subject: SV: [thelist] JavaScript: How to save/return state on group of objects In-Reply-To: <023a01c3aa3b$af367540$0da8a8c0@marcusnb> Message-ID: <20031114134310.61931.qmail@web12608.mail.yahoo.com> --- Marcus Andersson wrote: > Well, arrays can be quite handy. > > >I can almost see Marcus now typing up an OO answer...;) > > I could, if you want... > But, even if you create an OO solution to this there will in the > end (hidden somewhere in the OO stuff) be an array :). And I also > guess that OO shouldn't be used everywhere. Your script is pretty > small and simple and I think it would make it a little bit more > complex if you make it OO (not very much though). But, if you're > going to use it all over the place I would definitely make it a > class somehow. Great, and I was semi-saying that tongue in cheek anyway. I hate how email distills all my good humour. Oh well. This is pretty much a one shot deal at the moment so simple is good. > >http://www.pixelmech.com/review/newWorkerTable.html > > Hmmm... It doesn't work. Everything gets green. A change on row 84 > to: oCells[i].style.backgroundColor = ""; made it work Gah! I can't believe it was that simple and I didn't know that! Yes, the problem indeed was that everything was green - thus my post ;) -, because nothing was changing back, but that line works perfectly. > Yeay, I know it's kind of ugly and not completely DOMish to "reset" > an attribute like that, but all (not many at all according to PPK > and his quirksmode) browsers doesn't support removal of attributes. > And it works ;) Ugly - don't care. Not DOMish, don't care. Works - that I care about! If there were a *reliable* DOM way to do it I'd be all for it but I'm not going to shed any tears over it! Thanks! Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From andrew at humanbehaviour.co.uk Fri Nov 14 07:54:31 2003 From: andrew at humanbehaviour.co.uk (Andrew) Date: Fri, 14 Nov 2003 13:54:31 -0000 Subject: [thelist] adserve windowenacer Message-ID: how can I get rid of 'adserve windowenacer' when a 404 error occurs? I am presuming that this has come with freeserve? I also presume I have to do something with the registry? Cheers Andrew From pixelmech at yahoo.com Fri Nov 14 10:45:05 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Fri, 14 Nov 2003 08:45:05 -0800 (PST) Subject: [thelist] JavaScript: trim function? In-Reply-To: <3FB1920B.90002@webtuitive.com> Message-ID: <20031114164505.61123.qmail@web12607.mail.yahoo.com> --- Hassan Schroeder wrote: > > Tom Dell'Aringa wrote: > > I have a number like this: 4234.343899238 > > I want to trim that to just 4234.34. Anyone have a handy function > > for this before I re-create the wheel? > > Math.round() is a built-in JavaScript function ... Which gives me 4234...i need the two decimal places... Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From damiencola at wanadoo.fr Fri Nov 14 11:05:08 2003 From: damiencola at wanadoo.fr (Damien COLA) Date: Fri, 14 Nov 2003 18:05:08 +0100 Subject: [thelist] JavaScript: trim function? In-Reply-To: <20031114164505.61123.qmail@web12607.mail.yahoo.com> Message-ID: <000701c3aad1$753bb580$0100a8c0@ELECTRA> x = 4234.343899238; y = Math.round(x*100) / 100.0; print y > 4234.34 I know this is re-inventing the wheel, but I don't know Javascript enough. -----Original Message----- > Math.round() is a built-in JavaScript function ... Which gives me 4234...i need the two decimal places... From kilimajer at webglobe.sk Fri Nov 14 11:10:01 2003 From: kilimajer at webglobe.sk (Marek Kilimajer) Date: Fri, 14 Nov 2003 18:10:01 +0100 Subject: [thelist] French accents In-Reply-To: <02a001c3aab2$439d0390$0c00a8c0@HollerNet.local> References: <02a001c3aab2$439d0390$0c00a8c0@HollerNet.local> Message-ID: <3FB50C69.7080906@webglobe.sk> Guy Bowden wrote: > Sorry - forgot to change the subject line.. Not only that you did not change the subject line but you also hijacked thread. That thread is now 2 days old and is well at the bottom of everyones mailbox. You should always start a new thread by clicking on "Create a new message" in your email client. From hassan at webtuitive.com Fri Nov 14 11:12:53 2003 From: hassan at webtuitive.com (Hassan Schroeder) Date: Fri, 14 Nov 2003 09:12:53 -0800 Subject: [thelist] JavaScript: trim function? In-Reply-To: <20031114164505.61123.qmail@web12607.mail.yahoo.com> References: <20031114164505.61123.qmail@web12607.mail.yahoo.com> Message-ID: <3FB50D15.5060509@webtuitive.com> Tom Dell'Aringa wrote: >>>I have a number like this: 4234.343899238 >>>I want to trim that to just 4234.34. Anyone have a handy function >>>for this before I re-create the wheel? >> >>Math.round() is a built-in JavaScript function ... > > > Which gives me 4234...i need the two decimal places... Right, it rounds to an integer value, so myVar = 4234.343899238; myPrecision = 2; myFactor = Math.pow(10, myPrecision); myRoundedVar = Math.round(myVar * myFactor) / myFactor; HTH! -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From marcan at home.se Fri Nov 14 11:19:20 2003 From: marcan at home.se (Marcus Andersson) Date: Fri, 14 Nov 2003 18:19:20 +0100 Subject: SV: [thelist] JavaScript: trim function? In-Reply-To: <20031114164505.61123.qmail@web12607.mail.yahoo.com> Message-ID: <025c01c3aad3$71571660$0da8a8c0@marcusnb> > > Which gives me 4234...i need the two decimal places... > How about: function trimNumber(number, digits) { return Math.round(number * Math.pow(10, digits)) / ((Math.pow(10, digits) * 1.0)); } /Marcus From cmethod at iupui.edu Fri Nov 14 11:23:18 2003 From: cmethod at iupui.edu (Method, Colleen M) Date: Fri, 14 Nov 2003 12:23:18 -0500 Subject: [thelist] Tip Owed - On Fonts Message-ID: Hi I owe a tip from a while back and a bonus tip. Tip Owed: When choosing a font for a webpage remember the target audience. (Kids may want cute fonts and some Senior Citizens may require larger font sizes.) Bonus Tip: For personality on a page - use one font for any header on it and a basic font for the text body. This will change the contrast on the page and may make the sections of the text standout better to people reading it. Colleen Method From scforum at iness.com Fri Nov 14 12:04:32 2003 From: scforum at iness.com (Sam Carter) Date: Fri, 14 Nov 2003 13:04:32 -0500 Subject: [thelist] Program control of FORM submission Message-ID: <005c01c3aad9$c4a7eaf0$6401a8c0@SamVAIO600P> I've been asked to research how a software program could read an HTTP form, fill in the input fields and submit. Anyone have a URL that describes the process? Sam From rob.smith at THERMON.com Fri Nov 14 12:02:09 2003 From: rob.smith at THERMON.com (Rob Smith) Date: Fri, 14 Nov 2003 12:02:09 -0600 Subject: [thelist] Program control of FORM submission Message-ID: <0CEC8258A6E4D611BE5400306E1CC9271E51BE@smtmb.tmc.local> I've been asked to research how a software program could read an HTTP form, fill in the input fields and submit. Are you talking about a parser right? (Code that reads "name1=value&name2=value&name3=value") From hassan at webtuitive.com Fri Nov 14 12:22:51 2003 From: hassan at webtuitive.com (Hassan Schroeder) Date: Fri, 14 Nov 2003 10:22:51 -0800 Subject: [thelist] Program control of FORM submission In-Reply-To: <005c01c3aad9$c4a7eaf0$6401a8c0@SamVAIO600P> References: <005c01c3aad9$c4a7eaf0$6401a8c0@SamVAIO600P> Message-ID: <3FB51D7B.7080209@webtuitive.com> Sam Carter wrote: > I've been asked to research how a software program could read an HTTP form, > fill in the input fields and submit. Uh, wha'? Are you wanting AI -- "hmmm, label says first name, OK, 'Hal', last name, must be surname, OK, '9000', mmm, SSAN?, sorry, Dave, can't do that, mmm, address, mmm..."? Do you want a program to read any arbitrary form and insert some gibberish in every text field and check all the boxes? Or is the author of the form intended to know what fields are in the form, and what the responses should be? :-) A little more detail, pleez... -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From simon.perry at si-designs.co.uk Fri Nov 14 13:22:25 2003 From: simon.perry at si-designs.co.uk (Simon Perry) Date: Fri, 14 Nov 2003 19:22:25 +0000 Subject: [thelist] Program control of FORM submission In-Reply-To: <005c01c3aad9$c4a7eaf0$6401a8c0@SamVAIO600P> References: <005c01c3aad9$c4a7eaf0$6401a8c0@SamVAIO600P> Message-ID: <3FB52B71.8050106@si-designs.co.uk> Sam Carter wrote: >I've been asked to research how a software program could read an HTTP form, >fill in the input fields and submit. > >Anyone have a URL that describes the process? > >Sam > > You can do this easily in Perl using LWP, a short tutorial can be found here [1]. Depending on the complexity of the form you may also need to use HTML::Form [2]. Simon [1] http://www.perl.com/pub/a/2002/08/20/perlandlwp.html?page=2 [2] http://www.perldoc.com/perl5.6/lib/HTML/Form.html From scforum at iness.com Fri Nov 14 13:25:47 2003 From: scforum at iness.com (Sam Carter) Date: Fri, 14 Nov 2003 14:25:47 -0500 Subject: [thelist] Program control of FORM submission In-Reply-To: <3FB51D7B.7080209@webtuitive.com> Message-ID: <000001c3aae5$1e7124b0$6401a8c0@SamVAIO600P> This is a single web-page form that has a few of known fields. I understand the requirement is to use the form as a soft interface for a program to enter data. I'm in the dark about how a program would emulate a browser and "SUBMIT" a form after reading the HTTP and filling in the INPUT fields. Sam From phillipmvector at comcast.net Fri Nov 14 11:28:45 2003 From: phillipmvector at comcast.net (phillipmvector at comcast.net) Date: Fri, 14 Nov 2003 17:28:45 +0000 Subject: [thelist] Javascript: Passing Text from a Select to a function Message-ID: <111420031728.20697.5338@comcast.net> What I'm trying to do is to pass the selection made on the form to a function. When the alert comes up, it says "[Object]". How do I have the selection made on the Listbox pass to the Function? ===== function CheckClan(Clan) { alert(Clan); } From jay.blanchard at niicommunications.com Fri Nov 14 13:31:00 2003 From: jay.blanchard at niicommunications.com (Jay Blanchard) Date: Fri, 14 Nov 2003 13:31:00 -0600 Subject: [thelist] Program control of FORM submission Message-ID: [snip] I've been asked to research how a software program could read an HTTP form, fill in the input fields and submit. Anyone have a URL that describes the process? [/snip] cURL - http://curl.haxx.se/ From pixelmech at yahoo.com Fri Nov 14 13:42:14 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Fri, 14 Nov 2003 11:42:14 -0800 (PST) Subject: [thelist] Javascript: Passing Text from a Select to a function In-Reply-To: <111420031728.20697.5338@comcast.net> Message-ID: <20031114194214.93931.qmail@web12605.mail.yahoo.com> --- phillipmvector at comcast.net wrote: > What I'm trying to do is to pass the selection made on the form to > a function. When the alert comes up, it says "[Object]". > > How do I have the selection made on the Listbox pass to the > Function? > > ===== > function CheckClan(Clan) > { > alert(Clan); > } > > Philip, it says OBJECT because that is exactly what you are passing the function - the SELECT object. You need to step into the OPTIONS array, then send the selectedIndex (the item selected) as the index item. Further you need to add a VALUE attribute to the OPTION so it gets sent: That should work for you. HTH Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From thelist at meidomus.com Fri Nov 14 14:26:24 2003 From: thelist at meidomus.com (Burhan Khalid) Date: Fri, 14 Nov 2003 23:26:24 +0300 Subject: [thelist] Database Schema Suggestions [Repost?] Message-ID: <3FB53A70.1080003@meidomus.com> /Didn't see the first one in my inbox, so I'm resending it. Hopefully this doesn't show up twice/ Greetings All : I'm having a bit of a problem trying to sort out how to store information in a database that does not have a defined size. An item that can have /n/ amount of properties/attributes for example. What I'm trying to do is create an automatic form generation system for an event scheduling application. The administrator will create an event, and if that event requires registration, they would then create a registration form. The problem I'm having is how to structure the database so that I can store the form data ... specifically, any number of fields that the admin might want. It would be moot to limit the form to /x/ amount of fields. Thinking about it for a bit, I came up with one idea -- but every time I look at it, I find something else wrong with it (or situtations where it wouldn't work) and I'm hoping that some experienced database wizards can lend some advice. My idea was to create a table with all the possible fields that are allowed in a HTML form (text, checkbox, radiobutton, etc.) and give them each a unique id (in effect, a lookup table). This would take care of storing the form element types. Then I was going to have a field in the table that stores the form data (called elements) that would contain a comma-separated list from the lookup table. Something like this : [ Lookup table ] *----*----------* | id | type | *----*----------* | 1 | checkbox | | 2 | text | | 3 | radio | *---------------* [ Form table ] *------------* | elements | *------------* | 2,1,3,1,2 | *------------* However, I am also going to have a facility where the admin can choose fields that are mandatory and some basic checks (email, name, zipcode, etc.) but I don't know how I would store that information per field .. or where I would store it. I thought about creating another table with possible validation types, and then doing the same comma-list in the form table for validation (which would be in the same order as the fields) but I have a feeling that there is a better way to do this. I thought about scraping the entire database approach and just creating text files with information for each form, and then storing a reference to that text file in the database, but I'm looking forward to any suggestions or ideas that you might have regarding this. Anyone have to deal with this before? If such things matter, the target database is mysql. Thanks, -- Burhan Khalid thelist[at]meidomus[dot]com http://www.meidomus.com ----------------------- "Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing." From Tab.Alleman at MetroGuide.com Fri Nov 14 14:29:50 2003 From: Tab.Alleman at MetroGuide.com (Tab Alleman) Date: Fri, 14 Nov 2003 15:29:50 -0500 Subject: [thelist] JS: onSubmit function seems to reset Select input? Message-ID: On this page: http://click.contextmanager.com/test/DCRTest.html When I go to the first table row, and change the "Change status to:" select to "Confirmed", and then click Submit, suddenly the select gets reset to "Deleted". This didn't happen before I added an onSubmit handler to the
        tag.. Is this expected behavior? Any way around it? It only has to work in IE (intranet project). TIA Tab From pixelmech at yahoo.com Fri Nov 14 13:55:50 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Fri, 14 Nov 2003 11:55:50 -0800 (PST) Subject: SV: [thelist] JavaScript: trim function? [solved] In-Reply-To: <025c01c3aad3$71571660$0da8a8c0@marcusnb> Message-ID: <20031114195550.92028.qmail@web12601.mail.yahoo.com> --- Marcus Andersson wrote: > How about: > > function trimNumber(number, digits) { > return Math.round(number * Math.pow(10, digits)) / > ((Math.pow(10, > digits) * 1.0)); > } This is perfect actually, since I need to do this on a few numbers not just one. (Not that I have a clue how it works..never was a math guy.) Thanks Marcus and the thanks to others for the other suggestions as well. Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From John.Brooking at sappi.com Fri Nov 14 15:03:12 2003 From: John.Brooking at sappi.com (John.Brooking at sappi.com) Date: Fri, 14 Nov 2003 16:03:12 -0500 Subject: [thelist] Login Screen Security Message-ID: <471E425A0BB6D211972C00105AC954240556C40E@soportland.na.sappi.com> Josh said: >I've been withholding, you're right... but now that you're thinking about >all the angles I'll give you a possible solution to the whole thing: > ... (brilliant solution outlined) ... >All in all, this would work, but man is it a complex solution! I'd >suggest you use SSL until something better comes out. :-) Josh, A public thank-you for your suggestion, in addition to the private one I sent this morning. I said I had a few variations in mind, but I think I've convinced myself that they don't buy me anything, so forget about that. The programmer in me of course wants to implement your solution just because it's cool, but I want to make sure that that's not the only reason I'm doing it. The better justification, IMHO, is that my software is not handling financial information, credit card numbers, or anything else dealing with personal privacy, so requiring SSL only to have a secure login screen seems like overkill. Furthermore, I'm targeting my software to very small non-profits and businesses who in all likelihood are buying space on an ISP instead of running their own servers. While the businesses may already have an SSL solution for their sales, the non-profits probably don't, and I don't want that additional requirement for just a login screen. I guess I don't have any other questions, unless you have any more comments on what I should do. Thanks again for taking the time to address my question. (And also for the SSL tip I just now noticed that you posted.) I hope you don't mind my referencing your solution in my own tip below. NOTE TO LIST: In the introduction to my tip previously in the week, I did not mean to whine. I only meant to imply that I was tempted to, but was resisting the temptation (except for the first sentence), and was trying to get attention (yes, I'll admit it) constructively instead. According to [1], the Apache htpasswd utility uses the Unix/C/Perl crypt or crypt(3) function ("man crypt" or "perldoc -f crypt") to encrypt its passwords on the server. However, you should be aware that the password which the user types into the browser client dialog is sent in plain text to the server, making it susceptible to packet sniffing. It is possible to work out a rather complex solution which doesn't involve sending a plain text password. This requires using crypt on both the client and server side of a home-grown login screen. See [2] for an example; a client-side JavaScript implementation is available at [3]. But implementing your login screen in SSL may be simpler, and is more standard. [1] http://httpd.apache.org/docs/howto/auth.html [2] http://lists.evolt.org/archive/Week-of-Mon-20031110/151399.html [3] http://javascript.internet.com/passwords/unix-crypt(3)-encryption.html Have a good week-end, everyone! - John ----------------- This message may contain information which is private, privileged or confidential and is intended solely for the use of the individual or entity named in the message. If you are not the intended recipient of this message, please notify the sender thereof and destroy / delete the message. Neither the sender nor Sappi Limited (including its subsidiaries and associated companies) shall incur any liability resulting directly or indirectly from accessing any of the attached files which may contain a virus or the like. From hassan at webtuitive.com Fri Nov 14 15:08:33 2003 From: hassan at webtuitive.com (Hassan Schroeder) Date: Fri, 14 Nov 2003 13:08:33 -0800 Subject: [thelist] Program control of FORM submission In-Reply-To: <000001c3aae5$1e7124b0$6401a8c0@SamVAIO600P> References: <000001c3aae5$1e7124b0$6401a8c0@SamVAIO600P> Message-ID: <3FB54451.20000@webtuitive.com> Sam Carter wrote: > This is a single web-page form that has a few of known fields. I understand > the requirement is to use the form as a soft interface for a program to > enter data. Then it's not about the program "reading" the form -- it's just going to submit the appropriate name-value pairs to the program that's the form target ("action"). What language is it going to be implemented in? -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From sabaffy at mswebdevelopment.com Fri Nov 14 15:15:23 2003 From: sabaffy at mswebdevelopment.com (Steve Abaffy) Date: Fri, 14 Nov 2003 15:15:23 -0600 Subject: [thelist] Outlook and HTML emails Message-ID: Hello, I have a question does outlook keep a cache? I am writing an HTML email for a client and when I send them a new version all they see is the old version, while when I send it to myself I see the new version. So I am thinking that there is some kind of caching problem. If so how does one clear the cache on the clients machine??? Thanks. From thelist at meidomus.com Fri Nov 14 15:23:19 2003 From: thelist at meidomus.com (Burhan Khalid) Date: Sat, 15 Nov 2003 00:23:19 +0300 Subject: [thelist] Program control of FORM submission In-Reply-To: <005c01c3aad9$c4a7eaf0$6401a8c0@SamVAIO600P> References: <005c01c3aad9$c4a7eaf0$6401a8c0@SamVAIO600P> Message-ID: <3FB547C7.408@meidomus.com> Sam Carter wrote: > I've been asked to research how a software program could read an HTTP form, > fill in the input fields and submit. > > Anyone have a URL that describes the process? Not a URL, but Snoopy [1] does this. Its a browser emulator class written in PHP that I am a big fan of. Also, there are a few packages in PEAR [2] that deal with HTTP. Hope this helps -- Burhan Khalid thelist[at]meidomus[dot]com http://www.meidomus.com [1] http://snoopy.sourceforge.net [2] http://pear.php.net/packages.php?catpid=11&catname=HTTP ----------------------- "Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing." From pixelmech at yahoo.com Fri Nov 14 15:33:01 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Fri, 14 Nov 2003 13:33:01 -0800 (PST) Subject: [thelist] DOM node question Message-ID: <20031114213301.26229.qmail@web12603.mail.yahoo.com> Hi, I have a table row with 3 cells. I have a function that has just received a reference to one of the cells as a parameter. I want to know the index number of that cell in that row. For example if the middle row below is the cell we are talking about: +---+---+---+ | | x | | +---+---+---+ Then I want to know that the index is 1. I know I can get a reference to the row like so: theTableRow = objectCell.parentNode; But I can't seem to get past that. I'm not sure I even need to do that... Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From pixelmech at yahoo.com Fri Nov 14 15:48:02 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Fri, 14 Nov 2003 13:48:02 -0800 (PST) Subject: [thelist] Re: [wdf-dom] DOM node question [solved..but..] In-Reply-To: <20031114213301.26229.qmail@web12603.mail.yahoo.com> Message-ID: <20031114214802.31130.qmail@web12603.mail.yahoo.com> --- Tom Dell'Aringa wrote: > Hi, > > I have a table row with 3 cells. I have a function that has just > received a reference to one of the cells as a parameter. > > I want to know the index number of that cell in that row... Bah, got it right after the post, figures. Anyway, I now have a working example that I would like some comments on how to improve. The thing is a table which is a schedule. We wanted the manager to be able to mouseover the schedule and have the row AND column highlight at the cell. Kind of like a target almost. I have it working in IE6 and NS7, some more testing and a code review would be great, and any other comments (other than color, its a tad ugly right now). The page is at: http://www.pixelmech.com/review/newWorkerTable.html Thanks! Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From jmuniz at granicus.com Fri Nov 14 15:56:03 2003 From: jmuniz at granicus.com (Javier Muniz) Date: Fri, 14 Nov 2003 13:56:03 -0800 Subject: [thelist] Copyright Infringement - Client Posted Website Usi ng a Comp (prior to payment) Message-ID: <8CAA2F1AC7B96C43974814DD3D95EF982EF7D6@sfomail-01.granicusnt.granicus.com> Step 1. Hire a lawyer. Step 2. Follow your lawyer's advice. Obviously the best thing you can do is work it out with them, since once you involve a lawyer the other side tends to involve a lawyer and both lawyers work together at wasting both of your money for as long as possible. The first step is to serve them a cease & desist letter to inform them that they are in violation of copyright law and must remove the copyrighted works from their website, then if they refuse you can usually sue them. At least, that's how it works in the American system, not sure about Canada. I've found the least expensive way to work with a lawyer is to do the actual work then have the lawyer edit it. In other words, find a good c&d letter on the internet, edit it as necessary, then hire a lawyer to make sure that it conforms with the laws of your country/province. After that, send the letter. Usually once a C&D is served, especially if it holds merit, the violator will remove the offending material. If they do not it's fairly easy to a court order to have them remove the material until the case is decided by a court. Not sure how the small claims system works in the Canada, but in the U.S. if the amount owed is less than $2,000 you can file in small claims court, represent yourself, and pay just $80 to have your case heard. -Javier Disclaimer: I am not a lawyer, and this should not be taken as legal advice. I am simply relaying my views and past experiences. If you are involved in any sort of litigation at all, hire a lawyer or pay the consequences. > -----Original Message----- > From: Tim [mailto:tim at pinkcandyproductions.com] > Sent: Thursday, November 13, 2003 9:10 AM > To: thelist at lists.evolt.org > Subject: [thelist] Copyright Infringement - Client Posted > Website Using a Comp (prior to payment) > > > Hi all, > Can anyone provide advice regarding recourse in a copyright > infringement case (in Canada). > > A client of mine used my comp of their proposed website to > create and upload their new home page. I had my company's > copyright notice as the page footer and they changed it to > the name of their company. > > I made it very clear that they would receive the project > files once I had received the final payment. I have not yet > received payment. I have asked them to remove the page until > I have been paid and they have refused. > > What are my options? > Any help would be appreciated. > Tim > -- > * * 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 manuel at simplelogica.net Fri Nov 14 15:59:49 2003 From: manuel at simplelogica.net (Manuel =?ISO-8859-1?Q?Gonz=E1lez?= Noriega) Date: 14 Nov 2003 22:59:49 +0100 Subject: [thelist] Program control of FORM submission In-Reply-To: <005c01c3aad9$c4a7eaf0$6401a8c0@SamVAIO600P> References: <005c01c3aad9$c4a7eaf0$6401a8c0@SamVAIO600P> Message-ID: <1068847191.3258.19.camel@nofx> El vie, 14-11-2003 a las 19:04, Sam Carter escribi?: > I've been asked to research how a software program could read an HTTP form, > fill in the input fields and submit. > > Anyone have a URL that describes the process? > > If PHP is an option, Simon Willison's HTTPClient class will do just that http://scripts.incutio.com/httpclient/ -- Manuel Gonz?lez Noriega Simplel?gica, construcci?n web @ http://simplelogica.net Logicola es el weblog de Simplel?gica http://simplelogica.net/logicola/ From spambait at onpointsolutions.com Fri Nov 14 16:52:42 2003 From: spambait at onpointsolutions.com (Bob Haroche) Date: Fri, 14 Nov 2003 14:52:42 -0800 Subject: [thelist] Copyright Infringement - Client Posted Website Using a Comp (prior to payment) References: <8CAA2F1AC7B96C43974814DD3D95EF982EF7D6@sfomail-01.granicusnt.granicus.com> Message-ID: <001d01c3ab02$0410f3d0$0100a8c0@monkey> Javier Muniz wrote: > Step 1. Hire a lawyer. > Step 2. Follow your lawyer's advice. I think that about covers it. At the risk of straying too far afield though, I think Tim's better/easier claim to make against the client is a demand for final payment per the contract. He did the work, they took it, they need to pay for it. After that, if I understand Tim correctly, the client would be entitled to own the work, so the copyright issue then becomes moot. IOW, why spend more time and money [1] chasing a copyright infringement claim when a garden variety breach of contract (unpaid account) claim is simpler to make and, in the end, gives Tim what he's entitled to under the parties' original contract. A copyright claim, by contrast, requires more elaborate proof and calculation of harm. This of course assumes Tim has a decent contract claim (ie, there was clear agreement re what the client was entitled to and when). In any event, though, a demand letter should of course address both claims. > once you involve a lawyer the other side tends to involve a lawyer > and both lawyers work together at wasting both of your money Not necessarily. That typically happens only when there are are high stakes (read $) involved. For a small matter like this, it's not uncommon for the other side to fold b/c they don't want to pay their lawyer what they otherwise could be paying the designer to settle the matter. Which brings us full circle: > Step 1. Hire a lawyer. > Step 2. Follow your lawyer's advice. [I know, I owe a tip]. --- [1] In the US obtaining a preliminary injunction like Javier suggests is not an easy or inexpensive proposition and often requires the plaintiff to post a bond as security. ------------- Regards, Bob Haroche O n P o i n t S o l u t i o n s www.OnPointSolutions.com From ron.luther at hp.com Fri Nov 14 16:55:36 2003 From: ron.luther at hp.com (Luther, Ron) Date: Fri, 14 Nov 2003 16:55:36 -0600 Subject: [thelist] Database Schema Suggestions Message-ID: <8958135993102D479F1CA2351F370A0606F1DDCF@cceexc17.americas.cpqcorp.net> Burhan Khalid asked: >> I'm having a bit of a problem trying to sort out how to store >>information in a database that does not have a defined size. An item >>that can have /n/ amount of properties/attributes for example. Hi Burhan, Interesting problem. I believe this usually comes up in cases where the attribute values (while perhaps variable by product) are fairly fixed in number and value. In that variation, I think this kind of thing comes up a lot in manufacturing (BOM) and commerce type apps. e.g. Product Table: SKU DESCRIPTION ---- ------------- 1352 HAT WITH EVOLT LOGO 1355 SHIRT WITH EVOLT LOGO Attribute Name Lookup Table: ATTRIBUTE_NO ATTRIBUTE_NAME ------------ -------------- 1 COLOR 2 SIZE 3 SLEEVE LENGTH Attribute Value Lookup Table: ATTRIBUTE_NO ATTRIBUTE_VALUE DESCRIP ------------ --------------- ------- 1 1 WHITE 1 2 BLACK 2 22 LARGE 2 23 LARGER 3 40 SHORT SLEEVE 3 41 LONG SLEEVE So a customer orders a new classy evolt wardrobe. The order can be stored in an order table, (probably separate header and detail tables), and the detailed information necessary to fulfill the order can be stored in a separate (multi-row per order line) 'features' table. [The multi-rows are (I think) easier to work with than comma lists.] >> What I'm trying to do is create an automatic form generation system >>for an event scheduling application. The administrator will create an >>event, and if that event requires registration, they would then create a >>registration form. The problem I'm having is how to structure the >>database so that I can store the form data ... specifically, any number >>of fields that the admin might want. It would be moot to limit the form >>to /x/ amount of fields. Your case is a little different since the values table may be less likely to have fixed entries. However, if you think of an event as a product, then I think the example still holds. If you're attribute values aren't "reuseable" from event to event you may have to add an event id to the attribute value table. Event #17 --- "Burhan - Live in Concert!" Attribute 1 - date Attribute 2 - location Attribute 3 - venue size (available number of tickets) Attribute 4 - # of ticket price levels Price level 1 -- $100 Price level 2 -- $250 Price level 3 -- $400 Sorry ... ran out of time to play with it. Hope this helps some! RonL. From marcan at home.se Fri Nov 14 17:30:25 2003 From: marcan at home.se (Marcus Andersson) Date: Sat, 15 Nov 2003 00:30:25 +0100 Subject: SV: [thelist] JS: onSubmit function seems to reset Select input? In-Reply-To: Message-ID: <025d01c3ab07$4841f9f0$0da8a8c0@marcusnb> > When I go to the first table row, and change the "Change > status to:" select to "Confirmed", and then click Submit, > suddenly the select gets reset to "Deleted". This didn't > happen before I added an onSubmit handler to the tag.. > Is this expected behavior? Ehhh, no. It's not expected behaviour. >Any way around it? It only has to work in IE (intranet project). The fix is very easy and it's all depending on a javascript bug. On line 43 in function TestDeletion you do an assignment (one =) in the if statement instead of an equality check (two ==) Change the line to if (document.forms[f].WhatToDo.selectedIndex == 4) and it should work as expected /Marcus From damiencola at wanadoo.fr Fri Nov 14 20:15:09 2003 From: damiencola at wanadoo.fr (Damien COLA) Date: Sat, 15 Nov 2003 03:15:09 +0100 Subject: SV: [thelist] JavaScript: trim function? [solved] In-Reply-To: <20031114195550.92028.qmail@web12601.mail.yahoo.com> Message-ID: <001a01c3ab1e$4cc25a80$0100a8c0@ELECTRA> here's the description of the principle : you have 24.3456 you multiply it by 100 ( = 2434.56 ) you ask for the integer with math.round() ( = 2434 ) you divid the result by 100 again (make sure you divide by 100.0 that is a FLOAT not an INTEGER, so the result will be a float) ( = 24.34 ) -----Original Message----- > function trimNumber(number, digits) { > return Math.round(number * Math.pow(10, digits)) / ((Math.pow(10, > digits) * 1.0)); > } This is perfect actually, since I need to do this on a few numbers not just one. (Not that I have a clue how it works..never was a math guy.) From beau at hartshorne.ca Sat Nov 15 00:41:32 2003 From: beau at hartshorne.ca (Beau Hartshorne) Date: Sat, 15 Nov 2003 01:41:32 -0500 Subject: [thelist] mySQL Query Trouble Message-ID: <000201c3ab43$82ab0370$6501a8c0@hartshorne> Hi all, I have a table structure set up something like this: employee ======== employee_id name pay_history =========== pay_history_id employee_id amount from_date thru_date timesheet ========= timesheet_id employee_id work_date hours The pay_history defines an employee's salary. The thru_date is the only field that can be null (in the case where the pay_history record is still active). A new pay_history record is assigned whenever an employee receives a raise, so one employee may have several pay_history records associated with them. An employee also has many timesheet records associated with them. I am trying to write a query that finds any individual timesheet records that have a work_date that falls outside of any pay_history record date range. I have been able to write a query that finds timesheet records that fall *within* all of the pay_history record date ranges, but not the other way around. I am using mySQL 4.0.15, so have access only to JOIN, UNION and TEMPORARY TABLEs. Here is the query that will find timesheet records *within* the pay_history record date ranges: SELECT timesheet.work_date AS work_date, timesheet.timesheet_id AS timesheet_id, employee.employee_id AS employee_id, employee.name AS name, pay_history.from_date AS from_date, pay_history.thru_date AS thru_date, FROM pay_history LEFT JOIN employee ON (pay_history.employee_id = employee.employee_id) LEFT JOIN timesheet ON (employee.employee_id = timesheet.employee_id) WHERE (pay_history.employee_id = 14) AND (timesheet.work_date >= '2003-01-01') AND (timesheet.work_date <= '2003-10-31') AND (timesheet.work_date >= pay_history.from_date) AND (timesheet.work_date <= pay_history.thru_date OR pay_history.thru_date IS NULL) I think if I had access to sub selects, something that would work would be: SELECT * FROM timesheet WHERE NOT IN( SELECT timesheet.work_date AS work_date, timesheet.timesheet_id AS timesheet_id, employee.employee_id AS employee_id, employee.name AS name, pay_history.from_date AS from_date, pay_history.thru_date AS thru_date, FROM pay_history LEFT JOIN employee ON (pay_history.employee_id = employee.employee_id) LEFT JOIN timesheet ON (employee.employee_id = timesheet.employee_id) WHERE (pay_history.employee_id = 14) AND (timesheet.work_date >= '2003-01-01') AND (timesheet.work_date <= '2003-10-31') AND (timesheet.work_date >= pay_history.from_date) AND (timesheet.work_date <= pay_history.thru_date OR pay_history.thru_date IS NULL)) Any insight anyone might have into this would be great!! Thanks, Beau From psm2713 at hotmail.com Sat Nov 15 07:40:39 2003 From: psm2713 at hotmail.com (Ken Moore) Date: Sat, 15 Nov 2003 06:40:39 -0700 Subject: [thelist] mySQL Query Trouble Message-ID: Hi all, Beau Hartshorne wrote: >I am trying to write a query that finds any individual timesheet records >that have a work_date that falls outside of any pay_history record date >range. This type of query can be much easier than it looks. Often the solution is to write the query that selects everything that you do not want - then negate it. Most of the time, selecting data is much easier than unselecting it. Ken _________________________________________________________________ Concerned that messages may bounce because your Hotmail account is over limit? Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es From liorean at f2o.org Sat Nov 15 09:00:28 2003 From: liorean at f2o.org (liorean) Date: Sat, 15 Nov 2003 16:00:28 +0100 Subject: SV: [thelist] JavaScript: trim function? [solved] In-Reply-To: <001a01c3ab1e$4cc25a80$0100a8c0@ELECTRA> References: <001a01c3ab1e$4cc25a80$0100a8c0@ELECTRA> Message-ID: <3FB63F8C.3070209@f2o.org> Damien COLA wrote: > (make sure you divide by 100.0 that is a FLOAT not an INTEGER, so the result will be a float) ( = 24.34 ) This is not necessary in JavaScript, as all numbers are internally represented as floating point numbers. -- liorean ViewStyles, ViewScripts, ToggleStyles and GraphicsInfo bookmarklets and Theme Switcher, Cookies Handler scripts: From jcbullas at nildram.co.uk Sat Nov 15 10:46:40 2003 From: jcbullas at nildram.co.uk (John C Bullas) Date: Sat, 15 Nov 2003 16:46:40 +0000 Subject: [thelist] Hotlinking htaccess problem to resolve In-Reply-To: <6.0.0.22.0.20031102144101.0241bc00@pop3.nildram.co.uk> References: <2204.69.28.224.53.1067303443.squirrel@intdev.darktech.org> <6.0.0.22.0.20031102144101.0241bc00@pop3.nildram.co.uk> Message-ID: <6.0.0.22.0.20031115164236.0248dfb0@pop3.nildram.co.uk> RewriteEngine on RewriteCond %{HTTP_REFERER} ^[http|nttp].*$ RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?fatblokeracing.org/.*$ [NC] RewriteRule \.(gif|jpg|jpeg|png)$ http://www.fatblokeracing.org/sharedimages/badimage.gif [R,L] anyone know how to modify this to allow ONLY my server (the host) and..... google to view the image as well? Sad that one lister told me what was wrong with the original request: but was unable to provide the right answer :( FB From fffrancis at fstorr.demon.co.uk Sat Nov 15 11:11:04 2003 From: fffrancis at fstorr.demon.co.uk (fstorr) Date: Sat, 15 Nov 2003 17:11:04 +0000 Subject: [thelist] JS add remove list items Message-ID: <3FB65E28.5090503@fstorr.demon.co.uk> Hi all I'm trying to replicate a very basic powerpoint type functionality in JavaScript. The idea is to have subject headings as bullet points that will appear when a "next" button is pressed. The page will start with no bullets showing. When a "previous" button is pressed, the last bullet item is removed. My JavaScript isn't by any means great, and I've got this far, but can't work out the rest. At the moment it just takes off/adds back the top one. I've also noticed an annoying bug in Moz1.5 where the bullet point isn;t replaced when the fist bullet point is put back in. Any help would be appreciated:
        • one
        • two
        • three
        • four

        change +

        change -

        function bullet(action) { var counter = document.getElementsByTagName("li"); for (i=0; i < counter.length; i++) { if (action == "add") { counter[i].style.display="block"; alert(counter[i].value); return; } else { counter[i].style.display="none"; alert(counter[i].value); return; } } } From marcan at home.se Sat Nov 15 11:46:24 2003 From: marcan at home.se (Marcus Andersson) Date: Sat, 15 Nov 2003 18:46:24 +0100 Subject: SV: [thelist] JS add remove list items In-Reply-To: <3FB65E28.5090503@fstorr.demon.co.uk> Message-ID: <000001c3aba0$63beedc0$0400a8c0@marcusnb> I would do something like the following (explanations in comments). Hope it helps. /Marcus /* * This functions finds out the last bullet that is visible */ function getLastVisible(bullets) { for(var i = 0 ; i < bullets.length ; i++) { if(bullets[i].style.display == "none") { return i - 1; } } // all is visible return bullets.length - 1; } /* * Shows or hides bullets in the list depending on the action */ function bullet(action) { // get all bullets var bullets = document.getElementsByTagName("li"); // get the index of the last visible bullet var lastVisible = getLastVisible(bullets); if (action == "add") { // Check to see that all bullets aren't visible if((lastVisible + 1) < bullets.length) { // Set display on the first non visible bullet. // That is the same as the last visible + 1 bullets[lastVisible + 1].style.display="block"; return; } } else { // Check to see that all bullets aren't hidden if(lastVisible >= 0) { // Hide the last visible bullet bullets[lastVisible].style.display="none"; return; } } } From fffrancis at fstorr.demon.co.uk Sat Nov 15 11:56:13 2003 From: fffrancis at fstorr.demon.co.uk (fstorr) Date: Sat, 15 Nov 2003 17:56:13 +0000 Subject: SV: [thelist] JS add remove list items In-Reply-To: <000001c3aba0$63beedc0$0400a8c0@marcusnb> References: <000001c3aba0$63beedc0$0400a8c0@marcusnb> Message-ID: <3FB668BD.9070201@fstorr.demon.co.uk> Marcus Andersson wrote: > I would do something like the following (explanations in comments). Hope > it helps. +++ Hi Marcus That's exactly what I was after, thanks. F From rick.good at shiesl.com Sat Nov 15 12:18:42 2003 From: rick.good at shiesl.com (Rick at Shiesl) Date: Sat, 15 Nov 2003 19:18:42 +0100 Subject: [thelist] Simply (?) ASP question Message-ID: Folk - I am trying to send a form to PayPal, but need to use ASP variables within the form. Presently I have: > > > The problem is that the "<% strMember %>" and "<% strMember_Amt %>" syntax is wrong. Does anyone know how to include an ASP variable here. Thanks greatly. Rick -- "If you tell me I'm sensible in addition to normal and wise, I'm going to punch you in the stomach. I'm as screwed up as the next person, and I like it that way." Imitation in Death, Page 257 by Nora Roberts writing as J. D. Robb From asegu at borg.darktech.org Sat Nov 15 12:42:12 2003 From: asegu at borg.darktech.org (Andrew Seguin) Date: Sat, 15 Nov 2003 13:42:12 -0500 (EST) Subject: [thelist] Simply (?) ASP question In-Reply-To: References: Message-ID: <4822.137.122.89.222.1068921732.squirrel@intdev.darktech.org> If I'm not mistaken: <%= variable %> would be what your looking for. Andrew > Folk - > > I am trying to send a form to PayPal, but need to use ASP variables within > the form. Presently I have: > > > > > > > > > > > > > > > > > The problem is that the "<% strMember %>" and "<% strMember_Amt %>" syntax > is wrong. Does anyone know how to include an ASP variable here. Thanks > greatly. Rick > > -- > "If you tell me I'm sensible in addition to normal and wise, I'm going to > punch you in the stomach. I'm as screwed up as the next person, and I like > it that way." Imitation in Death, Page 257 by Nora Roberts writing as J. > D. > Robb > > -- > * * 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 jcbullas at nildram.co.uk Sat Nov 15 12:44:13 2003 From: jcbullas at nildram.co.uk (John C Bullas) Date: Sat, 15 Nov 2003 18:44:13 +0000 Subject: [thelist] Simply (?) ASP question In-Reply-To: References: Message-ID: <6.0.0.22.0.20031115184119.024e89d8@pop3.nildram.co.uk> At 18:18 15/11/2003, Rick at Shiesl wrote >Folk - https://www.paypal.com/en_US/pdf/shopping_cart.pdf http://www.paypal.com/cgi-bin/webscr?cmd=p/pdn/how-to-outside#dynamic http://www.paypal.com/cgi-bin/webscr?cmd=p/pdn/news/index-outside does this help any? FB >I am trying to send a form to PayPal, but need to use ASP variables within >the form. Presently I have: > > > > > > > > > > > > > > >The problem is that the "<% strMember %>" and "<% strMember_Amt %>" syntax >is wrong. Does anyone know how to include an ASP variable here. Thanks >greatly. Rick From marcan at home.se Sat Nov 15 12:51:08 2003 From: marcan at home.se (Marcus Andersson) Date: Sat, 15 Nov 2003 19:51:08 +0100 Subject: SV: [thelist] Simply (?) ASP question In-Reply-To: <4822.137.122.89.222.1068921732.squirrel@intdev.darktech.org> Message-ID: <000101c3aba9$6ef5c890$0400a8c0@marcusnb> And I would also make sure to put quotes around <%= variable %> or your input fields won't look good according to markup standards. Example : /Marcus > -----Ursprungligt meddelande----- > Fr?n: thelist-bounces at lists.evolt.org > [mailto:thelist-bounces at lists.evolt.org] F?r Andrew Seguin > Skickat: den 15 november 2003 19:42 > Till: thelist at lists.evolt.org > ?mne: Re: [thelist] Simply (?) ASP question > > > If I'm not mistaken: > > <%= variable %> > > would be what your looking for. > > Andrew > > > Folk - > > > > I am trying to send a form to PayPal, but need to use ASP variables > > within the form. Presently I have: > > > > action="https://www.paypal.com/cgi-bin/webscr" method="get"> > > > > > > value="http://???.com/"> > > strMember %> > > > > strMember %> > > > > > strMember_Amt > > %> > > > > > > > > > > > The problem is that the "<% strMember %>" and "<% strMember_Amt %>" > > syntax is wrong. Does anyone know how to include an ASP > variable here. > > Thanks greatly. Rick > > > > -- > > "If you tell me I'm sensible in addition to normal and > wise, I'm going > > to punch you in the stomach. I'm as screwed up as the next > person, and > > I like it that way." Imitation in Death, Page 257 by Nora Roberts > > writing as J. D. Robb > > > > -- > > * * 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 ! From hassan at webtuitive.com Sat Nov 15 12:51:48 2003 From: hassan at webtuitive.com (Hassan Schroeder) Date: Sat, 15 Nov 2003 10:51:48 -0800 Subject: [thelist] Hotlinking htaccess problem to resolve In-Reply-To: <6.0.0.22.0.20031115164236.0248dfb0@pop3.nildram.co.uk> References: <2204.69.28.224.53.1067303443.squirrel@intdev.darktech.org> <6.0.0.22.0.20031102144101.0241bc00@pop3.nildram.co.uk> <6.0.0.22.0.20031115164236.0248dfb0@pop3.nildram.co.uk> Message-ID: <3FB675C4.7080803@webtuitive.com> John C Bullas wrote: > anyone know how to modify this to allow ONLY my server (the host) and..... > > google > > to view the image as well? Uh, I don't use mod_rewrite, so I can't help there, but won't your description of the "solution" also block, say, `www.google.co.uk`? Or is that the intention? -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. From kr43m0r at earthlink.net Sat Nov 15 12:56:03 2003 From: kr43m0r at earthlink.net (Lonnie) Date: Sat, 15 Nov 2003 12:56:03 -0600 Subject: [thelist] Simply (?) ASP question References: Message-ID: <001701c3abaa$1e567b40$6401a8c0@yoda> > I am trying to send a form to PayPal, but need to use ASP variables within > the form. Presently I have: > > > > > > > > > > > > > > > The problem is that the "<% strMember %>" and "<% strMember_Amt %>" syntax > is wrong. Does anyone know how to include an ASP variable here. Thanks > greatly. Rick Use the response.write shorthand and don't forget quotes: From jsWalter at torres.ws Sat Nov 15 13:31:37 2003 From: jsWalter at torres.ws (jsWalter) Date: Sat, 15 Nov 2003 13:31:37 -0600 Subject: [thelist] anyone know anything about this book? In-Reply-To: <20031106153454.GA19043@doxdesk.com> Message-ID: I found this reference, followed a few links, and found this book... HTML Utopia: Designing Without Tables Using CSS http://www.sitepoint.com/books/css1/toc.php Does anyone know anything about it? If so, is it worth $40? Thx Walter From jcbullas at nildram.co.uk Sat Nov 15 17:41:40 2003 From: jcbullas at nildram.co.uk (John C Bullas) Date: Sat, 15 Nov 2003 23:41:40 +0000 Subject: [thelist] Hotlinking htaccess problem to resolve In-Reply-To: <3FB675C4.7080803@webtuitive.com> References: <2204.69.28.224.53.1067303443.squirrel@intdev.darktech.org> <6.0.0.22.0.20031102144101.0241bc00@pop3.nildram.co.uk> <6.0.0.22.0.20031115164236.0248dfb0@pop3.nildram.co.uk> <3FB675C4.7080803@webtuitive.com> Message-ID: <6.0.0.22.0.20031115234120.02461900@pop3.nildram.co.uk> At 18:51 15/11/2003, you wrote >John C Bullas wrote: > >>anyone know how to modify this to allow ONLY my server (the host) and..... >>google >>to view the image as well? > >Uh, I don't use mod_rewrite, so I can't help there, but won't your >description of the "solution" also block, say, `www.google.co.uk`? >Or is that the intention? Nope and yes it would if I knew what the solution was ;) From dunstan at 1976design.com Sat Nov 15 18:51:03 2003 From: dunstan at 1976design.com (Dunstan Orchard) Date: Sun, 16 Nov 2003 00:51:03 +0000 Subject: [thelist] Are plain text urls picked up by search engine bots? Message-ID: <3FB6C9F7.7070305@1976design.com> Hi there, If I post a plain text url on a web page will it get picked up by the search engine bots out there? So will this: http://www.1976design.com/blog/ Be treated the same as this: http://www.1976design.com/blog/ In the scheme of things? I'm thinking of Google's treatment of links to sites, and wondering if it actually has to be an active link, or if the text alone is enough. I'm guessing it has to be an actual link, but I'd like some confirmation is possible. Thanks very much - Dunstan From demerss1 at msu.edu Sat Nov 15 18:52:46 2003 From: demerss1 at msu.edu (Scott DeMers) Date: Sat, 15 Nov 2003 19:52:46 -0500 Subject: [thelist] anyone know anything about this book? In-Reply-To: Message-ID: I have this book at work, and like most Web books, every piece of information in it is available on the Web somewhere for free. The question is, do you want to take the time to do all that surfing? In particular, I'd say the myriad of tutorials out there about css based layouts should make it easy to avoid buying this book. Here is a link to get you started: http://www.positioniseverything.net/ And check out this site for excellent real world examples: www.csszengarden.com Scott -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org]On Behalf Of jsWalter Sent: Saturday, November 15, 2003 2:32 PM To: thelist at lists.evolt.org Subject: [thelist] anyone know anything about this book? I found this reference, followed a few links, and found this book... HTML Utopia: Designing Without Tables Using CSS http://www.sitepoint.com/books/css1/toc.php Does anyone know anything about it? If so, is it worth $40? Thx Walter -- * * 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 jabber at raditha.com Sat Nov 15 23:23:48 2003 From: jabber at raditha.com (Raditha Dissanayake) Date: Sun, 16 Nov 2003 11:23:48 +0600 Subject: [thelist] Are plain text urls picked up by search engine bots? In-Reply-To: <3FB6C9F7.7070305@1976design.com> References: <3FB6C9F7.7070305@1976design.com> Message-ID: <3FB709E4.6010308@raditha.com> Hi, I could be wrong here, but my opinion is that google will follow these links but they do not make any contributions to page rank. Dunstan Orchard wrote: > Hi there, > > If I post a plain text url on a web page will it get picked up by the > search engine bots out there? > > So will this: > > http://www.1976design.com/blog/ > > Be treated the same as this: > > title="">http://www.1976design.com/blog/ > > In the scheme of things? > > I'm thinking of Google's treatment of links to sites, and wondering if > it actually has to be an active link, or if the text alone is enough. > > I'm guessing it has to be an actual link, but I'd like some > confirmation is possible. > > Thanks very much - Dunstan > > -- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar. From jcbullas at nildram.co.uk Sun Nov 16 02:23:08 2003 From: jcbullas at nildram.co.uk (John C Bullas) Date: Sun, 16 Nov 2003 08:23:08 +0000 Subject: [thelist] Redirect user agent to warning page Message-ID: <6.0.0.22.0.20031116081636.023d78c8@pop3.nildram.co.uk> OK, I want to redirect any attempted access by a Useragent called Web Downloader to just one URL everytime they access the site! Our 272 page site is being downloaded almost every night!!!!!! Something like........ if(useragent.indexOf('Web Downloader')) { document.location=('http://www.ime.org.uk/dont_download_the_entire_site_you_muppet.html') } But in "real words" and that can sit in .htaccess in root! FB From jabber at raditha.com Sun Nov 16 05:44:29 2003 From: jabber at raditha.com (Raditha Dissanayake) Date: Sun, 16 Nov 2003 17:44:29 +0600 Subject: [thelist] Redirect user agent to warning page In-Reply-To: <6.0.0.22.0.20031116081636.023d78c8@pop3.nildram.co.uk> References: <6.0.0.22.0.20031116081636.023d78c8@pop3.nildram.co.uk> Message-ID: <3FB7631D.7010009@raditha.com> Hi, What you are trying to do will not work because almost all downloaders can change their identity very easily. If you want to go ahead with it anyway you might want to refer to the Apache Url Rewriting guide which has a couple of example that deals with serving different responses to different browsers. A better approach might be for you to indentify this particular users ip or network and block access to that ip. This can also be done with url rewrites. If you are lucky the downloader reffered to might be well written and might actually obey the robots.txt file. If it does this might be the simplest approach. John C Bullas wrote: > OK, I want to redirect any attempted access by a Useragent > called Web Downloader to just one URL everytime they access the site! > > Our 272 page site is being downloaded almost every night!!!!!! > > Something like........ > > if(useragent.indexOf('Web Downloader')) { > > document.location=('http://www.ime.org.uk/dont_download_the_entire_site_you_muppet.html') > > } > > But in "real words" and that can sit in .htaccess in root! > > FB -- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar. From hershelr at netvision.net.il Sun Nov 16 06:27:51 2003 From: hershelr at netvision.net.il (Hershel Robinson) Date: Sun, 16 Nov 2003 07:27:51 -0500 Subject: [thelist] Remote Scripting Message-ID: <000601c3ac3d$0e583470$0300000a@hershel2000> I am interested in learning more about Remote Scripting. I have always updated web pages dynamically via what is known as 'hidden CGI' using an IFRAME. I also update the server this way (with new data) without changing the web page. I understand that Remote Scripting can make this process smoother and perhaps more automated and transparent to the user. I also understand that it is inherently ASP-based. I am working on an IE6-only site and a Windows server so MS issues should not present any problems. Can anyone confirm or deny the above and either way, can anyone point me in the direction of a good introduction (a URL) to this technology? Thanks, Hershel From jcbullas at nildram.co.uk Sun Nov 16 08:12:48 2003 From: jcbullas at nildram.co.uk (John C Bullas) Date: Sun, 16 Nov 2003 14:12:48 +0000 Subject: [thelist] Redirect user agent to warning page In-Reply-To: <3FB7631D.7010009@raditha.com> References: <6.0.0.22.0.20031116081636.023d78c8@pop3.nildram.co.uk> <3FB7631D.7010009@raditha.com> Message-ID: <6.0.0.22.0.20031116141033.023fd380@pop3.nildram.co.uk> At 11:44 16/11/2003, you wrote >Hi, > >What you are trying to do will not work because almost all downloaders can >change their identity very easily. If you want to go ahead with it anyway >you might want to refer to the Apache Url Rewriting guide which has a >couple of example that deals with serving different responses to different >browsers. > >A better approach might be for you to indentify this particular users ip >or network and block access to that ip. This can also be done with url >rewrites. Of course!!!!! I already use: order allow,deny allow from all deny from 12.xx.xxx.62 #www.lalalalalal.com to block access on one site and deliver a custom 401 error page thanks John >If you are lucky the downloader reffered to might be well written and >might actually obey the robots.txt file. If it does this might be the >simplest approach. From pixelmech at yahoo.com Sun Nov 16 08:28:25 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Sun, 16 Nov 2003 06:28:25 -0800 (PST) Subject: [thelist] worm? Message-ID: <20031116142825.71734.qmail@web12608.mail.yahoo.com> In my attempts to track down this odd popup I've mentioned, I had ZoneAlarm block this this morning: bundle.exe it is in the folder: C:\WINDOWS\Prefetch as an archive (.pf) which a bunch of other stuff. Then in C:\Documents and Settings\Owner\Local Settings\Temp is the bundle.exe file that seems to run on startup..anyone have any idea? Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From jcbullas at nildram.co.uk Sun Nov 16 08:41:52 2003 From: jcbullas at nildram.co.uk (John C Bullas) Date: Sun, 16 Nov 2003 14:41:52 +0000 Subject: [thelist] worm? In-Reply-To: <20031116142825.71734.qmail@web12608.mail.yahoo.com> References: <20031116142825.71734.qmail@web12608.mail.yahoo.com> Message-ID: <6.0.0.22.0.20031116143859.0240a938@pop3.nildram.co.uk> At 14:28 16/11/2003, you wrote >In my attempts to track down this odd popup I've mentioned, I had >ZoneAlarm block this this morning: > >bundle.exe > >it is in the folder: > >C:\WINDOWS\Prefetch http://vil.nai.com/vil/content/v_99786.htm http://www.sophos.com/virusinfo/analyses/w32ororb.html http://vil.nai.com/vil/content/Print99786.htm Is this the baby? You got an un to date AV package, it should be picked up by it!!! >as an archive (.pf) which a bunch of other stuff. Then in > >C:\Documents and Settings\Owner\Local Settings\Temp > >is the bundle.exe file that seems to run on startup..anyone have any >idea? > >Tom From headlemur at lemurzone.com Sun Nov 16 08:56:05 2003 From: headlemur at lemurzone.com (the head lemur) Date: Sun, 16 Nov 2003 07:56:05 -0700 Subject: [thelist] worm? References: <20031116142825.71734.qmail@web12608.mail.yahoo.com> Message-ID: <000701c3ac51$c58bae60$0200a8c0@ph.cox.net> > In my attempts to track down this odd popup I've mentioned, I had > ZoneAlarm block this this morning: > bundle.exe http://www.computing.net/windows95/wwwboard/forum/149999.html > is the bundle.exe file that seems to run on startup..anyone have any > idea? http://securityresponse.symantec.com/avcenter/venc/data/pf/adware.sahagent.html Here Ya go. hope these help the head lemur News: http://www.lemurzone.com/news/ Interviews: http://www.lemurzone.com/pixelview/ blog: http://theheadlemur.typepad.com/ Community: http://www.evolt.org From jabber at raditha.com Sun Nov 16 10:05:24 2003 From: jabber at raditha.com (Raditha Dissanayake) Date: Sun, 16 Nov 2003 22:05:24 +0600 Subject: [thelist] Redirect user agent to warning page In-Reply-To: <6.0.0.22.0.20031116141033.023fd380@pop3.nildram.co.uk> References: <6.0.0.22.0.20031116081636.023d78c8@pop3.nildram.co.uk> <3FB7631D.7010009@raditha.com> <6.0.0.22.0.20031116141033.023fd380@pop3.nildram.co.uk> Message-ID: <3FB7A044.6080200@raditha.com> Awright, sorry for making too many assumptions. John C Bullas wrote: > At 11:44 16/11/2003, you wrote > >> Hi, >> >> What you are trying to do will not work because almost all >> downloaders can change their identity very easily. If you want to go >> ahead with it anyway you might want to refer to the Apache Url >> Rewriting guide which has a couple of example that deals with serving >> different responses to different browsers. >> >> A better approach might be for you to indentify this particular users >> ip or network and block access to that ip. This can also be done with >> url rewrites. > > > Of course!!!!! I already use: > > > order allow,deny > allow from all > deny from 12.xx.xxx.62 #www.lalalalalal.com > > > to block access on one site and deliver a custom 401 error page thanks > > John > > >> If you are lucky the downloader reffered to might be well written and >> might actually obey the robots.txt file. If it does this might be the >> simplest approach. > > -- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar. From jcbullas at nildram.co.uk Sun Nov 16 10:03:51 2003 From: jcbullas at nildram.co.uk (John C Bullas) Date: Sun, 16 Nov 2003 16:03:51 +0000 Subject: [thelist] Redirect user agent to warning page In-Reply-To: <3FB7631D.7010009@raditha.com> References: <6.0.0.22.0.20031116081636.023d78c8@pop3.nildram.co.uk> <3FB7631D.7010009@raditha.com> Message-ID: <6.0.0.22.0.20031116155029.024691d0@pop3.nildram.co.uk> At 11:44 16/11/2003, Raditha Dissanayake wrote >Hi, > >What you are trying to do will not work because almost all downloaders can >change their identity very easily. If you want to go ahead with it anyway >you might want to refer to the Apache Url Rewriting guide which has a >couple of example that deals with serving different responses to different >browsers. > >A better approach might be for you to indentify this particular users ip >or network and block access to that ip. This can also be done with url >rewrites. > >If you are lucky the downloader reffered to might be well written and >might actually obey the robots.txt file. If it does this might be the >simplest approach. OK, I set up a custom 401 page in /401/ directory I want to block is /ime/ down from root .htaccess deny gives a server generated 401 error when a blocked IP tries to access this diectory..... BUT Not my custom one in /401/401.php why would this be? The .htaccess file in /ime/ has ErrorDocument 401 401/401.php order allow,deny allow from all deny from 82.133.113.185 #nildram.co.uk test in it AND it blocks my IP!!! it just won't use my custom 401 page in /401/ off root FB Resolution? From jcbullas at nildram.co.uk Sun Nov 16 10:06:44 2003 From: jcbullas at nildram.co.uk (John C Bullas) Date: Sun, 16 Nov 2003 16:06:44 +0000 Subject: [thelist] Redirect user agent to warning page In-Reply-To: <3FB7A044.6080200@raditha.com> References: <6.0.0.22.0.20031116081636.023d78c8@pop3.nildram.co.uk> <3FB7631D.7010009@raditha.com> <6.0.0.22.0.20031116141033.023fd380@pop3.nildram.co.uk> <3FB7A044.6080200@raditha.com> Message-ID: <6.0.0.22.0.20031116160541.0245f360@pop3.nildram.co.uk> At 16:05 16/11/2003, you wrote >Awright, sorry for making too many assumptions. >> >> >>Of course!!!!! I already use: No, not your fault! your post only reminded me I used on another site!!!! It is NOT is use on the site we are talking about..... John >> >>order allow,deny >>allow from all >>deny from 12.xx.xxx.62 #www.lalalalalal.com >> >> >>to block access on one site and deliver a custom 401 error page thanks >> >>John From jabber at raditha.com Sun Nov 16 10:15:15 2003 From: jabber at raditha.com (Raditha Dissanayake) Date: Sun, 16 Nov 2003 22:15:15 +0600 Subject: [thelist] Redirect user agent to warning page In-Reply-To: <6.0.0.22.0.20031116155029.024691d0@pop3.nildram.co.uk> References: <6.0.0.22.0.20031116081636.023d78c8@pop3.nildram.co.uk> <3FB7631D.7010009@raditha.com> <6.0.0.22.0.20031116155029.024691d0@pop3.nildram.co.uk> Message-ID: <3FB7A293.8000909@raditha.com> Hi, It could be because on certain configurations the error documents are delivered from a directory outside the htdocs, if you look at your error log file you will see some messages related to errordocument. That will help you diagnose and fix the problem. all the best John C Bullas wrote: > At 11:44 16/11/2003, Raditha Dissanayake wrote > >> Hi, >> >> What you are trying to do will not work because almost all >> downloaders can change their identity very easily. If you want to go >> ahead with it anyway you might want to refer to the Apache Url >> Rewriting guide which has a couple of example that deals with serving >> different responses to different browsers. >> >> A better approach might be for you to indentify this particular users >> ip or network and block access to that ip. This can also be done with >> url rewrites. >> >> If you are lucky the downloader reffered to might be well written and >> might actually obey the robots.txt file. If it does this might be the >> simplest approach. > > > OK, I set up a custom 401 page in /401/ > > directory I want to block is > > /ime/ down from root > > .htaccess deny gives a server generated 401 error > when a blocked IP tries to access this diectory..... > > BUT Not my custom one in /401/401.php > > why would this be? > > The .htaccess file in /ime/ > > has > > ErrorDocument 401 401/401.php > > order allow,deny > allow from all > deny from 82.133.113.185 #nildram.co.uk test > > > in it AND it blocks my IP!!! > > it just won't use my custom 401 page in /401/ off root > > FB > > Resolution? -- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar. From jcbullas at nildram.co.uk Sun Nov 16 10:38:16 2003 From: jcbullas at nildram.co.uk (John C Bullas) Date: Sun, 16 Nov 2003 16:38:16 +0000 Subject: [thelist] Redirect user agent to warning page In-Reply-To: <3FB7A293.8000909@raditha.com> References: <6.0.0.22.0.20031116081636.023d78c8@pop3.nildram.co.uk> <3FB7631D.7010009@raditha.com> <6.0.0.22.0.20031116155029.024691d0@pop3.nildram.co.uk> <3FB7A293.8000909@raditha.com> Message-ID: <6.0.0.22.0.20031116163719.023b49e8@pop3.nildram.co.uk> At 16:15 16/11/2003, you wrote >Hi, >It could be because on certain configurations the error documents are >delivered from a directory outside the htdocs, if you look at your error >log file you will see some messages related to errordocument. That will >help you diagnose and fix the problem. INFO: a custom 404 line in .htaccess in the root works for the whole site!!! would 401s be different? John From cs1spw at bath.ac.uk Sun Nov 16 12:53:51 2003 From: cs1spw at bath.ac.uk (Simon Willison) Date: Sun, 16 Nov 2003 12:53:51 -0600 Subject: [thelist] Remote Scripting In-Reply-To: <000601c3ac3d$0e583470$0300000a@hershel2000> References: <000601c3ac3d$0e583470$0300000a@hershel2000> Message-ID: <3FB7C7BF.4090801@bath.ac.uk> Hershel Robinson wrote: > I understand that Remote Scripting can make this process smoother and > perhaps more automated and transparent to the user. I also understand that > it is inherently ASP-based. I am working on an IE6-only site and a Windows > server so MS issues should not present any problems. Remote scripting isn't inherently ASP based, and it works just fine on non-Microsoft platforms depending on the approach you use. A good starting URL is here: http://www.ashleyit.com/rs/ From hershelr at netvision.net.il Sun Nov 16 13:16:52 2003 From: hershelr at netvision.net.il (Hershel Robinson) Date: Sun, 16 Nov 2003 14:16:52 -0500 Subject: [thelist] Remote Scripting In-Reply-To: <3FB7C7BF.4090801@bath.ac.uk> Message-ID: <002601c3ac76$318787f0$0300000a@hershel2000> > Remote scripting isn't inherently ASP based, and it works > just fine on > non-Microsoft platforms depending on the approach you use. A good > starting URL is here: http://www.ashleyit.com/rs/ Very interesting. All he has there is a URL to Microshaft's remote scripting and then his own JSRS. His system, however, looks like nothing more than what is known as 'hidden CGI' i.e. regular HTTP communications via a hidden iframe object. This is what I already do. :) Thank you anyhow. Hershel From pixelmech at yahoo.com Sun Nov 16 14:24:12 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Sun, 16 Nov 2003 12:24:12 -0800 (PST) Subject: [thelist] security strategy - is mine flawed? Message-ID: <20031116202412.42378.qmail@web12605.mail.yahoo.com> Hi, Relating to my last post, I'm wondering if I am missing something in my security strategy. I seem to occasionally get these ad worms which is really annoying. Here is what I have going: 1 - ZoneAlarm as my firewall 2 - NAV, completely updated 3 - I *Never* install any of those Kazaa like garbage. I do not have the Win firewall on, but should I? Some people advocate disabling ActiveX altogether. But what effect would this have on my system for things I *DO* want to run? Thanks Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From tonyc at boldfish.co.uk Sun Nov 16 15:43:26 2003 From: tonyc at boldfish.co.uk (Tony Crockford) Date: Sun, 16 Nov 2003 21:43:26 -0000 Subject: [thelist] security strategy - is mine flawed? In-Reply-To: <20031116202412.42378.qmail@web12605.mail.yahoo.com> References: <20031116202412.42378.qmail@web12605.mail.yahoo.com> Message-ID: On Sun, 16 Nov 2003 12:24:12 -0800 (PST), Tom Dell'Aringa wrote: > 1 - ZoneAlarm as my firewall > 2 - NAV, completely updated > 3 - I *Never* install any of those Kazaa like garbage. > > I do not have the Win firewall on, but should I? Some people advocate > disabling ActiveX altogether. But what effect would this have on my > system for things I *DO* want to run? > > Thanks > > Tom Tom, For one reason and another I moved away from Norton (too expensive and not always updated quickly enough) and Zonealarm (I upgraded to a version that kept crashing win2k) I'm now using Computer Associates EZ Antivirus which has unattended updates and seems to be faster at spotting a virus, and Sygate Personal firewall Pro because it stopped the most attempts at getting onto my machine and allowed me to *permit* outgoing access one application at a time. In the last two years of using these the only problems I've seen were when I did a fresh install of winXP on a new laptop and ventured onto the net for updates without protection - wham, instant blaster worm, which was picked up, the instant I connected the laptop to the network, by Sygate reporting an intrusion attempt from the IP address I'd just assigned to the laptop! Others will advise a hardware firewall I'm sure, but the combination of Sygate and EZAV (on realtime monitoring) have worked very well for me. HTH Tony From thelist at meidomus.com Sun Nov 16 15:42:28 2003 From: thelist at meidomus.com (Burhan Khalid) Date: Mon, 17 Nov 2003 00:42:28 +0300 Subject: [thelist] security strategy - is mine flawed? In-Reply-To: <20031116202412.42378.qmail@web12605.mail.yahoo.com> References: <20031116202412.42378.qmail@web12605.mail.yahoo.com> Message-ID: <3FB7EF44.40609@meidomus.com> Tom Dell'Aringa wrote: > Hi, > > Relating to my last post, I'm wondering if I am missing something in > my security strategy. I seem to occasionally get these ad worms which > is really annoying. Here is what I have going: > > 1 - ZoneAlarm as my firewall > 2 - NAV, completely updated > 3 - I *Never* install any of those Kazaa like garbage. Run Mozilla -- sometimes, progams can hijack IE settings and cause strange things to happen. Also you didn't mention programs like Ad-Aware, which are great for weeding out unwanted guests on your computer. I know once I made Mozilla my primary browser (not my default browser), incidents like what you describe were reduced to almost nil. Also, Mozilla's mail reader seems to be immune to all those pesky Outlook-specific worms. Other good ones are The Bat ( http://www.ritlabs.com ) and Pegasus. If you run any "sponsored" software -- they might install programs without your knowledge. hth, -- Burhan Khalid thelist[at]meidomus[dot]com http://www.meidomus.com ----------------------- "Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing." From lists at echozone.com Sun Nov 16 16:01:30 2003 From: lists at echozone.com (Elly) Date: Sun, 16 Nov 2003 14:01:30 -0800 Subject: [thelist] css margins in IE 5 PC Message-ID: <6F27C88E-1880-11D8-B8EB-000A277AC0D4@echozone.com> I'd like to check if there's an issue with IE 5 PC completely breaking with margin-left: 20%; margin-right: 20% in a p tag. I while age on another site, I had an end user reporting that IE 5 saw this same tag, cause the text in the p tag not wrap at all, breaking the whole layout to expand many horizontal screens. I can only test older browsers on Macs, and this displays fine on various older versions of IE Mac. I'm still using tables, and this p tag is also inside a td. Using HTML 4.01 Transitional doctype in quirks mode (excluding url). In the style sheet, I have: p.narrow { margin-left: 20%; margin-right: 20%; text-align: justify;} If someone has the capability to check in any versions of IE 5 PC, you can check this at: http://echozone.com/orncc/ I'd much appreciate this, and if this breaks, I would love to hear advice on a workaround. I had searched the archives, and could not find this specific issue. Thanks! Elly ------------------------ http://echozone.com From noah at tookish.net Sun Nov 16 16:25:14 2003 From: noah at tookish.net (noah) Date: Sun, 16 Nov 2003 17:25:14 -0500 Subject: [thelist] css margins in IE 5 PC In-Reply-To: <6F27C88E-1880-11D8-B8EB-000A277AC0D4@echozone.com> References: <6F27C88E-1880-11D8-B8EB-000A277AC0D4@echozone.com> Message-ID: <6.0.0.22.0.20031116172216.02a3ae80@tookish.net> At 05:01 PM 16/11/2003, Elly wrote: >I'd like to check if there's an issue with IE 5 PC completely breaking >with margin-left: 20%; margin-right: 20% in a p tag. > >I while age on another site, I had an end user reporting that IE 5 saw >this same tag, cause the text in the p tag not wrap at all, breaking the >whole layout to expand many horizontal screens. Looks fine here -- it wraps the same way in IE 5.01 as in Moz, IE 6, IE 5.5, Opera. (WinXP Pro) Cheers, Noah From jcbullas at nildram.co.uk Sun Nov 16 16:27:28 2003 From: jcbullas at nildram.co.uk (John C Bullas) Date: Sun, 16 Nov 2003 22:27:28 +0000 Subject: [thelist] security strategy In-Reply-To: References: <20031116202412.42378.qmail@web12605.mail.yahoo.com> Message-ID: <6.0.0.22.0.20031116222140.02454848@pop3.nildram.co.uk> > >Tom, > >For one reason and another I moved away from Norton (too expensive and not >always updated quickly enough) and Zonealarm (I upgraded to a version that >kept crashing win2k) > >I'm now using Computer Associates EZ Antivirus which has unattended >updates and seems to be faster at spotting a virus, and Sygate Personal I use McAfee Virusscan 4.5.1, it does just this ( plus incoming email, download and web scan) and you can set multiple FTP download sites to be used sequentially in case one is down too.... >firewall Pro because it stopped the most attempts at getting onto my >machine and allowed me to *permit* outgoing access one application at a As does the free Zone Alarm (set it to allow every attempt at access or allow them one at a time, and set custom "allows" for DNS etc .... I'm running the latest version totally successfully with Win 2k SP3, or whatever is the latest one?) Plus a hardware firewall via my ADSL router :) NB: what sort of hostile traffic have you intercepted that has not resulted form a worm infestation or spyware? >time. From pixelmech at yahoo.com Sun Nov 16 16:38:37 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Sun, 16 Nov 2003 14:38:37 -0800 (PST) Subject: [thelist] security strategy - is mine flawed? In-Reply-To: <3FB7EF44.40609@meidomus.com> Message-ID: <20031116223837.64448.qmail@web12602.mail.yahoo.com> --- Burhan Khalid wrote: > Run Mozilla -- sometimes, progams can hijack IE settings and cause > strange things to happen. Also you didn't mention programs like > Ad-Aware, which are great for weeding out unwanted guests on your > computer. I know once I made Mozilla my primary browser (not my > default browser), incidents like what you describe were reduced to > almost nil. I forgot to mention, I do indeed use Ad-aware and Spybot. I've tried a few times to make Mozilla and/or Firebird my primary browser. I can't seem to get used to either. I always end up having some problem it seems. Maybe I should try harder. > Also, Mozilla's mail reader seems to be immune to all those pesky > Outlook-specific worms. Other good ones are The Bat ( > http://www.ritlabs.com ) and Pegasus. I use only Yahoo! for email, so not a problem there. > If you run any "sponsored" software -- they might install programs > without your knowledge. True, but I don't :) Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From pixelmech at yahoo.com Sun Nov 16 16:40:24 2003 From: pixelmech at yahoo.com (Tom Dell'Aringa) Date: Sun, 16 Nov 2003 14:40:24 -0800 (PST) Subject: [thelist] security strategy - is mine flawed? In-Reply-To: Message-ID: <20031116224024.622.qmail@web12601.mail.yahoo.com> --- Tony Crockford wrote: > Sygate Personal firewall Pro ...allowed me to *permit* outgoing > access one application at a time. ZoneAlarm does that though, the first time anything attempts to reach outside it asks for permission first - and if that app changes it asks again. But maybe this doesn't catch everything... ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) From dianesoini at earthlink.net Sun Nov 16 17:44:57 2003 From: dianesoini at earthlink.net (Diane Soini) Date: Sun, 16 Nov 2003 15:44:57 -0800 Subject: [thelist] robots.txt In-Reply-To: <200311160405.1allFc2Cc3NZFlq0@merlin> Message-ID: How well is the robots.txt file obeyed? From joshua at waetech.com Sun Nov 16 17:57:40 2003 From: joshua at waetech.com (Joshua Olson) Date: Sun, 16 Nov 2003 18:57:40 -0500 Subject: [thelist] Best SERVER Software Firewall Message-ID: <09c101c3ac9d$6b861c60$0300a8c0@client1> Hi gang, The thread about the personal firewall got me thinking. I'm looking at some dedicated hosting at a place and they offer separate hardware based firewall options. The HW FW option is quite expensive and I'm hoping to find an alternative. I talked with them and they say they usually tweak MS Windows 2003's internal settings to block out unwanted traffic and they said it works well. A couple windows guru's I recently spoke to said that there's no good way for Windows to natively firewall itself. How about some of these personal firewalls, zone alarm, etc? Are any of them good enough/fast enough to be viable on a web server? What about if the webserver is behind a decent size pipe (eg, 5-10 mbit)? Thanks. <><><><><><><><><><> Joshua Olson Web Application Engineer WAE Tech Inc. http://www.waetech.com 706.210.0168 From harvester at lists.evolt.org Sun Nov 16 18:00:23 2003 From: harvester at lists.evolt.org (harvester at lists.evolt.org) Date: 17 Nov 2003 00:00:23 -0000 Subject: [thelist] Tip Harvest for the Week of Monday Nov 10, 2003 Message-ID: <20031117000023.12590.qmail@acornparenting.org> The tip harvest for the Week of Monday Nov 10, 2003 has been added to the lists.evolt.org site. Get it at: http://lists.evolt.org/harvest/show.cgi?w=20031110 Week at a glance listing at: http://lists.evolt.org/harvest/week.cgi?w=20031110 Harvest Summary --------------- Number of messages: 359 Number of tips : 6 Tip Authors ----------- John Brooking (2) Joshua Olson (2) Michael Pemberton (1) Paul Bennett (1) Tip Types --------- crypt, htpasswd, and security (1) Noise Reduction (1) SSL (1) stopping browser / server cache (1) Unclassified (1) Useful Windows Tools (1) From tonyc at boldfish.co.uk Sun Nov 16 18:21:57 2003 From: tonyc at boldfish.co.uk (Tony Crockford) Date: Mon, 17 Nov 2003 00:21:57 -0000 Subject: [thelist] robots.txt In-Reply-To: References: Message-ID: On Sun, 16 Nov 2003 15:44:57 -0800, Diane Soini wrote: > How well is the robots.txt file obeyed? This might help with the answer: http://www.fleiner.com/bots/ ;o) Tony From ken at adOpenStatic.com Sun Nov 16 18:23:54 2003 From: ken at adOpenStatic.com (Ken Schaefer) Date: Mon, 17 Nov 2003 11:23:54 +1100 Subject: [thelist] Best SERVER Software Firewall References: <09c101c3ac9d$6b861c60$0300a8c0@client1> Message-ID: <00cd01c3aca1$47f693c0$0a345e81@careersAD.unsw.edu.au> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: "Joshua Olson" Subject: [thelist] Best SERVER Software Firewall : The thread about the personal firewall got me thinking. I'm : looking at some dedicated hosting at a place and they offer : separate hardware based firewall options. The HW FW option : is quite expensive and I'm hoping to find an alternative. I talked : with them and they say they usually tweak MS Windows : 2003's internal settings to block out unwanted traffic and :they said it works well. A couple windows guru's I recently : spoke to said that there's no good way for Windows to natively : firewall itself. How about some of these personal firewalls, : zone alarm, etc? Are any of them good enough/fast : enough to be viable on a web server? What about if the : webserver is behind a decent size pipe (eg, 5-10 mbit)? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Who are these "Windows Gurus" that you have spoken to, and what was the exact question/answer (and context)? IPSec, for example, is supported in Windows 2000 and Windows 2003, and can give you very good protection (barring possible vulnerabilities in the implementation), so whoever told you that there's "no good way" is either qualifying their comments, or doesn't know what they're talking about (an example of a qualification would be that IPSec isn't a firewall in a literal sense). Windows Server 2003 also comes with the built-in ICF as well, which, again, may be "good enough" for you (though I would look at IPSec first). Personally, I feel that the common SOHO type"Personal" software firewalls (eg ZoneAlarm) do not give you enough flexibility to be able to configure them appropriately for a server (given that you want to open a number of ports). Most are designed for people who need to secure a client machine (ie not allow incoming connections, but allow some applications outbound access to the 'net). A lot don't give you much granularity either (for example, you can specify that your email app can go out onto the 'net, but you can't say that: - email app can connect to pop3.myDomain.com port 110 - email app can connect to smtp.myDomain.com port 25 - deny access to everything else (eg everything port 80 to stop web-bugs embedded in HTML mail) You need to look at the more sophisticated products (though still "Personal" products), such as Sygate's product (www.sygate.com), Kerio's Personal Firewall product (not supported on Windows 2003 Server yet) (www.kerio.com) or Tiny Software's (www.tinysoftware.com/) firewall product. Each of these allows you to nominate an application/executable, and which IP addresses/subnets can access (or are barred access) to which local and remote ports, for which protocol (UDP/TCP/ICMP) inbound and or outbound. That said, I believe that a separate hardware device (whether dedicated like a Cisco PIX, or application layer like Microsoft's ISA server) provides a more robust, and secure environment (however you need to weigh up whether you can afford the cost!) HTH Cheers Ken Microsoft MVP - Windows Server (IIS) From tonyc at boldfish.co.uk Sun Nov 16 18:27:11 2003 From: tonyc at boldfish.co.uk (Tony Crockford) Date: Mon, 17 Nov 2003 00:27:11 -0000 Subject: [thelist] robots.txt In-Reply-To: References: Message-ID: On Sun, 16 Nov 2003 15:44:57 -0800, Diane Soini wrote: > How well is the robots.txt file obeyed? http://diveintomark.org/archives/2003/02/26/how_to_block_spambots_ban_spybots_and_tell_unwanted_robots_to_go_to_hell And this might help too, sorry - it was the next link unfollowed before I hit send.... hth Tony From joshua at waetech.com Sun Nov 16 19:31:24 2003 From: joshua at waetech.com (Joshua Olson) Date: Sun, 16 Nov 2003 20:31:24 -0500 Subject: [thelist] Best SERVER Software Firewall References: <09c101c3ac9d$6b861c60$0300a8c0@client1> <00cd01c3aca1$47f693c0$0a345e81@careersAD.unsw.edu.au> Message-ID: <09c701c3acaa$839edc30$0300a8c0@client1> ----- Original Message ----- From: "Ken Schaefer" Sent: Sunday, November 16, 2003 7:23 PM Ken, Thank you for your responses. > Who are these "Windows Gurus" that you have spoken to, and what was the > exact question/answer (and context)? I don't think the names would mean anything to you. The context was actually when discussing using something like Zone Alarm vs configuring Windows to perform the same actions. They basically said that using the Windows settings for filtering (or whatever other tools came with the OS that I may not know) are not a good substitute for a hardware solution or even a software solution such as Zone Alarm. > IPSec, for example, is supported in Windows 2000 and Windows 2003, and can > give you very good protection (barring possible vulnerabilities in the > implementation), so whoever told you that there's "no good way" is either > qualifying their comments, or doesn't know what they're talking about (an > example of a qualification would be that IPSec isn't a firewall in a literal > sense). IPSec is used for encryption of the IP Packet and is used primary for tunnelling, is it not? If I'm right and IPSec is for encryption, then it's not applicable in this case. If I'm misunderstanding IPSec, then I'd love to see a quick'n'dirty reference for what its all about. > Windows Server 2003 also comes with the built-in ICF as well, which, again, > may be "good enough" for you (though I would look at IPSec first). I'll have to look this one over. > You need to look at the more sophisticated products (though still "Personal" > products), such as Sygate's product (www.sygate.com), Kerio's Personal > Firewall product (not supported on Windows 2003 Server yet) (www.kerio.com) > or Tiny Software's (www.tinysoftware.com/) firewall product. Each of these > allows you to nominate an application/executable, and which IP > addresses/subnets can access (or are barred access) to which local and > remote ports, for which protocol (UDP/TCP/ICMP) inbound and or outbound. Thank you for the list. Any experiences with them? > That said, I believe that a separate hardware device (whether dedicated like > a Cisco PIX, or application layer like Microsoft's ISA server) provides a > more robust, and secure environment (however you need to weigh up whether > you can afford the cost!) Agreed, 100%. > HTH It does, immensely. Thank you. <><><><><><><><><><> Joshua Olson Web Application Engineer WAE Tech Inc. http://www.waetech.com 706.210.0168 From mpember at phreaker.net Sun Nov 16 20:11:00 2003 From: mpember at phreaker.net (Michael Pemberton) Date: Mon, 17 Nov 2003 13:11:00 +1100 Subject: [thelist] Best SERVER Software Firewall In-Reply-To: <09c701c3acaa$839edc30$0300a8c0@client1> References: <09c101c3ac9d$6b861c60$0300a8c0@client1> <00cd01c3aca1$47f693c0$0a345e81@careersAD.unsw.edu.au> <09c701c3acaa$839edc30$0300a8c0@client1> Message-ID: "Joshua Olson" wrote: > Thank you for the list. Any experiences with them? I've used Tiny Software's Winroute firewall/router software for the past few years. It had no problems running on an old 366 celeron running win98. This was just a home solution, before security became an issue :) Since then, I have followed the software over to the new owners, Kerio. I went out and bought myself a cheap second hand machine for $40 and now have a "dedicated" firewall running as good as many of the retail hardware setups with a bit more flexability. (i use a few windose apps to monitor/log the traffic levels It is not all that great if you looking for something that works at an application level, but most of the hardware firewall are also limited in this fashion. The advantage of this is that if the unit falls over, I can simple replace the unit with another PC and copy the settings back. It had no problems keeping up with my broadband surfing but I my not have a fast enough connection to test the speeds you may be looking at. --- Michael Pemberton evolt at mpember.net.au From ken at adOpenStatic.com Sun Nov 16 20:34:59 2003 From: ken at adOpenStatic.com (Ken Schaefer) Date: Mon, 17 Nov 2003 13:34:59 +1100 Subject: [thelist] Best SERVER Software Firewall References: <09c101c3ac9d$6b861c60$0300a8c0@client1><00cd01c3aca1$47f693c0$0a345e81@careersAD.unsw.edu.au> <09c701c3acaa$839edc30$0300a8c0@client1> Message-ID: <02bd01c3acb3$65840460$0a345e81@careersAD.unsw.edu.au> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: "Joshua Olson" Subject: Re: [thelist] Best SERVER Software Firewall : > IPSec, for example, is supported in Windows 2000 and : > Windows 2003, and can give you very good protection : > (barring possible vulnerabilities in the implementation), so : > whoever told you that there's "no good way" is either : > qualifying their comments, or doesn't know what they're : > talking about (an example of a qualification would be that : > IPSec isn't a firewall in a literal sense). : : IPSec is used for encryption of the IP Packet and is used primary for : tunnelling, is it not? If I'm right and IPSec is for encryption, then it's : not applicable in this case. If I'm misunderstanding IPSec, then I'd love : to see a quick'n'dirty reference for what its all about. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ You can create IPSec filtering rules, and store them in the local policy. These can include rules to permit unsecured traffic, require secured traffic, or block traffic completely. Here's a step-by-step guide to setting up such a policy to permit inbound port 80 from all IP addresses, and deny all other traffic: http://www.microsoft.com/technet/treeview/default.asp?url=/technet/itsolutions/network/maintain/security/ipsecld.asp There are more articles on IPSec here: http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/topics/network/default.asp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : > You need to look at the more sophisticated products (though still : > "Personal" products), such as Sygate's product (www.sygate.com), : > Kerio's Personal Firewall product (not supported on Windows 2003 : > Server yet) (www.kerio.com) or Tiny Software's (www.tinysoftware.com/) : > firewall product. Each of these allows you to nominate an : > application/executable, and which IP addresses/subnets can : > access (or are barred access) to which local and : > remote ports, for which protocol (UDP/TCP/ICMP) inbound : > and or outbound. : : Thank you for the list. Any experiences with them?~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ All are fairly solid from what I can tell. Currently I use Kerio's product on my development server (I personally wouldn't use something like this on a commercial production machine, so I can't tell you about how that'd work!). A while back I used to use Tiny's product. I'll send you some screenshots offlist. Cheers Ken From cs1spw at bath.ac.uk Sun Nov 16 22:50:35 2003 From: cs1spw at bath.ac.uk (Simon Willison) Date: Sun, 16 Nov 2003 22:50:35 -0600 Subject: [thelist] robots.txt In-Reply-To: References: Message-ID: <3FB8539B.2070001@bath.ac.uk> Diane Soini wrote: > How well is the robots.txt file obeyed? Search engines and other responsible net citizens generally support it extremely well. Spam harvesting scripts and other spiders with less than noble intent completely ignore it. How useful it is really depends on what you are trying to prevent being indexed and why. One critical thing to remember is that robots.txt is not and never has been a security tool. Remember when the RIAA website was hacked last year? It was because the *utter muppets* who set the site up created an admin panel that wasn't password protected and /listed it in their robots.txt file/ to prevent search engines from crawling it. The first cracker who loaded that file up in their browser must have fallen off their chair laughing. More info: http://www.theregister.co.uk/content/6/27230.html -- Simon Willison Web development weblog: http://simon.incutio.com/