Re: really basic question about CGI module

2002-12-13 Thread Douglas Gardiner
- Original Message - From: "Brent Michalski" <[EMAIL PROTECTED]> To: "james lundeen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, December 13, 2002 12:30 PM Subject: Re: really basic question about CGI module > > Use the $dbh->quote function, it is part of the DBI interface.

Re: automatically downloading files into a certain directory

2002-12-13 Thread Octavian Rasnita
Do you know if gtk can work under Windows? Do you know if it creates an interface accessible for the blind? Thank you. Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] - Original Message - From: "zentara" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, Decem

Re: really basic question about CGI module

2002-12-13 Thread Brent Michalski
Use the $dbh->quote function, it is part of the DBI interface... $foo = $dbh->quote($foo); Brent james lundeen

Re: really basic question about CGI module

2002-12-13 Thread Jordan Mclain
use place holders in your SQL statements, and let the DBD driver worry about what is in your input. ex: my $sth = $dbh->prepare("INSERT INTO table (value1, value2) values (?, ?)"); $sth->execute($value1, $value2); $sth->finish(); On Thu, 2002-12-12 at 14:41, james lundeen wrote: > I "use CGI" i

RE: really basic question about CGI module

2002-12-13 Thread Peter Kappus
In my experience, the only character you really have to watch out for with mySQL is a single quote (') which you can just replace with a double-single quote (''). So I usually do something like this on each piece of text that I plan to write to a database: $someInput =~ s/'/''/g; good luck! --

really basic question about CGI module

2002-12-13 Thread james lundeen
I "use CGI" in my routines very often and at times need to look at the incoming values from forms to make sure that they don't include "'" "," and other things that might blow up my connection with mysql database. Can someone please give me a nice piece of reusable code that will read the inco

really basic question about CGI module

2002-12-13 Thread james lundeen
I "use CGI" in my routines very often and at times need to look at the incoming values from forms to make sure that they don't include "'" "," and other things that might blow up my connection with mysql database. Can someone please give me a nice piece of reusable code that will read the inco

Re: start_tr

2002-12-13 Thread Mystik Gotan
Actually, CGI is nothing more than a interface to communicate with the Perl script and the webserver. The only thing CGI needs are headers. For displaying each web page, the server must send a header, so CGI has to do the same. Everything should work when you put a MIME type in your script, don

Re: start_tr

2002-12-13 Thread Dave K
tr transliterate Tr table row qw( :standard *Tr ); allows one to use start_Tr and end_Tr so that you don't have to pull your hair out trying to nest method calls. HTH <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I don't believe there is a start_tr() method, w

RE: start_tr

2002-12-13 Thread wiggins
I don't believe there is a start_tr() method, which would explain the problem :-). Check out the POD documentation for the CGI module by either issuing perldoc CGI or here: http://search.cpan.org/author/JHI/perl-5.8.0/lib/CGI.pm In particular seach for: "This is extremely useful for creating

Re: GD Graphs

2002-12-13 Thread Todd W
"Mikeblezien" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I am going to be working on a project, that will be utilizing the GD::Graphs > module to create various graph reports. I was hoping that someone could point me > to some good documentation

start_tr

2002-12-13 Thread Rob Richardson
Greetings! I am having some trouble with a script designed to create a table. Here is the important part: use CGI::Carp qw(fatalsToBrowser); use CGI qw/:standard :html center *big *strong *table *tr *td delete_all/; use Time::Local; build_calendar(param('month'), param('year')); sub build_cale

Re: automatically downloading files into a certain directory

2002-12-13 Thread zentara
On Fri, 13 Dec 2002 09:22:01 +0100, [EMAIL PROTECTED] (Anette Seiler) wrote: >Hi, > >thanks to all for answering. After discussing it with my colleagues I will >do it in a way Peter and zentara suggested. > >By the way, the software is intended for librarians who want to download >certain metada

RE: automatically downloading files into a certain directory

2002-12-13 Thread Anette Seiler
Hi, thanks to all for answering. After discussing it with my colleagues I will do it in a way Peter and zentara suggested. By the way, the software is intended for librarians who want to download certain metadata-records from the web onto their computer for upgrading and uploading to a library