Re: Looking for a little help with my first CGI

2002-08-29 Thread david
try replace your while loop with the following: while(){ chop; @line = split(/\|/); next unless(substr($line[0], 0, 8) eq $selectedDate); push(@display,{'displayDate'=>$line[0], 'pageViwed'=>$line[1], 'ip'=>$line[2],

Looking for a little help with my first CGI

2002-08-29 Thread Renfield
Hello, I am teaching myself perl. I have become stuck. My script is designed to write, read and display log files. I am having a hard time getting the correct data from the log file to a template file. My code will match the correct lines in the log file but when I pass it to the template it disp

Re: update.cgi

2002-08-29 Thread david
Vargas Media wrote: > Hi, > I have been studying with the O'Reilly book "CGI Programming with Perl" - > Chapter 5 page 99 > Below is an example of a upload.cgi that utilizes CGI.pm > I am not able to get it to work correctly yet and I am trying to find out what exactly is the error message that

update.cgi

2002-08-29 Thread Vargas Media
Hi, I have been studying with the O'Reilly book "CGI Programming with Perl" - Chapter 5 page 99 Below is an example of a upload.cgi that utilizes CGI.pm I am not able to get it to work correctly yet and I am trying to find out if it is the directory I am trying to load the file to or a progammatic

Weekly list FAQ posting

2002-08-29 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 addr

Taint mode and redirect with cookie

2002-08-29 Thread Alex Agerholm
Hi, I have 2 questions: 1) I am developing some Perl code under Windows 2000. If I in the first line writes !c:\perl\bin\perl -wT I get the error "too late for -T option" what does that mean 2) when I make a print redirect(-uri=>xxx.cgi, -cookie=>$cookie); then my xxx.cgi script does not get th