RE: Little code fragment request (Is this code ok?)

2002-05-07 Thread Bob Showalter
> -Original Message- > From: Rafael Cotta [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 07, 2002 2:15 AM > To: [EMAIL PROTECTED] > Subject: Re: Little code fragment request (Is this code ok?) > > > Well, after searching I come to this: > > #--- > sub WriteLog > { > op

(OT) RE: Matching string (here I am again)

2002-05-07 Thread John Brooking
Okay, what's the [2] doing? It appears to be saying to match \d exactly two times, but I thought that would be {2} instead. But changing your [] to {} leads to the same problem as the original expression. You probably know, Camilo, but since you didn't say, let me guess at why Rafael's original R

RE: Matching string (here I am again)

2002-05-07 Thread Camilo Gonzalez
Try /[a-z]*\d[2]/ -Original Message- From: Rafael Cotta [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 12:16 PM To: [EMAIL PROTECTED] Subject: Matching string (here I am again) First of all, special thanks to Drieux. I need to check if a string with the following patern: .html

Matching string (here I am again)

2002-05-07 Thread Rafael Cotta
First of all, special thanks to Drieux. I need to check if a string with the following patern: .html Like "cae01.html" or "djavan10.html" (without quotes). I tryied $musica =~ /([a-z]*)[0-9][0-9]\.html/ but this matches "djavan001.html", when this should not. Wich regexpr can I use? This ti

Re: Accessing form elements before submit..

2002-05-07 Thread MARCOS LABORDE
You can do client processing in javascript but you can also put your values in hidden fields as you change your array of values, use one button for the final submit and other submit buttons disguised as preprocessing buttons. >>> onkar sangoram <[EMAIL PROTECTED]> 05/07/02 06:58AM >>> Hi , I b

(OT) Re: Accessing form elements before submit..

2002-05-07 Thread John Brooking
To expand a bit from a more general persective: The important distinction here is what is client-side and what is server-side. HTTP is a request/response protocol. So the interaction looks like this: 1) User (Client) requests page where your form is 2) Server delivers that page 3) User fil

Re: Accessing form elements before submit..

2002-05-07 Thread David vd Geer Inhuur tbv IPlib
Hi Onkar, Yes there is a solution, Javascript :) Maybe you'dd take a look at : http://codepunk.hardwar.org.uk/bjs.htm Believe me, it's easier than you think. Good luck. David > > Hi , > I badly need ur help regarding to the CGI scripts. > i have written one perl script to design a tree ,wi

Re: Mod Perl / CGI problem

2002-05-07 Thread Elwyn Chow
Hi, I forgot to ask this... In the other parts of my modPerl script, are there any other glaring errors in my programming style that I've programmed for modPerl besides the problem with that particular variable and what's the easiest way to fix them without changing my lo

Mod Perl / CGI problem

2002-05-07 Thread Elwyn Chow
Hi, Is there a good web site where I can get tips of potential modPerl problems, particularly relating to CGI? Also, I'm getting a modPerl problem with my script: I keep finding that $param{form}{type} has the wrong value in it. Any help would be greatly apprecia

Accessing form elements before submit..

2002-05-07 Thread onkar sangoram
Hi , I badly need ur help regarding to the CGI scripts. i have written one perl script to design a tree ,with recursive function in it. I am accepting parameters from the user () and then splicing the array.The things are fine. But when i want to put it in the web page,there will be a text-box

Re: trouble setting up (solution?)

2002-05-07 Thread Jake
Several people have responded so I thought I'd post my solution... In commonhttpd.conf (someone keeps changing the configuration file) there were the following lines... AllowOverride All Options ExecCGI and I inserted a couple of lines so it now reads... AllowOverride All O