From harvester at lists.evolt.org Mon Jun 25 00:00:09 2007 From: harvester at lists.evolt.org (harvester at lists.evolt.org) Date: 25 Jun 2007 00:00:09 -0500 Subject: [thelist] Tip Harvest for the Week of Monday Jun 18, 2007 Message-ID: <20070625050009.14754.qmail@tempest.evolt.org> The tip harvest for the Week of Monday Jun 18, 2007 has been added to the lists.evolt.org site. Get it at: http://lists.evolt.org/harvest/show.cgi?w=20070618 Week at a glance listing at: http://lists.evolt.org/harvest/week.cgi?w=20070618 Harvest Summary --------------- Number of messages: 83 Number of tips : 1 Tip Authors ----------- Stephen Rider (1) Tip Types --------- Hacking the JavaScript cloneNode() function (1) ------------------------------------------------------------------------------ What: Tips are how a list subscriber "pays" for making an off-topic post to the list (see List Info for more information). Of course, this does not make off-topic posts acceptable. :) How : You include a tip in your posting by using the [tip]...[/tip] tag (replace the square brackets with angle brackets). The tip tag takes the optional attributes of 'type' and 'author'. From jonathan.snook at gmail.com Mon Jun 25 00:04:05 2007 From: jonathan.snook at gmail.com (Jonathan Snook) Date: Mon, 25 Jun 2007 01:04:05 -0400 Subject: [thelist] return false... but still scrolling In-Reply-To: <467F3F0A.70504@hondaswap.com> References: <467F1583.1000402@hondaswap.com> <6719e3ac0706241819l59ed7a20te12f8c4682ad3ad8@mail.gmail.com> <467F3F0A.70504@hondaswap.com> Message-ID: <6719e3ac0706242204i25389a02y5fd5c2e3192957cb@mail.gmail.com> > I'm familair with that, and its the first thing i looked for. > No errors according to the FF error console or Firebug. Be careful of Firebug. It can sometimes deceive. Try it in IE just to be sure. Otherwise, try putting an alert after your function but before your return false to see if the function is returning properly. Try removing the function and just leaving the return false to see if it cancels properly. From lee.kowalkowski at googlemail.com Mon Jun 25 03:02:59 2007 From: lee.kowalkowski at googlemail.com (Lee Kowalkowski) Date: Mon, 25 Jun 2007 09:02:59 +0100 Subject: [thelist] return false... but still scrolling In-Reply-To: <467F1583.1000402@hondaswap.com> References: <467F1583.1000402@hondaswap.com> Message-ID: <610592c90706250102x4583f577g206b30e201fb2c7a@mail.gmail.com> On 25/06/07, Brian Cummiskey wrote: > i'm using a simple: IMAGE > for lack of a better idea. You might as well use href="javascript:setcolor('thecolorcode');" if you don't have anything sensible to put in your href attribute. -- Lee From codepo8 at gmail.com Mon Jun 25 05:18:49 2007 From: codepo8 at gmail.com (Christian Heilmann) Date: Mon, 25 Jun 2007 11:18:49 +0100 Subject: [thelist] [fun] Now this is a really sick use of HTML tables Message-ID: <30bd6ffd0706250318w40ad9984l9dbd33db3b3e3bfc@mail.gmail.com> http://www.youtube.com/watch?v=NqFOB77jLaE -- Chris Heilmann Book: http://www.beginningjavascript.com Blog: http://www.wait-till-i.com Writing: http://icant.co.uk/ From ontheroad at frii.com Mon Jun 25 07:43:10 2007 From: ontheroad at frii.com (Bob Meetin) Date: Mon, 25 Jun 2007 06:43:10 -0600 Subject: [thelist] [fun] Now this is a really sick use of HTML tables In-Reply-To: <30bd6ffd0706250318w40ad9984l9dbd33db3b3e3bfc@mail.gmail.com> References: <30bd6ffd0706250318w40ad9984l9dbd33db3b3e3bfc@mail.gmail.com> Message-ID: <467FB85E.8030308@frii.com> perhaps but can you do it in CSS and can your clients update it in Contribute? okay - I'm curious how you create a tutorial of this sort (but a useful one)? Christian Heilmann wrote: > http://www.youtube.com/watch?v=NqFOB77jLaE > From ontheroad at frii.com Mon Jun 25 11:08:55 2007 From: ontheroad at frii.com (Bob Meetin) Date: Mon, 25 Jun 2007 10:08:55 -0600 Subject: [thelist] PHP syntax - output of two variables in a string Message-ID: <467FE897.3040706@frii.com> Having some trouble with a loop, seems simple enough, but... The loop is incrementing fine, it's my misunderstanding of how to escape or set the variables correctly. $abc = "abc"; $abc1 = "apples"; $abc2 = "pumpkins"; When: $n = 1; $output = "$abc$n"; echo "Output: $output
"; How do I set/escape a variable so that as the count increments, it outputs the value of the variable? I have tried curly brackets, backslash, double $$, etc. As output I end up with things like: Output: abc1 Output: $abc1 The output should be: Output: apples -Bob From rob at sanchothefat.com Mon Jun 25 11:10:30 2007 From: rob at sanchothefat.com (Robert O'Rourke) Date: Mon, 25 Jun 2007 17:10:30 +0100 Subject: [thelist] [fun] Now this is a really sick use of HTML tables In-Reply-To: <30bd6ffd0706250318w40ad9984l9dbd33db3b3e3bfc@mail.gmail.com> References: <30bd6ffd0706250318w40ad9984l9dbd33db3b3e3bfc@mail.gmail.com> Message-ID: <467FE8F6.1030606@sanchothefat.com> Christian Heilmann wrote: > http://www.youtube.com/watch?v=NqFOB77jLaE > good crikey! that made me eyes go gozzy. so which file is smaller? the HTML or the image? :-P though thinking about it the table is essentially a vector image there... would it kill a pc to use javascript to animate something like that? could be interesting. Acid test for js libraries... anyway, back to work From fredthejonester at gmail.com Mon Jun 25 11:17:31 2007 From: fredthejonester at gmail.com (Fred Jones) Date: Mon, 25 Jun 2007 19:17:31 +0300 Subject: [thelist] PHP syntax - output of two variables in a string In-Reply-To: <467FE897.3040706@frii.com> References: <467FE897.3040706@frii.com> Message-ID: <467FEA9B.9020705@gmail.com> Bob Meetin wrote: > Having some trouble with a loop, seems simple enough, but... The loop is > incrementing fine, it's my misunderstanding of how to escape or set the > variables correctly. > > $abc = "abc"; > $abc1 = "apples"; > $abc2 = "pumpkins"; > > When: > $n = 1; > $output = "$abc$n"; > echo "Output: $output
"; Basically you need to use an array, not a set of literals. As in: $abc = []; $abc[0] = "abc"; $abc[1] = "apples"; $abc[2] = "pumpkins"; and then $output = "$abc[$n]"; Fred From paul at xk7.net Mon Jun 25 11:23:09 2007 From: paul at xk7.net (Paul Waring) Date: Mon, 25 Jun 2007 17:23:09 +0100 Subject: [thelist] PHP syntax - output of two variables in a string In-Reply-To: <467FE897.3040706@frii.com> References: <467FE897.3040706@frii.com> Message-ID: <20070625162309.GG25119@telos.xk7.net> On Mon, Jun 25, 2007 at 10:08:55AM -0600, Bob Meetin wrote: > How do I set/escape a variable so that as the count increments, it > outputs the value of the variable? You would do this: echo ${'abc' . $n}; This will perform the concatentation first, then interpolate it as a variable name. Although personally I'd recommend using an array rather than lots of variables, like so: $abc = array('abc', 'apples', 'pumpkins'); echo $abc[$n]; As this is *much* clearer (in mu opinion). Paul From thelist at jarmin.com Mon Jun 25 11:40:52 2007 From: thelist at jarmin.com (iris) Date: Mon, 25 Jun 2007 18:40:52 +0200 Subject: [thelist] htpasswd Message-ID: <467FF014.6000703@jarmin.com> hi everyone just a quick question: is there a limit to how many users can be listed in a htpasswd file? thanks iris From paul at xk7.net Mon Jun 25 11:57:11 2007 From: paul at xk7.net (Paul Waring) Date: Mon, 25 Jun 2007 17:57:11 +0100 Subject: [thelist] htpasswd In-Reply-To: <467FF014.6000703@jarmin.com> References: <467FF014.6000703@jarmin.com> Message-ID: <20070625165711.GH25119@telos.xk7.net> On Mon, Jun 25, 2007 at 06:40:52PM +0200, iris wrote: > just a quick question: is there a limit to how many users can be listed > in a htpasswd file? There is no limit set by Apache, but bear in mind that the file will have to be checked for each page request within the protected area, so if you have thousands of users this may bring your server to its knees. The exact number would depend on the number of users, the traffic to your site and how powerful your server is. Paul From anthony at baratta.com Mon Jun 25 12:04:02 2007 From: anthony at baratta.com (Anthony Baratta) Date: Mon, 25 Jun 2007 10:04:02 -0700 Subject: [thelist] htpasswd Message-ID: http://httpd.apache.org/docs/2.0/howto/auth.html#possibleproblems "Because of the way that Basic authentication is specified, your username and password must be verified every time you request a document from the server. This is even if you're reloading the same page, and for every image on the page (if they come from a protected directory). As you can imagine, this slows things down a little. The amount that it slows things down is proportional to the size of the password file, because it has to open up that file, and go down the list of users until it gets to your name. And it has to do this every time a page is loaded. A consequence of this is that there's a practical limit to how many users you can put in one password file. This limit will vary depending on the performance of your particular server machine, but you can expect to see slowdowns once you get above a few hundred entries, and may wish to consider a different authentication method at that time." -----Original message----- From: iris thelist at jarmin.com Date: Mon, 25 Jun 2007 09:40:52 -0700 To: thelist at lists.evolt.org Subject: [thelist] htpasswd > hi everyone > > just a quick question: is there a limit to how many users can be listed > in a htpasswd file? > > thanks > iris > > -- > > * * 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.destefano at gmail.com Mon Jun 25 12:46:06 2007 From: john.destefano at gmail.com (John DeStefano) Date: Mon, 25 Jun 2007 13:46:06 -0400 Subject: [thelist] [fun] Now this is a really sick use of HTML tables Message-ID: Christian Heilmann wrote: > http://www.youtube.com/watch?v=NqFOB77jLaE Sick indeed! But entertaining and well worth the 1:46... I wonder how long it actually took to input the row/column code (that part seemed to be sped up a bit in the video. Bob Meetin wrote: > okay - I'm curious how you create a tutorial of this sort (but a useful one)? Captivate (very cool features, but expensive), Camtasia, HyperCam, etc. Also see CamStudio, which is an early fork from Captivate and is GPL. Unfortunately, I don't know of a good one for Linux. From jcoulson at co.frederick.va.us Mon Jun 25 13:17:26 2007 From: jcoulson at co.frederick.va.us (Jeremy Coulson) Date: Mon, 25 Jun 2007 14:17:26 -0400 Subject: [thelist] .net login Message-ID: <005401c7b755$158a5940$409f0bc0$@frederick.va.us> Hello friends, First off, thanks to those who tried to help me with an IE issue recently. I tried all suggestions and nothing helped, so I just decided to reinstall Windows. It's nice to get a clean install once in a while, anyway. Here's my new problem. In case you won't be able to tell, I'm hardly a programmer and generally a n00b to .Net. We have an intranet site that's hosted on a server and only available on our local network in the building. We have several outside locations who would like access to the intranet and some employees have expressed an interest in using some of the features from home, so I want to move the intranet to our web server. I don't, however, want the entire world to read the intranet, so I want to set up some kind of login deal. The server is running Windows 2003 and .Net Framework 1.1. We can't upgrade to 2.0 just yet because the vendor who makes our e-Treasurer apps has some compatibility concerns. So far, I have had success making a database of usernames and passwords and using a login form to send a user to one page or another depending on whether or not the credentials supplied were found in the database. Score. The problem is that if a person wanted to go to intranet/topSecretPage.html without logging in at intranet/login.aspx, all that person needs to do is type the URL for topSecretPage.html directly. Our software vendor told me to use a cookie and set up sessions for users, but they didn't offer any information beyond that. I've chipped away at the problem for weeks now, but I'm at a point where I need assistance. I'm not asking for someone to do it for me; I just need a nice example and overview of how to accept credentials, check them against a database, assign a session to a user, and allow that user access as long as that session remains valid. Thanks. Jeremy Coulson, PC Technician/Webmaster County of Frederick (540) 722-8211 jcoulson at co.frederick.va.us From rick.denhaan at gmail.com Mon Jun 25 15:53:47 2007 From: rick.denhaan at gmail.com (Rick den Haan) Date: Mon, 25 Jun 2007 22:53:47 +0200 Subject: [thelist] [fun] Now this is a really sick use of HTML tables In-Reply-To: <467FE8F6.1030606@sanchothefat.com> References: <30bd6ffd0706250318w40ad9984l9dbd33db3b3e3bfc@mail.gmail.com> <467FE8F6.1030606@sanchothefat.com> Message-ID: <46802b5f.3610420a.0a65.069b@mx.google.com> Robert O'Rourke wrote: > Christian Heilmann wrote: > > http://www.youtube.com/watch?v=NqFOB77jLaE > > > > good crikey! that made me eyes go gozzy. > > so which file is smaller? the HTML or the image? :-P I ran a comparison on that :-P I took a 2445x1767 stock photo and ran a PHP script to convert it to a table based HTML file. I didn't take rowspan and colspan into account, so each image pixel is its own td, but the 2 MB jpeg image turned into a 263 MB HTML file... For those interested: and . It's on my private server at home, though, which isn't too fast a connection. > would it kill a pc to use javascript to animate something like that? Probably :-) Rick. From lists07 at wiltgen.net Mon Jun 25 18:51:27 2007 From: lists07 at wiltgen.net (Charles) Date: Mon, 25 Jun 2007 16:51:27 -0700 Subject: [thelist] [fun] Now this is a really sick use of HTML tables In-Reply-To: <46802b5f.3610420a.0a65.069b@mx.google.com> References: <30bd6ffd0706250318w40ad9984l9dbd33db3b3e3bfc@mail.gmail.com> <467FE8F6.1030606@sanchothefat.com> <46802b5f.3610420a.0a65.069b@mx.google.com> Message-ID: <01af01c7b783$bf1917c0$3d4b4740$@net> > the 2 MB jpeg image turned into a 263 MB HTML file... I wonder how much smaller Apache deflate would make it? -- Charles From Ken at adOpenStatic.com Tue Jun 26 00:26:10 2007 From: Ken at adOpenStatic.com (Ken Schaefer) Date: Tue, 26 Jun 2007 15:26:10 +1000 Subject: [thelist] .net login In-Reply-To: <005401c7b755$158a5940$409f0bc0$@frederick.va.us> References: <005401c7b755$158a5940$409f0bc0$@frederick.va.us> Message-ID: <160489103479AB4892187638EE7D1E693D7E1A@kjserver1.kjhome.local> Hi Jeremy, Until IIS 7.0 is released, only pages mapped to the ASP.NET ISAPI Extension will be protected by ASP.NET Forms Based Authentication. Your HTML file will be mapped to the IIS static file handler by default, and so ASP.NET is never invoked when handling the page request, and the FBA will never kick in. Your options? a) map .html to ASP.NET (like aspx pages are) b) change pages with the .html extension to .aspx instead c) use some other security system To do (a), open IIS Manager, and bring up the properties of your website. On the Home Directory tab, click the "Configuration" button. On the "Mappings" tab, map .html to ASP.NET in the same way that .aspx is Cheers Ken -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Jeremy Coulson Sent: Tuesday, 26 June 2007 6:17 AM To: evolt Subject: [thelist] .net login Hello friends, First off, thanks to those who tried to help me with an IE issue recently. I tried all suggestions and nothing helped, so I just decided to reinstall Windows. It's nice to get a clean install once in a while, anyway. Here's my new problem. In case you won't be able to tell, I'm hardly a programmer and generally a n00b to .Net. We have an intranet site that's hosted on a server and only available on our local network in the building. We have several outside locations who would like access to the intranet and some employees have expressed an interest in using some of the features from home, so I want to move the intranet to our web server. I don't, however, want the entire world to read the intranet, so I want to set up some kind of login deal. The server is running Windows 2003 and .Net Framework 1.1. We can't upgrade to 2.0 just yet because the vendor who makes our e-Treasurer apps has some compatibility concerns. So far, I have had success making a database of usernames and passwords and using a login form to send a user to one page or another depending on whether or not the credentials supplied were found in the database. Score. The problem is that if a person wanted to go to intranet/topSecretPage.html without logging in at intranet/login.aspx, all that person needs to do is type the URL for topSecretPage.html directly. Our software vendor told me to use a cookie and set up sessions for users, but they didn't offer any information beyond that. I've chipped away at the problem for weeks now, but I'm at a point where I need assistance. I'm not asking for someone to do it for me; I just need a nice example and overview of how to accept credentials, check them against a database, assign a session to a user, and allow that user access as long as that session remains valid. Thanks. Jeremy Coulson, PC Technician/Webmaster County of Frederick (540) 722-8211 jcoulson at co.frederick.va.us -- * * 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 jcoulson at co.frederick.va.us Tue Jun 26 07:36:47 2007 From: jcoulson at co.frederick.va.us (Jeremy Coulson) Date: Tue, 26 Jun 2007 08:36:47 -0400 Subject: [thelist] .net login In-Reply-To: <160489103479AB4892187638EE7D1E693D7E1A@kjserver1.kjhome.local> References: <005401c7b755$158a5940$409f0bc0$@frederick.va.us> <160489103479AB4892187638EE7D1E693D7E1A@kjserver1.kjhome.local> Message-ID: <000801c7b7ee$aaea4dd0$00bee970$@frederick.va.us> Wow. What are the chances option A could screw something else up on the web server? It sounds easy enough, but I've only been here for 4 months and I'd rather not be the cause of some catastrophic failure of technology until after my first performance review. Jeremy Coulson, PC Technician/Webmaster County of Frederick (540) 722-8211 jcoulson at co.frederick.va.us -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Ken Schaefer Sent: Tuesday, June 26, 2007 1:26 AM To: thelist at lists.evolt.org Subject: Re: [thelist] .net login Hi Jeremy, Until IIS 7.0 is released, only pages mapped to the ASP.NET ISAPI Extension will be protected by ASP.NET Forms Based Authentication. Your HTML file will be mapped to the IIS static file handler by default, and so ASP.NET is never invoked when handling the page request, and the FBA will never kick in. Your options? a) map .html to ASP.NET (like aspx pages are) b) change pages with the .html extension to .aspx instead c) use some other security system To do (a), open IIS Manager, and bring up the properties of your website. On the Home Directory tab, click the "Configuration" button. On the "Mappings" tab, map .html to ASP.NET in the same way that .aspx is Cheers Ken -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Jeremy Coulson Sent: Tuesday, 26 June 2007 6:17 AM To: evolt Subject: [thelist] .net login Hello friends, First off, thanks to those who tried to help me with an IE issue recently. I tried all suggestions and nothing helped, so I just decided to reinstall Windows. It's nice to get a clean install once in a while, anyway. Here's my new problem. In case you won't be able to tell, I'm hardly a programmer and generally a n00b to .Net. We have an intranet site that's hosted on a server and only available on our local network in the building. We have several outside locations who would like access to the intranet and some employees have expressed an interest in using some of the features from home, so I want to move the intranet to our web server. I don't, however, want the entire world to read the intranet, so I want to set up some kind of login deal. The server is running Windows 2003 and .Net Framework 1.1. We can't upgrade to 2.0 just yet because the vendor who makes our e-Treasurer apps has some compatibility concerns. So far, I have had success making a database of usernames and passwords and using a login form to send a user to one page or another depending on whether or not the credentials supplied were found in the database. Score. The problem is that if a person wanted to go to intranet/topSecretPage.html without logging in at intranet/login.aspx, all that person needs to do is type the URL for topSecretPage.html directly. Our software vendor told me to use a cookie and set up sessions for users, but they didn't offer any information beyond that. I've chipped away at the problem for weeks now, but I'm at a point where I need assistance. I'm not asking for someone to do it for me; I just need a nice example and overview of how to accept credentials, check them against a database, assign a session to a user, and allow that user access as long as that session remains valid. Thanks. Jeremy Coulson, PC Technician/Webmaster County of Frederick (540) 722-8211 jcoulson at co.frederick.va.us -- * * 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 cbergstrom at netsyncro.com Tue Jun 26 08:16:43 2007 From: cbergstrom at netsyncro.com (=?ISO-8859-1?Q?=22C=2E_Bergstr=F6m=22?=) Date: Tue, 26 Jun 2007 16:16:43 +0300 Subject: [thelist] [fun] Now this is a really sick use of HTML tables In-Reply-To: <46802b5f.3610420a.0a65.069b@mx.google.com> References: <30bd6ffd0706250318w40ad9984l9dbd33db3b3e3bfc@mail.gmail.com> <467FE8F6.1030606@sanchothefat.com> <46802b5f.3610420a.0a65.069b@mx.google.com> Message-ID: <468111BB.9030501@netsyncro.com> Rick den Haan wrote: > Robert O'Rourke wrote: > >> Christian Heilmann wrote: >> >>> http://www.youtube.com/watch?v=NqFOB77jLaE >>> >>> >> good crikey! that made me eyes go gozzy. >> >> so which file is smaller? the HTML or the image? :-P >> > > I ran a comparison on that :-P I took a 2445x1767 stock photo and ran a PHP > script to convert it to a table based HTML file. I didn't take rowspan and > colspan into account, so each image pixel is its own td, but the 2 MB jpeg > image turned into a 263 MB HTML file... For those interested: > and > . It's on my private server at > home, though, which isn't too fast a connection. > > >> would it kill a pc to use javascript to animate something like that? >> > > Probably :-) > I think you guys may have fun with this http://php.lighttpd.net/?render_style=div&show_blocks=1 ./C From fredthejonester at gmail.com Tue Jun 26 08:46:47 2007 From: fredthejonester at gmail.com (Fred Jones) Date: Tue, 26 Jun 2007 16:46:47 +0300 Subject: [thelist] Automatic Phone Call Message-ID: <468118C7.4070707@gmail.com> I have a client who wants a system to call him every day and ask him questions like: Did you take your medicine at 2:00 today? Press 1 for Yes and 2 for No. After that there would be more questions, the content of which based on the answer to the first. Anyone have any ideas on how to go about such a thing? Thanks, Fredster From cbergstrom at netsyncro.com Tue Jun 26 08:58:55 2007 From: cbergstrom at netsyncro.com (=?ISO-8859-1?Q?=22C=2E_Bergstr=F6m=22?=) Date: Tue, 26 Jun 2007 16:58:55 +0300 Subject: [thelist] Automatic Phone Call In-Reply-To: <468118C7.4070707@gmail.com> References: <468118C7.4070707@gmail.com> Message-ID: <46811B9F.7080505@netsyncro.com> Fred Jones wrote: > I have a client who wants a system to call him every day and ask him > questions like: > > Did you take your medicine at 2:00 today? Press 1 for Yes and 2 for No. > > After that there would be more questions, the content of which based on > the answer to the first. > > Anyone have any ideas on how to go about such a thing? Asterisk + cronjob Is it just me or is this a bit off topic? ./C From rjmolesa at consoltec.net Tue Jun 26 09:11:49 2007 From: rjmolesa at consoltec.net (Jon Molesa) Date: Tue, 26 Jun 2007 10:11:49 -0400 Subject: [thelist] Automatic Phone Call In-Reply-To: <468118C7.4070707@gmail.com> References: <468118C7.4070707@gmail.com> Message-ID: <20070626141149.GB2687@jenna.rjmolesa.homelinux.net> > > Anyone have any ideas on how to go about such a thing? > My only thoughts would be an Asterisk box. It's time consuming, but not that hard. The creation of the voice prompts is what'll take the most time. -- Jon Molesa rjmolesa at consoltec.net if you're bored or curious http://rjmolesa.com From randalrust at gmail.com Tue Jun 26 09:08:08 2007 From: randalrust at gmail.com (Randal Rust) Date: Tue, 26 Jun 2007 10:08:08 -0400 Subject: [thelist] Automatic Phone Call In-Reply-To: <46811B9F.7080505@netsyncro.com> References: <468118C7.4070707@gmail.com> <46811B9F.7080505@netsyncro.com> Message-ID: On 6/26/07, "C. Bergstr?m" wrote: > > I have a client who wants a system to call him every day and ask him > > questions like: > Is it just me or is this a bit off topic? Actually, in the Web 2.0 world, I think this is a very interesting, pertinent question. If you sign yourself up for Google's Local Business Listings, they have a very similar system. I thought it was extremely cool, and immediately started wondering if there were any practical applications of it for our clients. -- Randal Rust R.Squared Communications www.r2communications.com From Ron.Luther at hp.com Tue Jun 26 09:14:05 2007 From: Ron.Luther at hp.com (Luther, Ron) Date: Tue, 26 Jun 2007 14:14:05 -0000 Subject: [thelist] Automatic Phone Call In-Reply-To: <46811B9F.7080505@netsyncro.com> References: <468118C7.4070707@gmail.com> <46811B9F.7080505@netsyncro.com> Message-ID: <97D1949F5E36434E8DC375C1608538BF0126CBC6@G3W0634.americas.hpqcorp.net> Fred Jones asked about automated phone calls: Hi Fred, I think I would look at it as a texting app instead of voice because (a) I think it would be easier to 'verify' a wider array of responses, and (b) I think it allows you to tap into a larger market than the VOIP crowd. [But then again, I'm not an asterisk wizard so I don't know all it can do!] HTH, RonL. ./C asked: >>Is it just me or is this a bit off topic? Hi ./C, It depends ... There was a time, (circa 1986), when services like the above were touted as the bread and butter for these new ISP creatures. Of course, that was back when the 'I' in ISP stood for 'Information' instead of 'Internet'. ;-) From fredthejonester at gmail.com Tue Jun 26 09:46:06 2007 From: fredthejonester at gmail.com (Fred Jones) Date: Tue, 26 Jun 2007 17:46:06 +0300 Subject: [thelist] Automatic Phone Call In-Reply-To: <97D1949F5E36434E8DC375C1608538BF0126CBC6@G3W0634.americas.hpqcorp.net> References: <468118C7.4070707@gmail.com> <46811B9F.7080505@netsyncro.com> <97D1949F5E36434E8DC375C1608538BF0126CBC6@G3W0634.americas.hpqcorp.net> Message-ID: <468126AE.8020509@gmail.com> > I think I would look at it as a texting app instead of voice because (a) > I think it would be easier to 'verify' a wider array of responses, and > (b) I think it allows you to tap into a larger market than the VOIP > crowd. You mean SMS? That I know how to do, but he wants voice, not SMS. :( Asterisk, huh? Would something like this work: http://nerdvittles.com/index.php?p=62 Seems to be what you boys are talking about. Thanks, Freddie From cbergstrom at netsyncro.com Tue Jun 26 09:58:17 2007 From: cbergstrom at netsyncro.com (=?ISO-8859-1?Q?=22C=2E_Bergstr=F6m=22?=) Date: Tue, 26 Jun 2007 17:58:17 +0300 Subject: [thelist] Automatic Phone Call In-Reply-To: <468126AE.8020509@gmail.com> References: <468118C7.4070707@gmail.com> <46811B9F.7080505@netsyncro.com> <97D1949F5E36434E8DC375C1608538BF0126CBC6@G3W0634.americas.hpqcorp.net> <468126AE.8020509@gmail.com> Message-ID: <46812989.70605@netsyncro.com> Fred Jones wrote: >> I think I would look at it as a texting app instead of voice because (a) >> I think it would be easier to 'verify' a wider array of responses, and >> (b) I think it allows you to tap into a larger market than the VOIP >> crowd. >> > > You mean SMS? That I know how to do, but he wants voice, not SMS. :( > > Asterisk, huh? Would something like this work: > The content didn't look that concise.. and I think it's just a SEO page for http://www.trixbox.org/ This is the utmost entry level way to setting up a pbx type system using Asterisk (sometimes shorted to just * ) Too much magic behind the scenes and more often than not an unmaintained liability imho. I can help if interested and or refer you to someone who can. Feel free to contact me off list. Cheers, ./C From trefz.5 at osu.edu Tue Jun 26 11:40:21 2007 From: trefz.5 at osu.edu (Matthew Trefz) Date: Tue, 26 Jun 2007 12:40:21 -0400 Subject: [thelist] css form radio/checkbox layout Message-ID: <6.2.0.14.2.20070626123935.01ecf110@gabriel.engadmin.ohio-state.edu> I am in the process of updating our internal site, and have run into a slight snag with radio buttons/checkboxes and their corresponding labels. I would like to have the labels appear to the right of the radio/checkbox, and stack the elements with in each group vertically. Example: O Button Label O Button Label O Button Label O Button Label What is the best way to achieve this? You can view the sample page and css at http://engineering.osu.edu/deleteMe/ Thanks Matt From beertastic at gmail.com Tue Jun 26 11:50:28 2007 From: beertastic at gmail.com (Tris) Date: Tue, 26 Jun 2007 17:50:28 +0100 Subject: [thelist] css form radio/checkbox layout In-Reply-To: <6.2.0.14.2.20070626123935.01ecf110@gabriel.engadmin.ohio-state.edu> References: <6.2.0.14.2.20070626123935.01ecf110@gabriel.engadmin.ohio-state.edu> Message-ID: <8b20a7490706260950k45e589b1y258402306afa2e1b@mail.gmail.com> can't you just do:



