Re: need help

2006-03-21 Thread Chris Devers
there isn't enough information to provide more feedback. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Backing Up Files to a Remote Server

2005-12-14 Thread Chris Devers
. Demonstrate that you're trying to solve this yourself, and we will be happy answering any questions that come up as you're learning. Starting points: http://learn.perl.org/, O'Reilly books, Google.com. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Filering a file

2005-12-05 Thread Chris Devers
ways to get access to these books, including O'Reilly's Safari book subscription service, your favorite local or online bookstores, and good old public libraries. I'd have expected someone with a .gov address to be more cognizant of such flagrant circumvention of copyright law... :-) -- Chris

Re: uninitialized variable

2005-11-01 Thread Chris Devers
On Tue, 1 Nov 2005, Adedayo Adeyeye wrote: my $action = param('form_action'); Try setting a default value when 'form_action' isn't specified: my $action = param('form_action') or ''; Or set it to 0, or 'do nothing' or undef, or whatever is appropriate. -- Chris Devers

Re: uninitialized variable

2005-11-01 Thread Chris Devers
'or' is clearer than '||' for this kind of thing, but if PBP had a different rationale I can't remember what it was... -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

RE: uninitialized variable

2005-11-01 Thread Chris Devers
admin config issue, not CGI. -- Chris Devers by¯LcìØL è…8 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: implementing links on a system command output

2005-10-14 Thread Chris Devers
to be to sort out exactly how this is all supposed to be interoperating in the first place. Once you have a clearer sense of that, implementing the specific components of the system should get easier for you. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: running interactively

2005-10-12 Thread Chris Devers
. Is there a module which works in this way? Yes: Expect.pm How can I do? Read the documentation, then write a program that uses Expect.pm. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http

Re: Chemistry: Empirical and Molecular fomula?

2005-09-26 Thread Chris Devers
to come back to the list with specific questions and code. -- Chris Devers ÁS¶9êN™–¢9 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: XHTML (was Re: One link to 2 frames)

2005-09-21 Thread Chris Devers
On Wed, 21 Sep 2005, David Dorward wrote: XHTML 1.1 is XHTML 1.0 Strict with Ruby added. Really? As in the scripting language Ruby? Weird... -- Chris Devers öQKÂm݃g5¾ÿ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http

Re: Forcing a save as' dialogue box to come up on left click

2005-09-18 Thread Chris Devers
of Javascript hack that works with both of them as well as Internet Explorer, but have fun trying to maintain it. What have you tried so far? -- Chris Devers ­ž ̙EÚř© -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org

Re: How big is too big?

2005-09-17 Thread Chris Devers
into smaller scripts -- just as when to start breaking things into smaller subroutines -- is largely a matter of personal preference, based on your own personal experience with writing and maintaining your code over time. -- Chris Devers •5dåt²Ä»C  -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: getstore and comments

2005-08-19 Thread Chris Devers
, depending on where it is and how your web server is set up). I'm not sure what you mean by must be a file ... or ... normal variable ... or ... filehandle; the way you write this implies that it's one, or the other, or the third, but that isn't necessarily the case. -- Chris Devers

Re: htaccess question

2005-08-11 Thread Chris Devers
to see. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Script execution time.

2005-08-03 Thread Chris Devers
shouldn't have to install anything extra to run it. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: How do I make two different web pages come up from one CGI?

2005-08-03 Thread Chris Devers
-type: text/html\n\n|, qq|HTMLHEADTITLESeneschals Report/TITLE/HEAD\n|, qq|BODY\n| qq|2\n|, qq|/body/html\n|; } Or something like that. -- Chris Devers

Re: How to browse and select a remote file and then return the filename

2005-07-07 Thread Chris Devers
. Admittedly, that's something like 90% of web users, but Firefox, in particular, seems to be growing fast now. Out of curiosity, why do you need to do this? What problem are you trying to solve ? Could you get the result you need by some way other than figuring out remote file paths ? -- Chris

Re: How to browse and select a remote file and then return the filename

