RE: What database would your recommend?

2002-06-07 Thread James Kelty
I would go for Postgres, if I were you. Relational, transactions, and foreign key assignments. May be a little slower than MySQL, but pretty much the same in stability. -James -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 7:59 PM To:

RE: running perl with -w

2002-04-11 Thread James Kelty
This might help if you are using the CGI.pm module. use CGI::Carp qw(fatalsToBrowser); -James -Original Message- From: Nate Brunson [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 11:23 AM To: [EMAIL PROTECTED] Subject: running perl with -w when you run perl with the -w flag

RE: File upload problems

2002-03-11 Thread James Kelty
Thanks! -James -Original Message- From: fliptop [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 4:48 PM To: James Kelty Cc: [EMAIL PROTECTED] Subject: Re: File upload problems James Kelty wrote: > I have written the below script for file uploading, but the script seems

File upload problems

2002-03-11 Thread James Kelty
upload more files."; print $cgi->end_html; #-End Perl Script-----# #-Begin HTML Form-# File upload page File Upload section... Please select a file to upload: #--End HTML Form-# James Kelty Sr. Unix Systems Administrator The Ashland Agency 541.488.0801 [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Substitute for grep command for Windows 2000

2001-12-18 Thread James Kelty
I believe that the Perl question was 'Is there a substitute or work-around for this problem I have?'. In so saying there is actually a perl fuction called, you guessed it!, grep. perldoc -f grep will give you the info you need. -James -Original Message- From: Evan Panagiotopoulos [mailt

RE: Easy way to get output from system()

2001-10-11 Thread James Kelty
You might want to try using readdir() and opendir() instead. Anyone using backticks in the cgi can cause security holes if they do not use taint. Also, using backticks spawns a separate shell, instead of running in the perl memory space. -James -Original Message- From: Brett W. McCoy

RE: where to get modules? and any gui for win32?

2001-10-10 Thread James Kelty
PM To: James Kelty Cc: Brett W. McCoy; [EMAIL PROTECTED] Subject: RE: where to get modules? and any gui for win32? that version only has no nmake for winnt systems. Thanks for the help thou eric On Wed, 10 Oct 2001, James Kelty wrote: > http://www.bell-labs.com/project/nmake/ > &g

RE: where to get modules? and any gui for win32?

2001-10-10 Thread James Kelty
http://www.bell-labs.com/project/nmake/ -James -Original Message- From: Eric Wang [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 10, 2001 2:47 PM To: Brett W. McCoy Cc: [EMAIL PROTECTED] Subject: Re: where to get modules? and any gui for win32? You know where I can get nmake? I us

RE: nslookup via gethostbyname

2001-10-09 Thread James Kelty
You know, I figured it out! I had a sub with a var = shift(@_); , but I didn't give the sub the paramSorry to bother everyone! -James -Original Message- From: James Kelty [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 09, 2001 3:00 PM To: [EMAIL PROTECTED] Subject: nslooku

nslookup via gethostbyname

2001-10-09 Thread James Kelty
use Socket; my ($name,$aliases,$addrtype,$length,@addrs) = gethostbyname($host); foreach $a (@addrs) { my $ipaddress = inet_ntoa($a); print $cgi->em("$ipaddress"); } } sub cgidie { my $message = shift(@_); my $cgi = $cgi; print $cgi->s

Sending someone to a new location...

2001-10-08 Thread James Kelty
to the login page again without having to give them a link to back to the login screen...or to the default page. -James -- James Kelty Sr. Unix Systems Administrator The Ashland Agency 541.488.5248 [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

String question...

2001-10-08 Thread James Kelty
... Thanks. -James -- James Kelty Sr. Unix Systems Administrator The Ashland Agency [EMAIL PROTECTED] 541.488.0801 "scribble" on perlmonks

System Health Checks...

2001-08-28 Thread James Kelty
wards a module that uses ICMP with nearly the same syntax as IO::Socket has for tcp? Thanks. -James James Kelty Sr. Unix Systems Administrator The Ashland Agency [EMAIL PROTECTED] 541.488.0801 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Configuration Files

2001-08-23 Thread James Kelty
quire statment and make the file a user routine? -James -- James Kelty Sr. Unix Systems Administrator The Ashland Agency [EMAIL PROTECTED] 541.488.0801 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: executing a cgi-script continously

2001-08-16 Thread James Kelty
Assuming of course that we are on a *NIX system. -James -Original Message- From: James Kelty [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 16, 2001 4:37 PM To: [EMAIL PROTECTED] Subject: RE: executing a cgi-script continously While I agree that having cron access does vary, your

RE: executing a cgi-script continously

2001-08-16 Thread James Kelty
While I agree that having cron access does vary, your solution wouldn't really handle the DB being down either, unless of course there is some error detection going on it the script in the first place. In either case, they would both work, or having an at now command at the bottom of the script wo

RE: executing a cgi-script continously

2001-08-16 Thread James Kelty
Why not use a crontab or atd type file? -James -Original Message- From: Simon K. Chan [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 16, 2001 3:34 PM To: [EMAIL PROTECTED] Subject: executing a cgi-script continously Hey all, Is it possible to have a CGI script that, at the end of

Strange Behavior?

2001-08-15 Thread James Kelty
oter; And if I don't miss my guess, this should print out the form if no params are entered and print out "Thanks" if they are. Right? Well, initially it seems that it works right, but if I don't enter anything, and hit submit, I get the "Thanks!". I thoug

This is driving me crazy....

2001-07-24 Thread James Kelty
27;450'}, `/bin/date +'%m-%d-%y'`,br,`/bin/date +'%H:%M:%S'`) ] ) ); Please ignore the back-ticks, they are coming out, I was just messing around. Anyway, I, from what I gathered from the perldoc thought that this would write tw

Writing Dynamic tables

2001-07-03 Thread James Kelty
align=>MIDDLE}, [ td({-bgcolor=>green,-width=>'150'},["$row[0]","$row[1]","$row[2]","$row[3]"]) ] ) ); print $cgi->end_table; } -- -- James Kelty Sr. Unix Systems Administrator The Ashland Agency [EMAIL PROTECTED]

Re: Table Confusion

2001-07-02 Thread James Kelty
[ > th(['Vegetable', 'Breakfast','Lunch','Dinner']), > td(['Tomatoes' , 'no', 'yes', 'yes']), > td(['Broccoli' , 'no', 'no', 'yes']), > td(['Onions' , 'yes','yes', 'yes']) > ] > ) >); > > HTH. > > --lucy -- -- James Kelty Sr. Unix Systems Administrator The Ashland Agency [EMAIL PROTECTED]