Or is there more? On 26/06/07, Matthew Trefz wrote: > I am in the process of updating our internal site, and have run into a > slight snag with radio buttons/checkboxes and their corresponding labels. > I would like to have the labels appear to the right of the radio/checkbox, > and stack the elements with in each group vertically. > > Example: > O Button Label > O Button Label > O Button Label > O Button Label > > What is the best way to achieve this? > > You can view the sample page and css at http://engineering.osu.edu/deleteMe/ > > Thanks > Matt > > -- > > * * 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 ! > -- `We are what we pretend to be, so we must be careful what we pretend to be.` Kurt Vonnegut `When a person can no longer laugh at himself, it is time for others to laugh at him.` Thomas Szasz From John.Brooking at sappi.com Tue Jun 26 12:25:38 2007 From: John.Brooking at sappi.com (Brooking, John) Date: Tue, 26 Jun 2007 13:25:38 -0400 Subject: [thelist] GoDaddy software and Macs Message-ID: <7DFF91610114AB4C8C0B068CFC34734F0AAF5EBC@CDFNEXC3.NA.Sappi.com> Howdy, We have a friend who has a website hosted by GoDaddy, and which is built using their hosted "Website Tonight" site builder. Unfortunately, she uses a Macintosh, which is not "recommended" for that software according to their FAQ, and in fact she is not able to update the site herself. (I don't know how the original decision was made, maybe it was before she was involved.) So far she has been calling my wife to do updates for her, so I am thinking about alternatives to suggest to her. I'm not self-employed and looking for additional work, so the more I think about it, the more I like the idea of having her just run a Windows emulator on her Mac so she can use the GoDaddy software from a "Windows" browser. I'm assuming this should work fine, but I thought I'd better run it by you all and see if there's any issues with this I don't know about. Thoughts? Alternative suggestions are welcome as well. Besides the emulator idea, I've thought about changing hosts, installing a native site editor package on her Mac, or creating some custom server software for her using FCKEdit and PHP/MySQL objects. Product research is not my strong suit, so the first two sound like a lot of boring research, and the custom work option is not too attractive because this is a non-profit who is not prepared to spend much money, as evidenced by her willingness to ask my wife to do updates for her. :-) Thanks for any suggestions! - 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 rjmolesa at consoltec.net Tue Jun 26 12:52:53 2007 From: rjmolesa at consoltec.net (Jon Molesa) Date: Tue, 26 Jun 2007 13:52:53 -0400 Subject: [thelist] File recovery? Message-ID: <20070626175253.GE2687@jenna.rjmolesa.homelinux.net> I accidental overwrote a file with empty data using redirect. It's an ext3 fs managed by LVM and setup in raid5. Is there any way to recover my goof? -- Jon Molesa From evolt_org at striderweb.com Tue Jun 26 12:46:06 2007 From: evolt_org at striderweb.com (Stephen Rider) Date: Tue, 26 Jun 2007 12:46:06 -0500 Subject: [thelist] GoDaddy software and Macs In-Reply-To: <7DFF91610114AB4C8C0B068CFC34734F0AAF5EBC@CDFNEXC3.NA.Sappi.com> References: <7DFF91610114AB4C8C0B068CFC34734F0AAF5EBC@CDFNEXC3.NA.Sappi.com> Message-ID: If you don't want to remake the website, you need to find some why for her to use GoDaddy's software -- which suggests IE Win emulation of some sort. (I... assume you tried Firefox?) If you are willing to convert to some new system, there are CMSes out there that are free and very useable. I have built websites for non- techie friends using WordPress -- it's nominally blog software, but is quite usable as a straight CMS. I believe Drupal is also free software, and widely regarded (though I am unfamiliar with it). -- Stephen Rider On Jun 26, 2007, at 12:25 PM, Brooking, John wrote: > We have a friend who has a website hosted by GoDaddy, and which is > built using their hosted "Website Tonight" site builder. > Unfortunately, > she uses a Macintosh, which is not "recommended" for that software > according to their FAQ, and in fact she is not able to update the site > herself. (I don't know how the original decision was made, maybe it > was > before she was involved.) So far she has been calling my wife to do > updates for her, so I am thinking about alternatives to suggest to > her. > From rjmolesa at consoltec.net Tue Jun 26 13:07:25 2007 From: rjmolesa at consoltec.net (Jon Molesa) Date: Tue, 26 Jun 2007 14:07:25 -0400 Subject: [thelist] File recovery? In-Reply-To: <20070626175253.GE2687@jenna.rjmolesa.homelinux.net> References: <20070626175253.GE2687@jenna.rjmolesa.homelinux.net> Message-ID: <20070626180725.GF2687@jenna.rjmolesa.homelinux.net> I used this command: replace OLD-STRING NEW-STRING OUTPUT-FILE and like a dummy used INPUT-FILE as OUTPUT-FILE btw, the OS is RHEL. so you know. > I accidental overwrote a file with empty data using redirect. It's an > ext3 fs managed by LVM and setup in raid5. Is there any way to recover > my goof? -- Jon Molesa rjmolesa at consoltec.net if you're bored or curious http://rjmolesa.com From btesanovic at gmail.com Tue Jun 26 13:00:00 2007 From: btesanovic at gmail.com (Bojan Tesanovic) Date: Tue, 26 Jun 2007 20:00:00 +0200 Subject: [thelist] GoDaddy software and Macs In-Reply-To: <7DFF91610114AB4C8C0B068CFC34734F0AAF5EBC@CDFNEXC3.NA.Sappi.com> References: <7DFF91610114AB4C8C0B068CFC34734F0AAF5EBC@CDFNEXC3.NA.Sappi.com> Message-ID: <46815420.9040403@gmail.com> Hi John can you be more specific what is site about, what specific feature your friend needs how often site changes etc best would be to provide a link. Brooking, John wrote: > Howdy, > > We have a friend who has a website hosted by GoDaddy, and which is > built using their hosted "Website Tonight" site builder. Unfortunately, > she uses a Macintosh, which is not "recommended" for that software > according to their FAQ, and in fact she is not able to update the site > herself. (I don't know how the original decision was made, maybe it was > before she was involved.) So far she has been calling my wife to do > updates for her, so I am thinking about alternatives to suggest to her. > > I'm not self-employed and looking for additional work, so the more I > think about it, the more I like the idea of having her just run a > Windows emulator on her Mac so she can use the GoDaddy software from a > "Windows" browser. I'm assuming this should work fine, but I thought I'd > better run it by you all and see if there's any issues with this I don't > know about. Thoughts? > > Alternative suggestions are welcome as well. Besides the emulator > idea, I've thought about changing hosts, installing a native site editor > package on her Mac, or creating some custom server software for her > using FCKEdit and PHP/MySQL objects. Product research is not my strong > suit, so the first two sound like a lot of boring research, and the > custom work option is not too attractive because this is a non-profit > who is not prepared to spend much money, as evidenced by her willingness > to ask my wife to do updates for her. :-) > > Thanks for any suggestions! > > - John > -- Bojan Tesanovic http://www.classicio.com/ From John.Brooking at sappi.com Tue Jun 26 13:07:43 2007 From: John.Brooking at sappi.com (Brooking, John) Date: Tue, 26 Jun 2007 14:07:43 -0400 Subject: [thelist] GoDaddy software and Macs In-Reply-To: <46815420.9040403@gmail.com> References: <7DFF91610114AB4C8C0B068CFC34734F0AAF5EBC@CDFNEXC3.NA.Sappi.com> <46815420.9040403@gmail.com> Message-ID: <7DFF91610114AB4C8C0B068CFC34734F0AAF5F53@CDFNEXC3.NA.Sappi.com> Site: http://www.newenglandchristianartscouncil.org/ Site builder software: https://www.godaddy.com/gdshop/hosting/hosting_build_website.asp?ci=9028 Features she uses are HTML free text editing, Javascript scroller, image uploads and photo albums. She probably tweaks some text on a page or two a few times a month, especially after a large event is over with. I don't know how frequently she would want to add new pages, probably not very. Her financial situation is that they are not a registered non-profit yet, although they are working on it, and they have no money. She said they can probably afford a slightly higher rate for web hosting, but $200 at a pop for emulation software would have to be raised. - John -----Original Message----- From: Bojan Tesanovic [mailto:btesanovic at gmail.com] Sent: Tuesday, June 26, 2007 2:00 PM To: thelist at lists.evolt.org Cc: Brooking, John Subject: Re: [thelist] GoDaddy software and Macs Hi John can you be more specific what is site about, what specific feature your friend needs how often site changes etc best would be to provide a link. Brooking, John wrote: > Howdy, > > We have a friend who has a website hosted by GoDaddy, and which is > built using their hosted "Website Tonight" site builder. Unfortunately, > she uses a Macintosh, which is not "recommended" for that software > according to their FAQ, and in fact she is not able to update the site > herself. (I don't know how the original decision was made, maybe it was > before she was involved.) So far she has been calling my wife to do > updates for her, so I am thinking about alternatives to suggest to her. > > I'm not self-employed and looking for additional work, so the more I > think about it, the more I like the idea of having her just run a > Windows emulator on her Mac so she can use the GoDaddy software from a > "Windows" browser. I'm assuming this should work fine, but I thought I'd > better run it by you all and see if there's any issues with this I don't > know about. Thoughts? > > Alternative suggestions are welcome as well. Besides the emulator > idea, I've thought about changing hosts, installing a native site editor > package on her Mac, or creating some custom server software for her > using FCKEdit and PHP/MySQL objects. Product research is not my strong > suit, so the first two sound like a lot of boring research, and the > custom work option is not too attractive because this is a non-profit > who is not prepared to spend much money, as evidenced by her willingness > to ask my wife to do updates for her. :-) > > Thanks for any suggestions! > > - John > -- Bojan Tesanovic http://www.classicio.com/ 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 btesanovic at gmail.com Tue Jun 26 13:52:30 2007 From: btesanovic at gmail.com (Bojan Tesanovic) Date: Tue, 26 Jun 2007 20:52:30 +0200 Subject: [thelist] GoDaddy software and Macs In-Reply-To: <7DFF91610114AB4C8C0B068CFC34734F0AAF5F53@CDFNEXC3.NA.Sappi.com> References: <7DFF91610114AB4C8C0B068CFC34734F0AAF5EBC@CDFNEXC3.NA.Sappi.com> <46815420.9040403@gmail.com> <7DFF91610114AB4C8C0B068CFC34734F0AAF5F53@CDFNEXC3.NA.Sappi.com> Message-ID: <4681606E.7030306@gmail.com> Well she can install wordpress. It is content management application mostly for bloggers but also convenient for this site. Very easy to mentain it has nice WYSIWYG ( http://en.wikipedia.org/wiki/WYSIWYG ) and she can make new pages in less then an blink of an eye :) GoDaddy has it for free in site control panel and it is installed via automatic no hassle. She can then choose various designs from http://themes.wordpress.net/ and upload it to her site (also free). There are numerous plugins for WP e.g. images http://wordpress.org/extend/plugins/tags/images After one day she should be able to have site like this http://titl-tatl.com/ but let her backup current site if she decides to install WP Brooking, John wrote: > Site: http://www.newenglandchristianartscouncil.org/ > > Site builder software: > https://www.godaddy.com/gdshop/hosting/hosting_build_website.asp?ci=9028 > > Features she uses are HTML free text editing, Javascript scroller, image > uploads and photo albums. > > She probably tweaks some text on a page or two a few times a month, > especially after a large event is over with. I don't know how frequently > she would want to add new pages, probably not very. > > Her financial situation is that they are not a registered non-profit > yet, although they are working on it, and they have no money. She said > they can probably afford a slightly higher rate for web hosting, but > $200 at a pop for emulation software would have to be raised. > > - John > > -----Original Message----- > From: Bojan Tesanovic [mailto:btesanovic at gmail.com] > Sent: Tuesday, June 26, 2007 2:00 PM > To: thelist at lists.evolt.org > Cc: Brooking, John > Subject: Re: [thelist] GoDaddy software and Macs > > Hi John can you be more specific what is site about, what specific > feature > your friend needs how often site changes etc best would be to provide a > link. > > Brooking, John wrote: >> Howdy, >> >> We have a friend who has a website hosted by GoDaddy, and which is >> built using their hosted "Website Tonight" site builder. > Unfortunately, >> she uses a Macintosh, which is not "recommended" for that software >> according to their FAQ, and in fact she is not able to update the site >> herself. (I don't know how the original decision was made, maybe it > was >> before she was involved.) So far she has been calling my wife to do >> updates for her, so I am thinking about alternatives to suggest to > her. >> I'm not self-employed and looking for additional work, so the more > I >> think about it, the more I like the idea of having her just run a >> Windows emulator on her Mac so she can use the GoDaddy software from a >> "Windows" browser. I'm assuming this should work fine, but I thought > I'd >> better run it by you all and see if there's any issues with this I > don't >> know about. Thoughts? >> >> Alternative suggestions are welcome as well. Besides the emulator >> idea, I've thought about changing hosts, installing a native site > editor >> package on her Mac, or creating some custom server software for her >> using FCKEdit and PHP/MySQL objects. Product research is not my strong >> suit, so the first two sound like a lot of boring research, and the >> custom work option is not too attractive because this is a non-profit >> who is not prepared to spend much money, as evidenced by her > willingness >> to ask my wife to do updates for her. :-) >> >> Thanks for any suggestions! >> >> - John >> > > -- Bojan Tesanovic http://www.classicio.com/ From caseyc at IntelliSoftmn.com Tue Jun 26 14:01:59 2007 From: caseyc at IntelliSoftmn.com (Casey Crookston) Date: Tue, 26 Jun 2007 14:01:59 -0500 Subject: [thelist] VB.NET 2.0 Connection String Message-ID: This should really be simple, but I am having a hard time with it. In a vb.net 2.0 / VS 2005 app, I want to store my connection string in the app.config, as such: But I am having trouble referencing this string in the code behind. I have looked over Google, but I just can't seem to nail it. It's gettting frustrating. I've searched for: vb.net 2005 connection string in app.config vb.net connection string app.config connection string app.config visual studio 2005 And other variations. I did find this, which seems to work initially but errors out at run-time when I try to open the connection: Private cn As New SqlClient.SqlConnection(System.Configuration.ConfigurationSettings.AppSettings("ConnectionString")) Can someone point me in the right direction, please!! Casey From caseyc at IntelliSoftmn.com Tue Jun 26 14:12:02 2007 From: caseyc at IntelliSoftmn.com (Casey Crookston) Date: Tue, 26 Jun 2007 14:12:02 -0500 Subject: [thelist] VB.NET 2.0 Connection String References: Message-ID: This is not working either: "Name ConfigurationManager is not declared" Only, from what I can read, referencing System.Configuration should solve this error!?!?!?!?! Imports System.Data Imports System.Data.SqlClient Imports System.IO Imports System.Configuration Public Class Form1 Dim strCN As String = ConfigurationManager.ConnectionStrings("theConnStrName").ConnectionString ________________________________ From: thelist-bounces at lists.evolt.org on behalf of Casey Crookston Sent: Tue 6/26/2007 2:01 PM To: thelist at lists.evolt.org Subject: [thelist] VB.NET 2.0 Connection String This should really be simple, but I am having a hard time with it. In a vb.net 2.0 / VS 2005 app, I want to store my connection string in the app.config From rjmolesa at consoltec.net Tue Jun 26 15:11:43 2007 From: rjmolesa at consoltec.net (Jon Molesa) Date: Tue, 26 Jun 2007 16:11:43 -0400 Subject: [thelist] File recovery? In-Reply-To: <20070626180725.GF2687@jenna.rjmolesa.homelinux.net> References: <20070626175253.GE2687@jenna.rjmolesa.homelinux.net> <20070626180725.GF2687@jenna.rjmolesa.homelinux.net> Message-ID: <20070626201143.GG2687@jenna.rjmolesa.homelinux.net> I've not found a fix myself. Sad :-(, but I was able to modify a similar file without much trouble into what appears to be enough like the replica. I'd still like to know if it's even possible. I know it's possible to recover deleted file, and I've had some success with it in the past. In fact there really hasn't been a time, until now, that I was unable to recover a needed file. I know about the drive blocks, inodes, etc. And the process of "marking" a file for deletion that tells the system it's ok to write new data here. But I what happens when you say: 1) Copy an empty file onto a file with the same name? 2) Redirect command output onto an existing file? (my case) 3) Actual delete the contents of a file in a text editor? Are these operations left up to the text editors implementations? Does the OS make these decisions? This little event has got me thinking and if anyone knows, please share. > I used this command: > > replace OLD-STRING NEW-STRING OUTPUT-FILE > > and like a dummy used INPUT-FILE as OUTPUT-FILE > > btw, the OS is RHEL. so you know. > > > I accidental overwrote a file with empty data using redirect. It's an > > ext3 fs managed by LVM and setup in raid5. Is there any way to recover > > my goof? > -- Jon Molesa rjmolesa at consoltec.net if you're bored or curious http://rjmolesa.com From joel at streamliine.com Tue Jun 26 15:22:18 2007 From: joel at streamliine.com (Joel D Canfield) Date: Tue, 26 Jun 2007 13:22:18 -0700 Subject: [thelist] File recovery? Message-ID: <72E9FAA171D63B48AAC707C72900E6B4D8976A@ireland.spinhead.com> > I'd still like to know if it's even possible. I've never heard of most of the stuff (OS, commands, etc.) you refer to. how closely is this really related to web development? sorry I can't directly answer your question, so instead, I'll spout opinion. I think the real answer is to the file restore question is prevention. anything else is a crapshoot at best, or will involve hardware-level mucking about. if you're making a living with this stuff, * have a good backup. always. * have a system of checks and balances between your development, testing, staging, and production environments. don't cheat. good preparation and exectution beats good 'fixing' skills every time. joel From Ed at ComSimplicity.com Tue Jun 26 15:32:13 2007 From: Ed at ComSimplicity.com (Ed McCarroll) Date: Tue, 26 Jun 2007 13:32:13 -0700 Subject: [thelist] VB.NET 2.0 Connection String In-Reply-To: References: Message-ID: <1182889933.468177cd097fb@webmail.comsimplicity.com> What works for me: - In web.config: - In MarkUp: - Or in VB codeBehind: Public Function ConnectionStringGet() As String Dim connectionStrings As ConnectionStringSettingsCollection Dim lResult As String connectionStrings = WebConfigurationManager.ConnectionStrings lResult = connectionStrings("CDCGrantsConnectionString").ToString() Return lResult End Function -------------------------------------------------------------------- Ed McCarroll C:(310) 904-3651 W: (323) 890-7128 H:(310) 838-4330 Ed at ComSimplicity.com http://www.ComSimplicity.com From Ed at ComSimplicity.com Tue Jun 26 15:33:48 2007 From: Ed at ComSimplicity.com (Ed McCarroll) Date: Tue, 26 Jun 2007 13:33:48 -0700 Subject: [thelist] VB.NET 2.0 Connection String In-Reply-To: References: Message-ID: <1182890028.4681782ce89cd@webmail.comsimplicity.com> > "Name ConfigurationManager is not declared" Imports System.Web.Configuration -------------------------------------------------------------------- Ed McCarroll C:(310) 904-3651 W: (323) 890-7128 H:(310) 838-4330 Ed at ComSimplicity.com http://www.ComSimplicity.com From rjmolesa at consoltec.net Tue Jun 26 15:51:30 2007 From: rjmolesa at consoltec.net (Jon Molesa) Date: Tue, 26 Jun 2007 16:51:30 -0400 Subject: [thelist] File recovery? In-Reply-To: <72E9FAA171D63B48AAC707C72900E6B4D8976A@ireland.spinhead.com> References: <72E9FAA171D63B48AAC707C72900E6B4D8976A@ireland.spinhead.com> Message-ID: <20070626205130.GH2687@jenna.rjmolesa.homelinux.net> You're right, it's not exactly related. But I'm sure happens to everyone. I just thought with this bunch, perhaps someone knew and would be interested in talking it up with me. Agreed that preparation is key, however, the TODO list is hierarchical and that's a bit down the list. Perhaps I should bump it up a bit. Thanks Joel. *On Tue, Jun 26, 2007 at 01:22:18PM -0700 Joel D Canfield wrote: > Date: Tue, 26 Jun 2007 13:22:18 -0700 > From: "Joel D Canfield" > To: > Subject: Re: [thelist] File recovery? > > > I'd still like to know if it's even possible. > > I've never heard of most of the stuff (OS, commands, etc.) you refer to. > how closely is this really related to web development? > > sorry I can't directly answer your question, so instead, I'll spout > opinion. > > I think the real answer is to the file restore question is prevention. > anything else is a crapshoot at best, or will involve hardware-level > mucking about. > > if you're making a living with this stuff, > * have a good backup. always. > * have a system of checks and balances between your development, > testing, staging, and production environments. don't cheat. > > good preparation and exectution beats good 'fixing' skills every time. > > joel > -- > > * * 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 ! -- Jon Molesa rjmolesa at consoltec.net if you're bored or curious http://rjmolesa.com From joel at streamliine.com Tue Jun 26 15:50:37 2007 From: joel at streamliine.com (Joel D Canfield) Date: Tue, 26 Jun 2007 13:50:37 -0700 Subject: [thelist] File recovery? Message-ID: <72E9FAA171D63B48AAC707C72900E6B4D8976B@ireland.spinhead.com> > But I'm sure happens to > everyone. I just thought with this bunch, perhaps someone knew and > would be interested in talking it up with me. true enough :) > Agreed that preparation is key, however, the TODO list is > hierarchical and > that's a bit down the list. Perhaps I should bump it up a > bit. and if you're working for someone else (as an employee) make sure they realize the importance and build it into costs, so it's not considered 'wasted' time. it's the old 'sharpening the axe' thingy again. and reminding myself endlessly, 'cause guess what I do to myself *way* too often . . . From Ron.Luther at hp.com Tue Jun 26 16:06:00 2007 From: Ron.Luther at hp.com (Luther, Ron) Date: Tue, 26 Jun 2007 21:06:00 -0000 Subject: [thelist] File recovery? In-Reply-To: <20070626205130.GH2687@jenna.rjmolesa.homelinux.net> References: <72E9FAA171D63B48AAC707C72900E6B4D8976A@ireland.spinhead.com> <20070626205130.GH2687@jenna.rjmolesa.homelinux.net> Message-ID: <97D1949F5E36434E8DC375C1608538BF0126CBDB@G3W0634.americas.hpqcorp.net> Jon Molesa noted: >>But I'm sure happens to everyone. I just thought with this bunch, >>perhaps someone knew and would be interested in talking it up with me. Hi Jon, Yup. I think that's up on the 'everybody gets bitten eventually' list. No undo that I am aware of. However, that said, sometimes you *can* get lucky: - You've changed exactly 'n' occurrence (where 'n' is a small number - hopefully one or zero!). Sometimes you can undo small numbers of bad mods with a keen eye and a steady nerve. - You're working with very unique text snippets. E.g. Changing every instance of "," to "$#$DELIMITER$#$" makes globally undoing your mistake pretty easy. {I knew there was a reason I liked that gawdawfullly ugly delimiter!} - You're working with a file where you can get a fresh copy from a backup device/server or even a live person (maybe the one who gave you the file initially - or somebody else on the daily distribution email). - It's a cumulative daily file! Head home early and come in tomorrow and try again with fresh data. I'm guessing you're not in any of those situations, but hey, sometimes you _can_ scramble the data and get away with it. I try to work with backup copies ... But nowadays anyway I pretty much always work off a handwritten sheet of paper outlining my step by step plans for folding, spindling, and multilating the file and then cross them off one at a time as I complete each one. Works for me when I've got mind-numbingly repetitious multiple-step file manipulation sequences to work. HTH, RonL. [Jon used an acronym, but I believe he noted he was using Red Hat Enterprise as OS.] From joel at streamliine.com Tue Jun 26 16:10:27 2007 From: joel at streamliine.com (Joel D Canfield) Date: Tue, 26 Jun 2007 14:10:27 -0700 Subject: [thelist] File recovery? Message-ID: <72E9FAA171D63B48AAC707C72900E6B4D8976C@ireland.spinhead.com> > HTH, > RonL. > > [Jon used an acronym, but I believe he noted he was using Red Hat > Enterprise as OS.] agh. RHE. yeah. those TLAs are a PITA. From caseyc at IntelliSoftmn.com Tue Jun 26 17:21:13 2007 From: caseyc at IntelliSoftmn.com (Casey Crookston) Date: Tue, 26 Jun 2007 17:21:13 -0500 Subject: [thelist] VB.NET 2.0 Connection String References: <1182890028.4681782ce89cd@webmail.comsimplicity.com> Message-ID: Thanks Ed. I had the Imports System.Web.Configuration, but I also needed to add a reference to the .dll. I'l try your solution and see if that works. Thanks. ________________________________ From: thelist-bounces at lists.evolt.org on behalf of Ed McCarroll Sent: Tue 6/26/2007 3:33 PM To: thelist at lists.evolt.org Subject: Re: [thelist] VB.NET 2.0 Connection String > "Name ConfigurationManager is not declared" Imports System.Web.Configuration -------------------------------------------------------------------- Ed McCarroll C:(310) 904-3651 W: (323) 890-7128 H:(310) 838-4330 Ed at ComSimplicity.com http://www.ComSimplicity.com -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! From Ken at adOpenStatic.com Tue Jun 26 17:26:04 2007 From: Ken at adOpenStatic.com (Ken Schaefer) Date: Wed, 27 Jun 2007 08:26:04 +1000 Subject: [thelist] .net login In-Reply-To: <000801c7b7ee$aaea4dd0$00bee970$@frederick.va.us> References: <005401c7b755$158a5940$409f0bc0$@frederick.va.us><160489103479AB4892187638EE7D1E693D7E1A@kjserver1.kjhome.local> <000801c7b7ee$aaea4dd0$00bee970$@frederick.va.us> Message-ID: <160489103479AB4892187638EE7D1E693D7E20@kjserver1.kjhome.local> It shouldn't screw up anything. You just need to be aware of whether it would conflict with anything you already have setup (i.e. your server is no longer in a default configuration - e.g. someone mapped HTML to some other extension like SSI) Cheers Ken -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Jeremy Coulson Sent: Wednesday, 27 June 2007 12:37 AM To: thelist at lists.evolt.org Subject: Re: [thelist] .net login Wow. What are the chances option A could screw something else up on the web server? It sounds easy enough, but I've only been here for 4 months and I'd rather not be the cause of some catastrophic failure of technology until after my first performance review. Jeremy Coulson, PC Technician/Webmaster County of Frederick (540) 722-8211 jcoulson at co.frederick.va.us -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Ken Schaefer Sent: Tuesday, June 26, 2007 1:26 AM To: thelist at lists.evolt.org Subject: Re: [thelist] .net login Hi Jeremy, Until IIS 7.0 is released, only pages mapped to the ASP.NET ISAPI Extension will be protected by ASP.NET Forms Based Authentication. Your HTML file will be mapped to the IIS static file handler by default, and so ASP.NET is never invoked when handling the page request, and the FBA will never kick in. Your options? a) map .html to ASP.NET (like aspx pages are) b) change pages with the .html extension to .aspx instead c) use some other security system To do (a), open IIS Manager, and bring up the properties of your website. On the Home Directory tab, click the "Configuration" button. On the "Mappings" tab, map .html to ASP.NET in the same way that .aspx is Cheers Ken -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Jeremy Coulson Sent: Tuesday, 26 June 2007 6:17 AM To: evolt Subject: [thelist] .net login Hello friends, First off, thanks to those who tried to help me with an IE issue recently. I tried all suggestions and nothing helped, so I just decided to reinstall Windows. It's nice to get a clean install once in a while, anyway. Here's my new problem. In case you won't be able to tell, I'm hardly a programmer and generally a n00b to .Net. We have an intranet site that's hosted on a server and only available on our local network in the building. We have several outside locations who would like access to the intranet and some employees have expressed an interest in using some of the features from home, so I want to move the intranet to our web server. I don't, however, want the entire world to read the intranet, so I want to set up some kind of login deal. The server is running Windows 2003 and .Net Framework 1.1. We can't upgrade to 2.0 just yet because the vendor who makes our e-Treasurer apps has some compatibility concerns. So far, I have had success making a database of usernames and passwords and using a login form to send a user to one page or another depending on whether or not the credentials supplied were found in the database. Score. The problem is that if a person wanted to go to intranet/topSecretPage.html without logging in at intranet/login.aspx, all that person needs to do is type the URL for topSecretPage.html directly. Our software vendor told me to use a cookie and set up sessions for users, but they didn't offer any information beyond that. I've chipped away at the problem for weeks now, but I'm at a point where I need assistance. I'm not asking for someone to do it for me; I just need a nice example and overview of how to accept credentials, check them against a database, assign a session to a user, and allow that user access as long as that session remains valid. Thanks. Jeremy Coulson, PC Technician/Webmaster County of Frederick (540) 722-8211 jcoulson at co.frederick.va.us From hughesj at firemtn.com Tue Jun 26 17:51:20 2007 From: hughesj at firemtn.com (Jon Hughes) Date: Tue, 26 Jun 2007 15:51:20 -0700 Subject: [thelist] ASP (not .net) script to pre-compile + cache multiple CSS files? Message-ID: I have seen this done with PHP, and semi-done with ASP.NET, but I cannot for the life of me find a script that will pre-compile multiple CSS files into one, then serve the full css file to the client (thus having only one HTTP request) Anyone have any ideas on this? Thank You, - Jon Hughes From jonathan.snook at gmail.com Tue Jun 26 18:58:21 2007 From: jonathan.snook at gmail.com (Jonathan Snook) Date: Tue, 26 Jun 2007 19:58:21 -0400 Subject: [thelist] ASP (not .net) script to pre-compile + cache multiple CSS files? In-Reply-To: References: Message-ID: <6719e3ac0706261658q4601f767g9ee29a8d775d40c6@mail.gmail.com> On 6/26/07, Jon Hughes wrote: > I have seen this done with PHP, and semi-done with ASP.NET, but I cannot > for the life of me find a script that will pre-compile multiple CSS > files into one, then serve the full css file to the client (thus having > only one HTTP request) > > Anyone have any ideas on this? Using the FileSystemObject, this should be a relatively straightforward task. Create a function that takes an array of file names. The function loops through each one, grabbing the files and feeds it to the browser. You could add in caching as well by writing the result to its own file. and then just reading that on subsequent requests. From rjmolesa at consoltec.net Tue Jun 26 21:17:48 2007 From: rjmolesa at consoltec.net (Jon Molesa) Date: Tue, 26 Jun 2007 22:17:48 -0400 Subject: [thelist] File recovery? In-Reply-To: <20070626175253.GE2687@jenna.rjmolesa.homelinux.net> References: <20070626175253.GE2687@jenna.rjmolesa.homelinux.net> Message-ID: <20070627021748.GI2687@jenna.rjmolesa.homelinux.net> My Bad, For clarity.... *On Tue, Jun 26, 2007 at 01:52:53PM -0400 Jon Molesa wrote: > Date: Tue, 26 Jun 2007 13:52:53 -0400 > From: Jon Molesa > To: TheList > Mail-Followup-To: TheList > Subject: [thelist] File recovery? > > I accidental overwrote a file with empty data using redirect. It's an > ext3 fs managed by LVM and setup in raid5. Is there any way to recover > my goof? ext3 is the file system similar to FAT or NTFS, the significance being that file recovery has a higher success rate on ext2 file systems. The fs was the file system shorthand. LVM, sadly I'm not too familiar with but looks to have some real nice advantages. It stands for Linux Volume Manager I believe. And the raid5 array I think everyone knows, but id Redundant Array of Inexpensive Disks. The 5, is some type of config that's apparently the recommendation when setting up a raid array. I only provided such info thinking that it would have some bearing on the advice I might receive. Some of them are new, but I consider everyone on here to be such high caliber experts that try to balance the length of my request with brevity and conciseness. Anyway, thanks to the responses. I do appreciate them. As far as backups go, LVM has some type of snapshot feature that I'll be digging more into the next couple of days. I'm hoping I'll discover that they snapshot id some type of image file that can be mounted/umounted and the burned to a DVD for archival. If interested I'll follow up when I find out myself. Later. > > -- > Jon Molesa > -- > > * * 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 ! -- Jon Molesa rjmolesa at consoltec.net if you're bored or curious http://rjmolesa.com From rjmolesa at consoltec.net Tue Jun 26 21:23:04 2007 From: rjmolesa at consoltec.net (Jon Molesa) Date: Tue, 26 Jun 2007 22:23:04 -0400 Subject: [thelist] File recovery? In-Reply-To: <97D1949F5E36434E8DC375C1608538BF0126CBDB@G3W0634.americas.hpqcorp.net> References: <72E9FAA171D63B48AAC707C72900E6B4D8976A@ireland.spinhead.com> <20070626205130.GH2687@jenna.rjmolesa.homelinux.net> <97D1949F5E36434E8DC375C1608538BF0126CBDB@G3W0634.americas.hpqcorp.net> Message-ID: <20070627022304.GJ2687@jenna.rjmolesa.homelinux.net> > Head home early and come in tomorrow and try again with fresh data. Tried that, lol was still sick this morning and at lunch... :( Then the light went ding! > > I'm guessing you're not in any of those situations, but hey, sometimes > you _can_ scramble the data and get away with it. > Good guess, and I wish. It was an sql script that was used by some php to generate a comma separated file that the boss likes to open in excel -- Jon Molesa rjmolesa at consoltec.net if you're bored or curious http://rjmolesa.com From rjmolesa at consoltec.net Tue Jun 26 21:26:25 2007 From: rjmolesa at consoltec.net (Jon Molesa) Date: Tue, 26 Jun 2007 22:26:25 -0400 Subject: [thelist] File recovery? In-Reply-To: <72E9FAA171D63B48AAC707C72900E6B4D8976B@ireland.spinhead.com> References: <72E9FAA171D63B48AAC707C72900E6B4D8976B@ireland.spinhead.com> Message-ID: <20070627022625.GK2687@jenna.rjmolesa.homelinux.net> *On Tue, Jun 26, 2007 at 01:50:37PM -0700 Joel D Canfield wrote: > and if you're working for someone else (as an employee) make sure they > realize the importance and build it into costs, so it's not considered > 'wasted' time. Actually when I told the boss about what happened she asked, "I thought you told me that everything is being backed up?" I agreed, but the truth is that the only backup I've ever mentioned or that is taking place at the moment, is the backup that is the nature of raid5. Which, as far as I know, is only useful in the event of disk failure. So this was my reminder to back of the code a bit and bump this item's priority. -- Jon Molesa rjmolesa at consoltec.net if you're bored or curious http://rjmolesa.com From lists at frankmarion.com Wed Jun 27 00:50:35 2007 From: lists at frankmarion.com (Frank) Date: Wed, 27 Jun 2007 01:50:35 -0400 Subject: [thelist] JS: DOM generated page, IE & setAttribute() = failure Message-ID: <356FD42090C@zeph.dnsalias.com> I've used DOM to programmatically build a chunk of page (several paragraphs, a form and some fields). The fields have error checking that when a user inputs something out of range pops up an error message and changes the backgroundColor of the field to red. The following works correctly in FF, Opera and Safari iptYear.setAttribute("onClick","clearField(this);") I know setAttribute() is borked on IE (based on my research). Considering that the whole chunk of document is programmatically generated, how can I add an onclick event to a field that will both correctly trigger a function and pass it it's id? (so that clearField(obj) can reset the style and edit the value) Sample (of simplified) code below // HTML structure: INPUT. Year input. iptYear = document.createElement("input"); iptYear.setAttribute("type","text"); iptYear.setAttribute("name",'form_field_year'); iptYear.setAttribute("id",'form_field_year'); iptYear.setAttribute("value",Now.getFullYear()); iptYear.setAttribute("onClick","clearField(this);") // Some of the multiple variations that fail... // iptYear.setAttribute('"onclick", "clearField(this)"); //iptYear.setAttribute("onClick","clearField(document.getElementById('form_field_year'))"); //iptYear.onclick = clearField(document.getElementById('form_field_year')); f.appendChild(iptYear); // (f is the form) You can see it at work here: http://www.alladdictionsanonymous.com/tools/ Try entering 2008 in the year field... Thanks Frank Marion lists at frankmarion.com Keep the signal high. From codepo8 at gmail.com Wed Jun 27 01:25:57 2007 From: codepo8 at gmail.com (Christian Heilmann) Date: Wed, 27 Jun 2007 07:25:57 +0100 Subject: [thelist] JS: DOM generated page, IE & setAttribute() = failure In-Reply-To: <356FD42090C@zeph.dnsalias.com> References: <356FD42090C@zeph.dnsalias.com> Message-ID: <30bd6ffd0706262325l25ad768bw42e7019bf09028ed@mail.gmail.com> > iptYear.setAttribute("onClick","clearField(this);") Actually that makes sense that it fails. onclick is an event handler, not an attribute. if you use iptYear.onclick = function(){clearField(this);} instead it'll work. If you use onclick in your HTML you mix structure and behaviour which is not a clever plan in terms of maintenance. More: http://onlinetools.org/articles/unobtrusivejavascript/chapter4.html -- Chris Heilmann Book: http://www.beginningjavascript.com Blog: http://www.wait-till-i.com Writing: http://icant.co.uk/ From lee.kowalkowski at googlemail.com Wed Jun 27 04:36:12 2007 From: lee.kowalkowski at googlemail.com (Lee Kowalkowski) Date: Wed, 27 Jun 2007 10:36:12 +0100 Subject: [thelist] File recovery? In-Reply-To: <20070626201143.GG2687@jenna.rjmolesa.homelinux.net> References: <20070626175253.GE2687@jenna.rjmolesa.homelinux.net> <20070626180725.GF2687@jenna.rjmolesa.homelinux.net> <20070626201143.GG2687@jenna.rjmolesa.homelinux.net> Message-ID: <610592c90706270236p490602efpb99fd06a63b607f1@mail.gmail.com> On 26/06/07, Jon Molesa wrote: > I'd still like to know if it's even possible. Well, as you've overwritten the file instead of deleting it, it's a harder task. File recovery of a deleted file on most file systems is just a change to the directory, so the file is still on disk, but available for overwriting, recovery is possible pretty much automatically, there are many tools. If you truncate a file though, the chances are for a period of time, most of the bytes are still on disk, but automatic recovery is not very likely. You'll need a tool like Disk Investigator (http://www.diskcleaners.com/) to examine the sectors of your disk and manualy recover them. Why can't all file systems have file versioning like Files-11? http://en.wikipedia.org/wiki/Versioning_file_system. Another good discipline is to use a version control system like Subversion. -- Lee From moseley at hank.org Wed Jun 27 07:12:47 2007 From: moseley at hank.org (Bill Moseley) Date: Wed, 27 Jun 2007 05:12:47 -0700 Subject: [thelist]
and vs