2005-07-07 Thread Chris Devers
On Thu, 7 Jul 2005, David Dorward wrote: On Thu, Jul 07, 2005 at 11:42:29AM -0400, Chris Devers wrote: It isn't possible. For that sort of thing you'll need something like an ActiveX control with permission to read the user's file system. (Or to get the user to type the path

Re: HTML::Templates

2005-06-28 Thread Chris Devers
anything exotic on the clickthrough target to obscure things, because the frameset is already providing, for free, as much obfuscation as you can reasonably expect to be possible. So, no need to force all data through as POST data, no Apache trickery, etc. -- Chris Devers -- To unsubscribe, e

Re: Mmodifing Windows registry key

2005-06-20 Thread Chris Devers
linked above provide lots of examples of both reading writing registry keys, so there should be a method that maps well to the kind of work that you're doing. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http

Re: Active Perl Script to delete 4 hours old files on Windows

2005-06-13 Thread Chris Devers
, it should be possible. Hint: on Unix, stat $filename would help you: http://perldoc.perl.org/functions/stat.html I don't use Windows so I can't verify that it'll behave the same way with ActiveState/Windows, but I suspect it will work just fine. Thank you. You're welcome. -- Chris

Re: No appending...

2005-05-18 Thread Chris Devers
very far... :-) -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Perl equivelant

2005-05-02 Thread Chris Devers
things like gethostbyaddr / gethostbyname / getnetbyaddr / getnetbyname / etc. All of these have perldoc -- `perldoc of gethostbyaddr` etc -- as well as sections in all the main Perl books: _Programming Perl_, _Perl in a Nutshell_, _Perl Cookbook_, etc. -- Chris Devers [EMAIL PROTECTED

Re: Remote Desktop

2005-04-20 Thread Chris Devers
is this a CGI question? -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

RE: Query string to URL?

2005-03-07 Thread Chris Devers
://mysite.com/pages/$1 Won't that work? -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: cgi scripts as root or similar - best method

2005-02-25 Thread Chris Devers
approach to the problem... -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Favorite Perl CGI Framework for Web Site Development?

2005-02-11 Thread Chris Devers
that are now available with PHP. I'd be delighted to be corrected about this, but it seems like most of the people that are working on such frameworks are using other languages these days. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Premature end of script headers

2005-02-08 Thread Chris Devers
, and only annoys people. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: embedding dynamic images in html output

2005-01-21 Thread Chris Devers
server between your server that generates the pages and the client -- both Apache and Squid can do this, among others. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Extracting links. - without modules

2005-01-17 Thread Chris Devers
all the special cases that come up over time. If you just parse it at the outset, such as with HTML::SimpleLinkExtor, then the code should be simple, robust, and useful for a long time. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Browser times out

2004-12-30 Thread Chris Devers
from CPAN. In this way, you should be able to see pretty clearly where things are breaking down, and you won't be distracted by what the browser is doing in the background, because it won't *be* in the background. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: File Manager

2004-12-28 Thread Chris Devers
as a local directory tree in Windows Explorer or Mac Finder: http://www.webdav.org/ http://www.webdav.org/mod_dav/ * If you're hell-bent on writing something, what have you got so far? -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: Variables taken from browser stuck

2004-11-16 Thread Chris Devers
On Tue, 16 Nov 2004, Michael S. E. Kraus wrote: Err... how do I clear the browser's cache? That depends on what browser you're using! -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http

Re: CGI.pm info on the web

2004-10-26 Thread Chris Devers
On Tue, 26 Oct 2004, Adamiec, Larry wrote: This link may be of help to some people. http://www.samag.com/documents/s=9408/ur0411l/ I bet it would go over even better on the CGI list :-) -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Reimplement CPAN as a Torrent?

2004-10-20 Thread Chris Devers
should buy them! If you like them - you shouldn't pirate them! -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: getting files from the internet

2004-10-14 Thread Chris Devers
... -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Background info

2004-09-24 Thread Chris Devers
-cgi.sourceforge.net/scripts.shtml If the formmail you are using is not this one, it probably should be. Download that one and read over the documentation it provides, then try to install it and let us know -- in some detail -- if anything breaks. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL

Re: ordered hash

2004-09-24 Thread Chris Devers
{$key}; } etc. Or just foreach $key ( sort keys %hash ) { my $value = $hash{$key}; } to skip the temp variable. Make sense ? -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org

