Re: Array Question

2004-05-14 Thread Wiggins d'Anconia
Luinrandir Hernsen wrote: Can I do something like this? perldoc -q quoting @CityA="Suburb1, Suburb2, Suburb3"; @CityB="Suburb1, Suburb4, Suburb5"; I don't think the above is doing what you think it is. It is assigning one element (the first) of the array to a string. If you are trying to assi

Array Question

2004-05-14 Thread Luinrandir Hernsen
Can I do something like this? @CityA="Suburb1, Suburb2, Suburb3"; @CityB="Suburb1, Suburb4, Suburb5"; $Var="TownCurrent"; $NewVar="$($TownCurrent)[1]"; I am trying to construct a sting from a variable. make sence? Lou -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: Post Method

2004-05-14 Thread Brad Lhotsky
On Fri, May 14, 2004 at 01:08:29PM +0100, Werner wrote: > Hi There, > > I've got a html page that uses the following: > > enctype="multipart/form-data"> > > and would like to change the "GET" method to the "POST" method. > > my current people.cgi looks like: > > $temp=$ENV{'QUERY_STRING'}; >

OT: Re: Browsers?

2004-05-14 Thread Wiggins d Anconia
> > On 14 May 2004, at 15:58, Werner Otto wrote: > > > Is there any way in which I can make my site appear the same in all > > available browsers? > > No. > > (I'd be very impressed if you could even make it appear similar in > Emacspeak, JAWS, Firefox, and Lynx). > > Work to public standard

Re: Browsers?

2004-05-14 Thread David Dorward
On 14 May 2004, at 15:58, Werner Otto wrote: Is there any way in which I can make my site appear the same in all available browsers? No. (I'd be very impressed if you could even make it appear similar in Emacspeak, JAWS, Firefox, and Lynx). Work to public standards, then tweak for bugs in popu

Browsers?

2004-05-14 Thread Werner Otto
Is there any way in which I can make my site appear the same in all available browsers? -- Kind Regards, Werner Otto -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Post Method

2004-05-14 Thread Paul Archer
1:08pm, Werner wrote: > Hi There, > > I've got a html page that uses the following: > > enctype="multipart/form-data"> > > and would like to change the "GET" method to the "POST" method. > > my current people.cgi looks like: > > $temp=$ENV{'QUERY_STRING'}; > #read(STDIN,$temp,$ENV{'CONTENT_LENGTH

Re: Post Method

2004-05-14 Thread David Dorward
On 14 May 2004, at 13:08, Werner wrote: and would like to change the "GET" method to the "POST" method. my current people.cgi looks like: $temp=$ENV{'QUERY_STRING'}; ... what changes to I have to make to implement my variables using the "POST" method. I'd bin that little lot in favour of the CGI

Re: bad type of variable?

2004-05-14 Thread Paul Archer
3:03pm, Aben Siatris wrote: > > : my $number=(0.75-0.54)/0.03; > > : print "$number\n"; > > : for (0..$number) > > : { > > : print "$_ / $number\n"; > > : } > > : > > : my $number=(75-54)/3; > > : print "$number\n"; > > : for (0..$number) > > : { > > : print "$_ / $number\n"; > > : } > > : > > :

Re: Data encryption

2004-05-14 Thread Alexander Blüm
On Fri, 14 May 2004 09:55:15 +0100 David Dorward <[EMAIL PROTECTED]> wrote: > On 14 May 2004, at 09:45, Alexander Blüm wrote: > > On Fri, 14 May 2004 09:25:27 +0100 > > David Dorward <[EMAIL PROTECTED]> wrote: > > > >> On 14 May 2004, at 08:33, Werner wrote: > >>> I've got a form that makes use of

Post Method

2004-05-14 Thread Werner
Hi There, I've got a html page that uses the following: and would like to change the "GET" method to the "POST" method. my current people.cgi looks like: $temp=$ENV{'QUERY_STRING'}; #read(STDIN,$temp,$ENV{'CONTENT_LENGTH'}); @pairs=split(/&/,$temp); foreach $item(@pairs) { ($key,$cont

Re: bad type of variable?

2004-05-14 Thread Aben Siatris
DÅa Friday 14 May 2004 13:23 Charles K. Clarkson napÃsal: > Aben Siatris wrote: > : > : is this normal? > > Is what normal? The output looks okay. > > : what's wrong? > > The script declares $number twice and your output > indicates you may not have warnings t

RE: bad type of variable?

2004-05-14 Thread Charles K. Clarkson
Aben Siatris wrote: : : is this normal? Is what normal? The output looks okay. : what's wrong? The script declares $number twice and your output indicates you may not have warnings turned on. What were you expecting that didn't happen? Or what happened

bad type of variable?

2004-05-14 Thread Aben Siatris
is this normal? what's wrong? my $number=(0.75-0.54)/0.03; print "$number\n"; for (0..$number) { print "$_ / $number\n"; } my $number=(75-54)/3; print "$number\n"; for (0..$number) { print "$_ / $number\n"; } output: 7 0 / 7 1 / 7 2 / 7 3 / 7 4 / 7 5 / 7 6 / 7 7 0 / 7 1 / 7 2 / 7 3 / 7 4 /

Re: Data encryption

2004-05-14 Thread Alexander Blüm
On Fri, 14 May 2004 09:25:27 +0100 David Dorward <[EMAIL PROTECTED]> wrote: > On 14 May 2004, at 08:33, Werner wrote: > > I've got a form that makes use of the GET method to provide the cgi > > script with details. My problem is that you can see all of the > > fields being posted. i.e. > > > > /

Re: Data encryption

2004-05-14 Thread David Dorward
On 14 May 2004, at 09:45, Alexander Blüm wrote: On Fri, 14 May 2004 09:25:27 +0100 David Dorward <[EMAIL PROTECTED]> wrote: On 14 May 2004, at 08:33, Werner wrote: I've got a form that makes use of the GET method to provide the cgi script with details. My problem is that you can see all of the fiel

Re: Data encryption

2004-05-14 Thread David Dorward
On 14 May 2004, at 08:33, Werner wrote: I've got a form that makes use of the GET method to provide the cgi script with details. My problem is that you can see all of the fields being posted. i.e. /people.cgi? surname=TestSurname&forename=TestName&location=TestLocation&phone=TestP honeNumber

Data encryption

2004-05-14 Thread Werner
Hi there, I've got a form that makes use of the GET method to provide the cgi script with details. My problem is that you can see all of the fields being posted. i.e. /people.cgi?surname=TestSurname&forename=TestName&location=TestLocation&phone=TestPhoneNumber&search=+Search+ is there any way