Table Confusion

2001-07-02 Thread James Kelty
; "END_HTML2" END_HTML2 Like this? -James -- -- James Kelty Sr. Unix Systems Administrator The Ashland Agency [EMAIL PROTECTED]

Strange Behavior

2001-06-29 Thread James Kelty
on the command line, but I thought that you could use it to process flags as well. I mean, I have before, I've looked over some of my older code, and I just can't see what I am doing differently, or incorrectly. All help is very much appreciated. Thank you! -James -- -- James Kelty Sr. Unix Systems Administrator The Ashland Agency [EMAIL PROTECTED]

Re: Including other files

2001-06-27 Thread James Kelty
Sorry about the confusion. I did mean in the body of the main cgi and subsequent cgis later. Not SSIs. Sorry about that. -James "Brett W. McCoy" wrote: > > On Wed, 27 Jun 2001, James Kelty wrote: > > > Can you include say a header and footer .cgi file that is j

Including other files

2001-06-27 Thread James Kelty
Can you include say a header and footer .cgi file that is just a subroutine? The reason I ask, is that it seems to me that it might make things (on a larger application) easier if all you had to do was mess with the middle content of the pages. Does this make sense at all? -James

Re: Help with make

2001-06-27 Thread James Kelty
"Moon, John" wrote: > > Any one know what to do next ... ? I've never used "make" before ... > > SUN1>perl5.00502 Makefile.PL INSTALLDIRS=site > INSTALLSITELIB=/opt/common/html/actual/cgi-bin/Library/CGI > > then > Try just running: $ perl Makefile.PL You have a version miss-match, that's al

Crypt function

2001-06-27 Thread James Kelty
Can anyone point out a good book that details the functionality of perl and crypt()? I would like to have a cgi page that allows new member to sign up, hold the info in a flat file, but I would like to have the passwords encrypted. Any help would be much appreciated! Thanks alot! -James