Message-ID: <20070627121246.GA14502@hank.org> I tend to use fieldsets with every form, even for forms that have a few elements. Is it appropriate to use if the form only has a single field?
Name
It's been recommended that this is overkill and should use

for the legend instead (and I assume wrap the fields in some block-level tag). Seems appropriate since we are using it for most forms anyway -- doesn't seem like the number of fields (or number of fieldsets) should make a difference. -- Bill Moseley moseley at hank.org From jonathan.snook at gmail.com Wed Jun 27 07:37:54 2007 From: jonathan.snook at gmail.com (Jonathan Snook) Date: Wed, 27 Jun 2007 08:37:54 -0400 Subject: [thelist]
and vs

In-Reply-To: <20070627121246.GA14502@hank.org> References: <20070627121246.GA14502@hank.org> Message-ID: <6719e3ac0706270537q728ce4f9he75f4ebc7b7dfd6e@mail.gmail.com> On 6/27/07, Bill Moseley wrote: > I tend to use fieldsets with every form, even for forms that have a few > elements. > > Is it appropriate to use if the form only has a single field? My personal opinion is that it should be used for a SET of fields. It's like programming and storing everything in single element arrays. It's cumbersome. However, I'd say it's less offensive than my programming with my arrays example and could be avoided. On the other hand, creating a unified set of CSS will be easier if you're consistent with your coding standards. In this case, it'd save you having to write fieldset/legend styles for most pages and then form/h2 styles for other pages. So, there, I've managed to sit on the fence of that discussion well enough. :) -Jonathan From randalrust at gmail.com Wed Jun 27 07:42:22 2007 From: randalrust at gmail.com (Randal Rust) Date: Wed, 27 Jun 2007 08:42:22 -0400 Subject: [thelist]
and vs

In-Reply-To: <20070627121246.GA14502@hank.org> References: <20070627121246.GA14502@hank.org> Message-ID: On 6/27/07, Bill Moseley wrote: > I tend to use fieldsets with every form, even for forms that have a few > elements. Semantically, that is the correct way to do things. Personally, I found the LEGEND element to be a bit cumbersome, so I started using H3 inside of the FORM. I checked with the WAI group at the W3C and the feedback I got was basically as long as I had a clear indicator for the sections of the FORM, it was OK. In a situation like yours, I do something like this:

Basic Information

For the sake of consistency, you may want to have a heading before every FIELDSET, even if it only has one field. -- Randal Rust R.Squared Communications www.r2communications.com From kasimir.k.lists at gmail.com Wed Jun 27 07:45:13 2007 From: kasimir.k.lists at gmail.com (kasimir-k) Date: Wed, 27 Jun 2007 12:45:13 +0000 Subject: [thelist]
and vs

In-Reply-To: <20070627121246.GA14502@hank.org> References: <20070627121246.GA14502@hank.org> Message-ID: <46825BD9.1080505@gmail.com> Bill Moseley scribeva in 27/06/2007 12:12: > Is it appropriate to use if the form only has a single field? IMO yes. But often even more appropriate is to use