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
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
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
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
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
>
> &
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
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
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
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
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]
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!
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
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
>
>
>
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.
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]
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
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
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
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
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
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
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
--- 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
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
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
> "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:
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
27 matches
Mail list logo