Re: Javascript and Perl Problem

2003-06-01 Thread drieux
On Friday, May 30, 2003, at 10:09 US/Pacific, Peter Fleck wrote: [..] I just finished optimizing the javascript for display on multiple browsers and it's working fine for static pages. [..] I forget who mentioned it, but making sure that your 'hearTo' documents are appropriately single quoted is

Re: Multiple checkboxes

2003-06-01 Thread drieux
On Friday, May 30, 2003, at 13:37 US/Pacific, anthony wrote: [..] I thought i have posted the same topic here, but i don't see it anywhere. Anyhow, i have multiple checkboxes with the same name i,e [..] It is not clear to me if you want to have multiple's come back to you - eg: test=one&test=

Re: Multiple checkboxes

2003-06-01 Thread anthony
Hi, well thank you, I also found thsi $value=param_fetch('name')->[$counter]; I think i will use this, because i'm going to put all answers in a hash. $HASH{$name}->[$counter]=$value. Anthony -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: newbie question - re: form validation

2003-06-01 Thread caven
Hi, Marjie You may find a lot of javascript functions to help you go through this problem. BTW, why not use perl+template model, which makes eaiser to use javascirpt in your page. Caven , Made In China -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Re: Multiple checkboxes

2003-06-01 Thread caven
If three checboxes are checked, the querystring will be : test=onetwothree, you can do in this way: @valuesList=split "",$value; Good Luck! Caven Made In China "Anthony" <[EMAIL PROTECTED]> дÈëÏûÏ¢ÐÂÎÅ :[EMAIL PROTECTED] > Hi, > > I thought i have posted the same topic here, but i don't see

Re: checkbox

2003-06-01 Thread Octavian Rasnita
Yes you can do this. Use something like: use CGI; my $q = new CGI; my @checkboxes = $q->param('name'); @checkboxes will contain the list with the values for all the form fields with the name "name". Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] - Original Message --

require "config.txt"

2003-06-01 Thread Sara
How to call the variables from the config file using CGI. pm? #!/usr/bin/perl use CGI; my $q = new CGI; require "config.txt"; print "Variables_from_the_config_file"; ??? Thanks, Sara.

RE: require "config.txt"

2003-06-01 Thread ted . weston
How is the config file arranged? You'll have to read the file in and setup your own variables, I surmise. .ted -Original Message- From: Sara [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 5:15 PM To: CGI Subject: require "config.txt" How to call the variables from the config fil

RE: require "config.txt"

2003-06-01 Thread Scot Robnett
# config.txt # $firstname = qq(Sara); $lastname = qq(Perlfreak); $email = q([EMAIL PROTECTED]); ### end config.txt ### - #!/usr/bin/perl -w use CGI; require q(/path/to/config.txt); my $query = new CGI; # Let's say there

RE: Javascript and Perl Problem

2003-06-01 Thread Peter Fleck
You have some code for us to view? .ted OK. It's an image map and I don't think it's a path problem as the images are appearing. The problematic function is below. It works with this style definition: #elMenuOver { position: absolute; visibility: hidden; top: 0; left: 0; } And

need help in desinging login page and connecting it with database

2003-06-01 Thread Annie
1. Need to send the userid and password from the login form to the "emprec " table in database and verify id and password. (id is first name and passwd is lastname). 2.After verification of the userid & password, the other fields record should be retrieved and displayed as a webpage. can anyone

Perl-MySQL question

2003-06-01 Thread Scot Robnett
If I have a table with date column formatted -00-00, and I want to force a specified date into the column as opposed to just using "now", how would I change the following? Sorry if this is a little off topic but I thought someone here might know. Not a cross-post, I'm not even on a MySQL list.

Re: How to print HTML immediately, and more than once?

2003-06-01 Thread Martin Lomas
[multi-posted to beginners & beginners-cgi] Hi, Re: my query - >I'm writing a simple file-upload Perl script. I have all the form and file handling >stuff done. >I want the script to write an HTML message to the user's browser before the upload >begins, you know, like "Upload in progress". Then