Re: Hyperlink to act like submit button...

2001-07-25 Thread Aaron Craig
At 18.07 24/07/2001 -0700, you wrote: >Paul> For example: > >Paul> >Paul> http://www.somewhere.com/script?page=2&mode=examples";> >Paul> Page 2 & examples >Paul> >Paul> > >You're getting the benefit of error-correction. > >Try that again setting the variable "copy" to "3". >Or "a

File notOpening.........why?

2001-07-25 Thread Rahul Garg
Hello Everybody, One of the files is not opening.Couldnt get WHY...possibly U CAN..HELP NOTE : the same program i am running independently on telnet with command line arguments , is running perfectlybut thru browser its not working..the problem its giving

Re: File notOpening.........why?

2001-07-25 Thread Mel Matsuoka
At 02:09 PM 07/25/2001 +0530, Rahul Garg wrote: >the same program i am running independently on telnet with command line arguments , is running perfectlybut thru browser its not working..the problem its giving is as follows .. > >the code goes like this : > ># !usr/bin/p

Re: File notOpening.........why?

2001-07-25 Thread Mel Matsuoka
Oh and a few additional problems I caught: At 02:09 PM 07/25/2001 +0530, Rahul Garg wrote: >the code goes like this : > ># !usr/bin/perl -w ^--- This space shouldnt be here. This alone will stop your script from running from the get-go. (Unless of course you specify the perl int

Re: Hyperlink to act like submit button...

2001-07-25 Thread fliptop
Aaron Craig wrote: > > At 18.07 24/07/2001 -0700, you wrote: > > I may be mistaken here, but: > > http://www.foo.bar/script.cgi?page=1&=2"=4";> > "&" > > > should parse exactly as one would expect, with no error correction involved > because > > & > > is a legal HTML entity > > &

Re: Perl Time

2001-07-25 Thread Gabor Szabo
There are quite a few solutions to this (not surprising) one o them is a module called Time::Local I think it is a standard module so typing perldoc Time::Local will explain it to you. You would still need to split the date into days, month and years and decided exactly which second you are lo

Re: Hyperlink to act like submit button...

2001-07-25 Thread Aaron Craig
At 07.13 25/07/2001 -0400, you wrote: >Click here > >name: fliptop©=copy Absolutely correct! What a bummer -- they're doing reverse error correction :) Even though an HTML entity is supposed to end with a semi-colon, they go ahead and accept it if you leave it off, blech. Kinda makes you wo

sorting email data

2001-07-25 Thread Larry Mullis
I am running a form-to-email script and the data sent to the email address arrives in random order. I can't determine how the script is selecting the order in which it is sent. What do I need to do to send the data line-by-line in the order it appears on the form? Thanks, Larry M. Here is the

Re: Perl Time

2001-07-25 Thread Gabor Szabo
you should always try your scripts on your own computer, it will save a lot of time. download perl for Windows if that is what you have on your desk. www.activestate.com you can also read the perl documentation at www.perldoc.com -- Gabor On 2001.07.25 16:45 Fred Sahakian wrote: > Hi thanks f

Date

2001-07-25 Thread Fred Sahakian
Im Stuck! I need to figure out how to covert a date such as 10242001 into Epoch time or another format where as I can subtract 2 calendar dates and get a number. thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Date

2001-07-25 Thread Venkat Mohan
You can use Time::Local package. There is a function timelocal takes the seconds, minutes, hours, day, month, year and returns epoch seconds. - Venkat -Original Message- From: Fred Sahakian [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 25, 2001 9:53 AM To: < Subject: Date Im Stuck!

Re: Can't display counter....

2001-07-25 Thread Baltazar Ruiz
Hi!!! does anyone know anything about this problem??? At 15 36 7/19/2001 -0500, Baltazar Ruiz wrote: >Hi > >I'm trying to put a simple text counter with this simple script: > >**ScRiPtScRiPt**ScRiPt**ScRiPt**ScRiPt**ScRiPt**ScRiPt**ScRiPt**ScRiPt**ScRiPt**ScRiPt >#!/usr/bin/perl >print

RE: Date

2001-07-25 Thread Bradley M. Handy
Also, take a local a the Date::Calc module for the date arithmetic. Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] > -Original Message- > From: Venkat Mohan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 25, 2001 12:58 PM > To: 'Fred Sahakian'; < > Subject: RE: Date > > >

RE: counting in CGI - any pointers?

2001-07-25 Thread Adam Mc Gregor
the file changes every night it is a list of website addresses pulled off the server followed by the site's size, ever site is on its own line followed by its size: exactly like this: johnw/ 123 adamp/ 345 pault/ 2345 miket/ 567 and so on, there are about 500 web sites.

