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

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/perl

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

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

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 You can

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', Hello

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 the

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, /www/webs/affinityinternet.co.za/stats/webusage/libweb; my $q = new CGI; open INFILE, test.txt; while

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? select size=1 name=time_track_minutes style=font-family: Verdana; font-size: 8pt option value=0 selected0 MIN/option

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 it.

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 a href=helpdesk.cgi?action=test_modifyname=$unique_id That's illegal HTML. You need encoded as amp; there. Paul If I was trying to *display* the ampersand in the