Weekly list FAQ posting

2002-12-05 Thread casey
NAME beginners-faq - FAQ for the beginners-cgi mailing list 1 - Administriva 1.1 - I'm not subscribed - how do I subscribe? Send mail to [EMAIL PROTECTED] You can also specify your subscription email address by sending email to (assuming [EMAIL PROTECTED] is your email

cgi session

2002-12-05 Thread Admin-Stress
Hi, How can I check cgi session? mmm .. maybe better I explain like this: I just want to make a 'secure site' that need username and password. So, the first page of my site would be fill in you username and password, for example, it will be placed here : http://www.mydomain.com/login.html

Re: cgi session

2002-12-05 Thread fliptop
On Thu, 5 Dec 2002 at 10:39, Admin-Stress opined: [snip] A:I just want to make a 'secure site' that need username and password. So, the first page of my site A:would be fill in you username and password, for example, it will be placed here : A: A: http://www.mydomain.com/login.html A: A:After

Re: cgi session

2002-12-05 Thread Christopher G Tantalo
Admin-Stress wrote: Hi, How can I check cgi session? mmm .. maybe better I explain like this: I just want to make a 'secure site' that need username and password. So, the first page of my site would be fill in you username and password, for example, it will be placed here :

Download problem

2002-12-05 Thread Stelian Iancu
Hello! I try to download a file from a CGI script. Here is the code: $self-header_props(-type='application/x-octet-stream', -attachment=$file); open(FILE, $file); binmode(FILE); $/ = undef; my($data) = FILE; close(FILE); binmode(STDOUT);

RE: Help with Auto Refresh

2002-12-05 Thread Danny Miller
Did you try putting meta http-equiv=refresh content=120 in your header? 120 = 2 minutes...i.e. the number is in seconds. Regards, Danny -Original Message- From: Kipp, James [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 4:16 PM To: [EMAIL PROTECTED] Subject: Help

Re: Substitute a word in a file

2002-12-05 Thread George P.
Hi, Thanks Tanton and Beau for replying. I wanted to replace the word with another of different length, but I guess that's not possible. The reason I wanted to do it this way, was because I thought it would be faster if I could directly alter the file, But I doesn't matter now, The method I'm

Weekly list FAQ posting

2002-12-05 Thread casey
NAME beginners-faq - FAQ for the beginners mailing list 1 - Administriva 1.1 - I'm not subscribed - how do I subscribe? Send mail to [EMAIL PROTECTED] You can also specify your subscription email address by sending email to (assuming [EMAIL PROTECTED] is your email address):

RE: Umount / mnt

2002-12-05 Thread Paul Kraus
inline How much data are you writing to /mnt/backup whilst it's mounted? When it completed a lot. Some machines have 20 some gigs worth of information. However right now all that I am is about 115 mb. But even then its just the first time. All the following times its just looking for newer

printing hash

2002-12-05 Thread Duarte Cordeiro
Hi, I have some data in a hash table, and I would like to print it in the same order as I created it. According to the user manual, the result of foreach $key (keys %hash) is random-like. I tried it, and :) its true. Any way I can print it like I want ? Example: I need to print in the same

RE: Help with Auto Refresh