re: e-mailing HTML form results

2001-07-25 Thread Helen Dickey
Now I am getting the error message Can't call method "recipient" on an undefined value at feedback1SMTP.pl line 77. Does this mean that my address as recipient is wrong? Helen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: e-mailing HTML form results

2001-07-25 Thread Jason Purdy
I had this earlier this morning - this means the Net::SMTP object wasn't created. In my code, I redirected STDERR and created the object using Debug=1 to get more information. open (STDERR, ">>/logs/mail_log"); $msHandle = Net::SMTP->new ('localhost', H

e-mailing HTML form results (probably repeat question)

2001-07-25 Thread Ryan Davis/Pamela Karr
I'm trying to get email myself the results of a form, so I can moderate a list, and delete an entry if anyone puts in cuss words... I'm trying to do it with a system("\(mail [EMAIL PROTECTED] < messages\)\&"); The page loads to this point, then quits. I put the & in to run the mail program in

Re: e-mailing HTML form results (probably repeat question)

2001-07-25 Thread Peter Cline
At 03:26 PM 7/25/01 -0500, you wrote: >I'm trying to get email myself the results of a form, so I can moderate a >list, and delete an entry if anyone puts in cuss words... I'm trying to do >it with a > >system("\(mail [EMAIL PROTECTED] < messages\)\&"); > >The page loads to this point, then quits

RE: counting in CGI - any pointers?

2001-07-25 Thread Moon, John
Here is one way to do it if I understand what you want ... use strict; use lib "Library"; # where my library is ! use CGI; use CGI::Pretty; my (@sites, $site); my $total = 0; # open INFILE, ") { if (/\/$/) { $site = $q->td({-align=>'CENTER'}, $q->font({-color=>'RED'},"http://me

RE: counting in CGI - any pointers?

2001-07-25 Thread Benjamin Drury Huyck
Adam, You could add a line to your script that adds the extracted number to a variable (like $total). Just add: ... $inline = ; chomp $inline; @line = split (" " , $inline); $total += $line[0] unless($line[0] =~ m/[^\d]/); #added print <<"EOF"; ... You can omit the unless statement if you are p

taint mode problems

2001-07-25 Thread Bill Barrett
I really really want to keep -T in my shebang to keep my script safe, but I simply cannot get the script to work properly. I am driving myself crazy because I don't want to cop out and delete the -T. I collect about 10 pieces of data from a form, store them into variables, and then match them to

Tracking drop down box selections...

2001-07-25 Thread Daniel Falkenberg
List, I can't find much documentation on this but I really want to be able to track user selection from drop down boxes. Can some one tell me the best way to go about this? 0 MIN 5 MIN 10 MIN 15 MIN 20 MIN 25 MIN 30 MIN 35 MIN 40 MIN 45 MIN 50 MIN

Re: Tracking drop down box selections...

2001-07-25 Thread Curtis Poe
--- Daniel Falkenberg <[EMAIL PROTECTED]> wrote: > The above is my HTML. Therefore if the user selects 20 min I want 20 min to > be passed onto the next sub in my script. Would I go about it like this... > > my $selection = param('time_track_minutes'); Yup. That's pretty much how you would do

DROP DOWN BOXEN

2001-07-25 Thread Daniel Falkenberg
List, I would like the following HTML/PERL sub. to go forth and grab all the users from my database and place them into a drop down box. Problem is I am getting information allover the page everywhere? Could some give me some hints on how to grab information from a database and display this info

Linux Beginners Mailing List as good as this one

2001-07-25 Thread Rahul Garg
Hello Everybody, I want to know the names of Linux Beginners mailing list as good as this one of Perl. Waiting for Reply, Thanx, Rahul

Re: Hyperlink to act like submit button...

2001-07-25 Thread Randal L. Schwartz
> "Fliptop" == Fliptop <[EMAIL PROTECTED]> writes: Fliptop> so that only leaves one question: how would you encode something like Fliptop> this: Fliptop> name=fliptop Fliptop> company=at&t Fliptop> ? Fliptop> Click Fliptop> here Fliptop> name: fliptop Fliptop> company: at Fliptop> t:

Re: Hyperlink to act like submit button...

2001-07-25 Thread Paul Campbell
On Tue, Jul 24, 2001 at 06:07:03PM -0700, Randal L. Schwartz wrote: > > "Paul" == Paul Campbell <[EMAIL PROTECTED]> writes: > > Paul> > >> > >> That's illegal HTML. You need "&" encoded as "&" there. > > Paul> If I was trying to *display* the ampersand in the browser then yes. > Paul> In