radio_group and colors

2003-03-25 Thread Jerry Preston
Hi!, I have the following code: print $query->radio_group( -name=> 'repair_type', -values => [ 'Service Contract', 'Other' ], -default => 'Service Contract', -rows=> 1,

Re: perl DBI

2003-03-25 Thread Brett W. McCoy
On 26 Mar 2003, mark sony wrote: > What are the good online sites which will give details about perl > DBI, about using perl interacting with databases,right from basic > to advanced stage? Start with http://dbi.perl.org/ -- Brett http://www.chapelperil

perl DBI

2003-03-25 Thread mark sony
Hi all What are the good online sites which will give details about perl DBI, about using perl interacting with databases,right from basic to advanced stage? mark ___ Odomos - the only mosquito protection outside 4 walls - Cli

How to run script Perl automatically???

2003-03-25 Thread lielie meimei
Hello...Would u help me to solve thi prob: How to run a perl script automatic when web server start running ??? Because i want to run a perl script without run it manually in konsole.. What should i do??? Thanks very-very for u help :) __ Do you

Re: select where clause question with replace subquestion

2003-03-25 Thread Wiggins d'Anconia
Jattie van der Linde wrote: I'm trying to build a dynamic piece of code that generates a HTML view like a year planner for all employees in the company all on one page. My appraoch is to use 2 Quesries, the first getting all the active employee names and the second then determines the dates of abse

Re: Help using %Hashes

2003-03-25 Thread Horace Franklin Jr.
Thanks, I will try your suggestion and let you know the results. - Original Message - From: "Jason Jolly" <[EMAIL PROTECTED]> To: "Horace Franklin Jr." <[EMAIL PROTECTED]> Sent: Tuesday, March 25, 2003 4:31 PM Subject: Re: Help using %Hashes > Yeah. > > You'll probably want to do somethi

Re: Help using %Hashes

2003-03-25 Thread Horace Franklin Jr.
Thanks! - Original Message - From: "brad" <[EMAIL PROTECTED]> To: "Horace Franklin Jr." <[EMAIL PROTECTED]> Sent: Tuesday, March 25, 2003 5:15 PM Subject: Re: Help using %Hashes > google for formmail.pl > > don't try to reinvent the wheel, i am a beginner also but after a few > hours l

RE: Perl "include" files

2003-03-25 Thread Peter Kappus
If you're just trying to implement some sort of templating for the presentation of your site, I'd suggest looking at the HTML::Template module or maybe HTML::Mason. If you're talking about code reuse, there are probably more effective OO ways to create objects that you reuse, etc. But a quick a

Fw: Help using %Hashes

2003-03-25 Thread Horace Franklin Jr.
Thanks! > - Original Message - > From: "Jordan Mclain" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, March 25, 2003 3:31 PM > Subject: RE: Help using %Hashes > > > > you could do this after you initiate the hash. > > > > foreach(sort keys %params) { > > $params{$_} =

Re: Help using %Hashes

2003-03-25 Thread Horace Franklin Jr.
Thanks! > - Original Message - > From: "Bob Showalter" <[EMAIL PROTECTED]> > To: "'Horace Franklin Jr.'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Tuesday, March 25, 2003 3:23 PM > Subject: RE: Help using %Hashes > > > > Horace Franklin Jr. wrote: > > > Help! > > > > > > I need help

Re: Help using %Hashes

2003-03-25 Thread Horace Franklin Jr.
Jason, There is no prerequisite that causes me to use hashes. I am a novice trying to write a cgi script that can be called by an html file, Once the script is called it will open file(s), displays the form, receive input from user, write the input to a file, close file(s), and provide the user w

Re: Trying to block out BGCOLOR

2003-03-25 Thread Todd W
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm making something, and need to block out BGCOLOR attribute. The problem > is, the BGCOLOR could be with or without quotation marks. This is the code I > used: > > $article =~ s/ bgcolor=("?)(.*?)("?)//gi > Here is how I would do it,

Help using %Hashes

2003-03-25 Thread Horace Franklin Jr.
Help! I need help using %hashes to receive input from the form below. What changes would I make to the syntax of the commented lines below to do this?. my $form =

RE: Help using %Hashes

2003-03-25 Thread Jordan Mclain
you could do this after you initiate the hash. foreach(sort keys %params) { $params{$_} = $cgi->param($_); } > Help! > > I need help using %hashes to receive input from the form below. > > What changes would I make to the syntax of the commented lines below > to do this?. -- To unsu

RE: Help using %Hashes

2003-03-25 Thread Bob Showalter
Horace Franklin Jr. wrote: > Help! > > I need help using %hashes to receive input from the form below. > > What changes would I make to the syntax of the commented lines below > to do this?. Well, none. That code creates the form, which is a different matter from receiving input from the form.

Perl "include" files

2003-03-25 Thread Jason Jolly
I'm currently in the process of templating my entire site to provide a consistent framework and I would like to have the following template set up: = == BEGIN 'template.cgi' #!/usr/bin/perl < include "use_information.inc" > HERE IS THE DISPLAY INFORMATIO

RE: CGI.pm

2003-03-25 Thread Bob Showalter
David Gilden wrote: > Good afternoon, > a few quick questions pertaining to CGI.pm: > > How can I get CGI.pm to return lower case tags. > > print end_html; # prints Upper Case probably need to upgrade CGI.pm. I get lower case: $ perl -MCGI=:standard -le 'print $CGI::VERSION; print end_html' 2

CGI.pm

2003-03-25 Thread David Gilden
Good afternoon, a few quick questions pertaining to CGI.pm: How can I get CGI.pm to return lower case tags. print end_html; # prints Upper Case is there something I can add locally to my script or do I have to send a request to my ISP? How would tell what version I have running at my account?

Re: select where clause question with replace subquestion

2003-03-25 Thread Jason Archer
This is a DBI question no? This is CGI. Try a different list - don't know the DBI mailing list address sorry. If you are looking for a regexp to replace your ' marks that should be quite easy - s/\'/replacementtext/g; but i expect that will throw up more problems in your SQL than it solves. Jas

select where clause question with replace subquestion

2003-03-25 Thread Jattie van der Linde
I'm trying to build a dynamic piece of code that generates a HTML view like a year planner for all employees in the company all on one page. My appraoch is to use 2 Quesries, the first getting all the active employee names and the second then determines the dates of absence and plot that on a 36

chmod troubles...

2003-03-25 Thread Lile, James AZ2 (VAW-115)
howdy, before I started perl, I found a perl script / guestbook and used it on my site (www.surrealistfasion.com) and a site I wrote for friends of mine (www.fivedollarlarge.com). After a couple weeks, anyone who tried to sign the guest book gets an error message to change the chmod to 0755. That i

CGI Script - problem opening filehandle

2003-03-25 Thread jonathan . musto
I'm writing a simple cgi script that takes the user name from the url and outputs it in the html. For example the url: blar...blar/cgi-bin/sis_home.cgi?un=mustoj Here is my script which works fine: #!/usr/local/bin/perl # script name: sis_home.cgi use CGI qw(:standard); my $q = new CGI; my $us