Re: ordered hash

2004-09-24 Thread Chris Devers
the one that you're describing. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Making the program run faster

2004-09-18 Thread Chris Devers
... (hoping that it will work faster). I don't *think* there should be a whole lot of speed difference here, though of course the way to know that for sure is to benchmark them. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http

Re: simultanious access

2004-09-18 Thread Chris Devers
? Or is this somehow taken care of? Yes, it's an issue. That's what `flock` is for. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Making the program run faster

2004-09-18 Thread Chris Devers
On Sat, 18 Sep 2004, Gunnar Hjalmarsson wrote: Chris Devers wrote: if you need a speed boost then the best strategies are to [a] use a smaller subset of CGI.pm, Does that really make a lot of difference? That was my understanding, but I admit I haven't benchmarked it. If only importing

Re: Making the program run faster

2004-09-18 Thread Chris Devers
://perl.apache.org/docs/1.0/guide/performance.html#Preloading_Registry_Scripts_at_Server_Startup And for a Apache 2 / mod_perl 1.99 overview: http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Registry_Scripts -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: image manipulation (scaling)

2004-09-17 Thread Chris Devers
at: http://www.as220.org/shawn/PGP/ There are some others, but I::M is the big one by far... -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: OPEN command in Perl

2004-09-15 Thread Chris Devers
at the same time. Please do not do that. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: CGI Book Advice sought ...

2004-09-15 Thread Chris Devers
to learn this stuff well, mod_perl is the way to go. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: CGI Book Advice sought ...

2004-09-15 Thread Chris Devers
On Wed, 15 Sep 2004, hcohen2 wrote: Chris Devers wrote: On Wed, 15 Sep 2004, hcohen2 wrote: However, there is a reader's review of the first edition that seems to ring true and, moreover, is not complimentary. ...and the URL for that is... ? Here? http

Re: Quick table format question

2004-09-14 Thread Chris Devers
browser, stylesheets should be much easier to control than tables ever were, and will give much better results... -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Quick table format question

2004-09-14 Thread Chris Devers
it on -- basically anything newer than Netscape 4.7. That's good enough for me -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: DirectoryIndex

2004-09-13 Thread Chris Devers
such as http;//yoursite/project/index.pl and http;//yoursite/project/ end up being the same thing. They should be, but test it. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org

Re: XHTML + CSS site

2004-09-13 Thread Chris Devers
it over time, you can always switch to something else. The best thing to do is just start making your site, using a template module like HTML::Template to generate the XHTML + CSS layout, and let the list know if you start having specific problems. -- Chris Devers -- To unsubscribe, e

Re: Several images from same cgi script

2004-09-13 Thread Chris Devers
image before reverting to making a new one. (This amounts to caching again, but in a smarter way than the other case, where it may be easier to just put Squid in front of your server...) Make sense? -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: Several images from same cgi script

2004-09-13 Thread Chris Devers
of the images sometimes not showing up -- or so I would hope... -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

RE: Several images from same cgi script

2004-09-13 Thread Chris Devers
( $image ); exit 0; Fleshing out these subroutines is an exercise for the reader :-) -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: CGI.pm : Handling Carriage Returns from textarea()

2004-09-09 Thread Chris Devers
problem like this, mucking around with regular expressions isn't so bad, but if you really want to do it right, it's worth pulling in a parsing engine like HTML::Parser or HTML::TreeBuilder or something along those lines... -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: CGI.pm : Handling Carriage Returns from textarea()