2002-12-05 Thread Kipp, James
woops, i meant to send this post to the cgi list. yes, i tried that in the cgi head method, but i got an error. thanks -Original Message- From: Danny Miller [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 4:21 PM To: 'Kipp, James'; [EMAIL PROTECTED] Subject: RE: Help with

Re: Help with merging

2002-12-05 Thread mk46
Pete Emerson wrote: if ACTION1 is a subset of (killed chopped smooshed knifed) etc.etc and ACTION2 is a subset of (with by for from) etc. etc. (or even better, is ACTION2 always the word by ??) then here is my sample program: #!/usr/bin/perl -w use strict; my $text='^7Kore^7Adam killed BEST I

trouble with case-sensitivity

2002-12-05 Thread Andrew F.
I wrote a simple program, and I decided to put a piece at the end which would allow the user to start the program over. I did it like this: print \n\n . 'Do you want to do another comparison (Y or N)?' . \n; $again = STDIN; if ($again == /'y'/i) {; goto compare; };

RE: trouble with case-sensitivity

2002-12-05 Thread Paul Kraus
If ($again =~ m/^y$/i) If $agian matches y at the begging and end. /i setting it to ignore case. I think that's what you where going for. ^match at begging of string $match at end of string. Paul -Original Message- From: Andrew F. [mailto:[EMAIL PROTECTED]] Sent: Thursday, December

RE: trouble with case-sensitivity

2002-12-05 Thread Timothy Johnson
If you are going to do an equality comparison, you can leave out the regex. if(lc($again) eq 'y'){ should work. -Original Message- From: Andrew F. [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 7:40 AM To: [EMAIL PROTECTED] Subject: trouble with case-sensitivity I

Auto refresh

2002-12-05 Thread LRMK
I'm not using CGI module for writing cgis so i have to print html headers manualy what should i print to make the html page refresh evary 10

Re: Auto refresh

2002-12-05 Thread Gary Stainburn
On Thursday 05 Dec 2002 4:29 pm, LRMK wrote: I'm not using CGI module for writing cgis so i have to print html headers manualy what should i print to make the html page refresh evary 10 Hi LRMK, (Love the name) Firstly, why not use CGI? Re-inventing the wheel may be great fun but I

RE: simple date compare need to do now(); on Date:Calc

2002-12-05 Thread wiggins
On Thu, 05 Dec 2002 09:53:14 -0600, rob [EMAIL PROTECTED] wrote: Hello All Ive been away from this list for a while and am very rusty... I need to know how to pass now(); or today(); to my date compare These need to be Now() and Today() (note

Re: simple date compare need to do now(); on Date:Calc

2002-12-05 Thread rob
[EMAIL PROTECTED] wrote: On Thu, 05 Dec 2002 09:53:14 -0600, rob [EMAIL PROTECTED] wrote: Hello All Ive been away from this list for a while and am very rusty... I need to know how to pass now(); or today(); to my date compare These

Re: Auto refresh

2002-12-05 Thread LRMK
thanks actually when i was learning from a book(Mastering perl 5 by Eric Herman) that book doesn't say anything about cgi module. so i got to reinvent the weal again - Original Message - From: Gary Stainburn [EMAIL PROTECTED] To: LRMK [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday,

check system integrity

2002-12-05 Thread Johnson, Shaunn
Howdy: Are there any perl-related scripts / apps to check a Linux system for attempted break-ins, password cracking, general hacking, ip spoofing, etc? Thanks! -X

a very novice file location

2002-12-05 Thread Sam Harris
I m very new to perl, please notice the errors I am including and tell me how simple it is to correct them :) I have MD5.pm and Std.pm to be used in a directory above the one where perl is, my script gives me an error that says # ./net_watch ../net_watch[2]: use: not found ../net_watch[3]:

Re: a very novice file location

2002-12-05 Thread Rob Dixon
Look at the values in array @INC. This is a list of the paths where Perl expects to find modules included with 'use'. Your .pm files need to be beneath one of these, but note that the path needs to include the full module name. Suppose one of the elements of @INC is /usr/perl5/5.00503/lib

Re: a very novice file location

2002-12-05 Thread Jenda Krynicky
Date sent: Thu, 05 Dec 2002 12:56:14 -0500 From: Sam Harris [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: a very novice file location I m very new to perl, please notice the errors I am including and tell me how simple it is

Re: Auto refresh

2002-12-05 Thread LRMK
thanks actually when i was learning from a book(Mastering perl 5 by Eric Herman) that book doesn't say anything about cgi module. so i got to reinvent the weal again - Original Message - From: Gary Stainburn [EMAIL PROTECTED] To: LRMK [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday,

Snagging the last page of a report

2002-12-05 Thread Paul Kraus
Every month I have several reports I print to disk. They are hundreds of pages long. I only need the last page of each. As it is now I open it in a text editor scroll down and copy the last page to a new text document. This is irritating and I want to play with the Perl I have been learning. How

Re: Snagging the last page of a report

2002-12-05 Thread stelid-6
perldoc -f seek /Stefan Lidman Paul Kraus wrote: How do I look up info for a fuction like seek. I tried perldoc seek and perldoc Seek to no avail. Thanks. -Original Message- From: Bob Showalter [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 2:14 PM To:

Newest Version

2002-12-05 Thread Paul Kraus
I see that the newest version of Perl 5.8.0 is out. But when I follow the links to get it for my sco open server box it takes me to 5.0005. Where can I get version 5.8 for sco? Paul Kraus Network Administrator PEL Supply Company 216.267.5775 Voice 216-267-6176 Fax www.pelsupply.com -- To

Re: Newest Version

2002-12-05 Thread Mystik Gotan
ftp://ftp.cpan.org/pub/CPAN/src/perl-5.8.0.tar.gz -- Bob Erinkveld (Webmaster Insane Hosts) www.insane-hosts.net MSN: [EMAIL PROTECTED] From: Paul Kraus [EMAIL PROTECTED] To: Perl [EMAIL PROTECTED] Subject: Newest Version Date: Thu, 5 Dec 2002 14:40:46 -0500 I see that the

command execution timeout in Windows

2002-12-05 Thread Venkatesan.Saranatha
Hello List, I am trying to a write a simple subroutine in perl to take a command as argument, execute the command, if the command does not complete with in specified timeout interval, kill the process. If the program get completed within timeout interval, then return its output to the calling

acFTP

2002-12-05 Thread jason.pan
Hi, I am using a FTP server which is from http://acFTP.sourceforge.net/ . But, the Microsoft NT user logon not working. Does anybody use this product. Please give me some configuration samples in the files of OnLogin.rules.txt and OnRequest.rules.txt in order to setup different

Issues with CPAN

2002-12-05 Thread John Burski
I've a fresh install of Red Hat 8.0 with Perl 5.8.0 and I need to install some code to facilitate barcoding, specifically Code 128. Using CPAN I was able to install the Barcode::Code128 module. However, the documentation for the Barcode::Code128 module indicates that the GD module is

RE: Compare script fails

2002-12-05 Thread Patel, SamirX K
Could there be extra, non-visible characters attached to the subject coming back? You might want to try using a regular expression to do the comparison. It'll give you more control to pass or ignore stuff. Something the following will ignore extra leading or trailing characters, and ignore case

what is this?

2002-12-05 Thread Tom Allison
eval 'exec /usr/bin/perl -S $0 ${1+$@}' if 0; # not running under some shell - What does this do and why? -- mummy, n.: An Egyptian who was pressed for time. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: what is this?

2002-12-05 Thread simran
From the docs... -S makes perl use the PATH environment variable to search for the script (unless the name of the script starts with a slash). Typically this is used to emulate #! startup on machines that don't support #!, in the fol- lowing