2004-09-09 Thread Chris Devers
On Thu, 9 Sep 2004, Gunnar Hjalmarsson wrote: I can't see what this has to do with HTML parsing. The immediate problem has nothing to do with parsing, but it seemed like some of the suggestions given were starting to go in that direction. Unless I was just misreading things... -- Chris Devers

Re: CGI.pm : Handling Carriage Returns from textarea()

2004-09-09 Thread Chris Devers
is going to be phased out. (Well ok probably not phased out, but new tools will eventually stop supporting it, so you'll have to use old browswers (etc) to view old documents.) -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http

Re: PHPerl

2004-09-08 Thread Chris Devers
it. There are others, but these are the big ones. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: PHPerl

2004-09-08 Thread Chris Devers
frameworks. If you actually, literally need ASP support, then it is your best bet, but if not you'll probably find much more mature software and much broader support if you decide to go with something like Mason or Template Toolkit instead. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL

Re: which modules to use?

2004-09-06 Thread Chris Devers
might be more appropriate. But for the common case -- CGI scripts mod_perl modules -- something like CGI.pm should do the job just fine. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org

Re: CGI scripts, security and MySQL

2004-09-03 Thread Chris Devers
scripts, and then turn on Apache::DBI for database connection pooling. This can help a lot. Does this help ? More questions ? -- Chris Devers [EMAIL PROTECTED] http://devers.homeip.net:8080/blog/ np: 'Mr. Loh's Not Afraid to Be Naked' by Sandra Tsing Loh from 'This American Life: Lies

Re: CGI scripts, security and MySQL

2004-09-03 Thread Chris Devers
... -- Chris Devers [EMAIL PROTECTED] http://devers.homeip.net:8080/blog/ np: 'Drama Bug' by David Sedaris from 'This American Life: Lies, Sissies, and Fiascoes' -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http

Re: CGI scripts, security and MySQL

2004-09-03 Thread Chris Devers
, with control /or a record of who is doing what in the database. He wants some kind of database connection persistance. He is not trying to set environment variables in Apache. It isn't obvious how setting variables like this gets him anywhere near the stated requirements of the system. -- Chris

RE: Cookie Security

2004-08-31 Thread Chris Devers
use of Access (or a similar desktop database) is an inappropriate kludge that should not be used for anything meant to be taken seriously. From what I've heard, Microsoft makes it very easy for people to upgrade databases from Access to SQL Server; you should please consider this. -- Chris

Re: CGI Problem

2004-08-26 Thread Chris Devers
, or maybe drive it with OLE or something. Please show the list what you have so far, and what you're getting stuck on, including any relevant Perl code and whatever information you have about this .exe file. With that available, we might be able to help. -- Chris Devers [EMAIL PROTECTED] http

Re: How to get browsers IP address?

2004-08-24 Thread Chris Devers
On Tue, 24 Aug 2004, Siegfried Heintze wrote: How do I get the browser's IP address in a server side cgi perl script? It's in $ENV{'REMOTE_ADDR'}. Poke at your %ENV hash for other possibly useful values. -- Chris Devers [EMAIL PROTECTED] http://devers.homeip.net:8080/blog/ np: 'Charles

Re: The connection was refused when attempting to connect 127.0.0.1.

2004-08-14 Thread Chris Devers
it is) This may help narrow things down. -- Chris Devers [EMAIL PROTECTED] http://devers.homeip.net:8080/blog/ np: 'Bright Sunny South' by Alison Krauss Union Station from 'New Favorite' -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http

Re: Getting local apache server to connect and to execute perl script ...

2004-08-13 Thread Chris Devers
) and some other IP address which can be reached on the local network possibly anywhere. So -- you're not using your server's real address, and nothing else you've done is going to get around this :-) Make sense? -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Is merak.montrose.net/challenge ... real?

2004-08-13 Thread Chris Devers
set up a challenge / response spam filter on the email address that he's receiving list mail from. These messages can be safely ignored. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org

Re: Restart Apache

2002-11-26 Thread Chris Devers
, either by prefixing that line or the whole script with 'sudo' (and using your account password when prompted) or by placing this in root's crontab. -- Chris Devers[EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]