Re: Showing errors with user input

2009-12-09 Thread Greg Jetter
On Tuesday 08 December 2009 9:50:57 am Adam Jimerson wrote: On Dec 7, 12:43 pm, g...@lazymountain.com (Greg Jetter) wrote: On Sunday 06 December 2009 10:24:31 am Adam Jimerson wrote: I am working on a registration page and there for want it to show the user errors it has found

Re: Showing errors with user input

2009-12-07 Thread Greg Jetter
On Sunday 06 December 2009 10:24:31 am Adam Jimerson wrote: I am working on a registration page and there for want it to show the user errors it has found with their input. I have two subroutines in my code, the first one prints out the form, also takes an array with error descriptions that

Re: cgi and perl database interaction

2009-12-01 Thread Greg Jetter
On Tuesday 01 December 2009 2:52:38 pm Paweł Prędki wrote: Hello, I have a website that uses a php engine for news generation and, basically, most of the other pages. It uses a MySQL database to store the majority of the page contents (i.e. news). However, I've written before that I've

Re: Saving param after new recall of a cgi script

2009-11-27 Thread Greg Jetter
On Thursday 26 November 2009 12:35:48 pm Marek wrote: Hello all! Hope that I can explain my problem clearly: 1. I have a long form, created from a xyz.cgi (action= that means is empty) 2. The user fills up the form and sends (action=send) The parameters are send with an self reference

Re: Auto detect timezone

2009-05-25 Thread Greg Jetter
On Monday 25 May 2009 4:42:12 am Rajesh Raghammudi wrote: Hello, I need to detect the timezone based on Date, City(State/ZIP), Country(USA for now) as part of my application. Any idea about a perl module which does the above? Thanks, Rajesh you might have to roll your own , you should

Re: Web photo album, is this possible in CGI

2009-05-10 Thread Greg Jetter
On Saturday 09 May 2009 7:43:45 pm Adam Jimerson wrote: Hi all, I am wanting to put something together where every time the script executes it looks into a set directory for photos and then builds a web page with those photos, or even a enlargeable thumbnail of the photo, in kind of a photo

Re: Configuring Apache on Fedora9 for codestriker.

2009-03-05 Thread Greg Jetter
On Thursday 05 March 2009 4:36:19 am anand.bha...@wipro.com wrote: Hello, I am not able to configure codestriker. My configuration is Fedora 9, Apache 2.2. If I give the complete path of codestriker.pl (/codestriker/codestriker-1.9.8/cgi-bin/codestriker.pl) in the browser then I get the

Re: Page Breaks

2009-03-05 Thread Greg Jetter
On Thursday 05 March 2009 10:25:44 am Bill Stephenson wrote: Does anyone know where I can learn how to make smooth page breaks in dynamically created HTML documents. Most of the document is contained in a table and the number of rows is a variable as well as the number of lines of text in

Re: user sessions

2009-03-04 Thread Greg Jetter
On Wednesday 04 March 2009 12:24:39 am Stanisław T. Findeisen wrote: Hello, how to make user sessions? Something like: * log in using password * maintain session state across several executions of several scripts forming the application * log out Do I have to do it manually or is there

Re: Using CGI.pm to set up textfields and then parse them

2009-01-05 Thread Greg Jetter
On Monday 05 January 2009 2:22:08 pm marys wrote: Does anyone know how to set up a large number of textfields for data input and then parse them conveniently? In the CGI.pm book it shows how to use the form element 'textfield' like so: #!/usr/bin/perl -wT use CGI::Carp qw(fatalsToBrowser);

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Greg Jetter
On Monday 15 December 2008 3:50:24 am Adam Jimerson wrote: Dermot Paikkos wrote: -Original Message- http://www.template-toolkit.org/ Mike Looking at the website and the documentation, still reading through it, I'm still not sure how to mix this with my CGI scripts to

Re: embedding a CGI script in a HTML page?

2008-12-12 Thread Greg Jetter
On Thursday 11 December 2008 1:42:36 pm Adam Jimerson wrote: Is it possible to embed a CGI scrip into a HTML page? I don't know if CGI scripts work in a way that allow for this, I know that in PHP this is possible, because I want to make my CGI scripts and website have a unified look but I

Re: Creating a Logon Form

2008-12-09 Thread Greg Jetter
On Tuesday 09 December 2008 8:47:06 am [EMAIL PROTECTED] wrote: Hey All, I'm new to doing CGI with Perl and so am a little lost here. I'm working on a web-accessible database system for a (rather large) group of area churches and went through the rigmarole of assessing various programming

Re: perl-cgi and apache configuration in fedora 9

2008-11-14 Thread Greg Jetter
On Friday 14 November 2008 8:28:58 am venu madhav reddy wrote: Hello, please help me I am using fedora 9 plese tell me how to configure apache and perl-cgi in fedora 9 apache and perl are in built with fedora just tell me how to modify perl.conf file to run cgi progams. Thanks in

Re: how to send a page and a file at a download script?

2008-09-23 Thread Greg Jetter
On Monday 22 September 2008 12:38:21 pm shnaxe wrote: dear readers, i recently finished a small perl-cgi download script that sends files after some checks and logging. i call this script through a link on a static html-page and pass the file-id as a parameter. this all works nice so far,

Re: section 508 compliance to Perl-generated forms?

2008-08-15 Thread Greg Jetter
On Friday 15 August 2008 6:31:56 am mike wrote: Hello, I have a number of Perl CGI scripts that generate html forms that need to be made 'Section 508' compliant. I have combed CPAN and perldoc but haven't been able to find any way to do this, e.g. with a module. Can anyone send me in

Re: Opening a File in its Native Application

2008-04-25 Thread Greg Jetter
On Friday April 25 2008 9:09 am, Lynn Etheredge wrote: Hi, I would like to create a button on a web page that opens a file in it's application (ie. open a scientific file in it's native application).  My file does not have an extension and so I think it probably will not open automatically

Re: Insecure dependency in eval message

2008-04-13 Thread Greg Jetter
On Sunday April 13 2008 6:12 am, dylanthomasfan wrote: Hi, I am a Perl CGI beginner. I am trying to construct perl statements to do depending on user input, and interpret them at runtime using eval. I execute these commands by writing eval $commandString; where $commandString is

Re: dinamic cgi with perl

2008-03-15 Thread Greg Jetter
On Saturday March 15 2008 12:57 am, Pau Marc Munoz Torres wrote: Hi everybody i got a program that works in a bash environment, and now, i would like to make a cgi with it, the objective for this program is check the integrity of the info provided by some text files and if it finds some

Re: Undefined subroutine: if (param('admin') eq y)

2008-02-20 Thread Greg Jetter
On Tuesday February 19 2008 3:46 pm, [EMAIL PROTECTED] wrote: I'm using the Web Developer Server Suite - Community Edition pretty much out of the box on WindowsXP. This script worked fine on a LAMP system although I am not sure what Apache modules were loaded. I am beginning to wonder if I

Re: Possible Perl/CGI Application

2007-10-23 Thread Greg Jetter
'); then after you built the reply . open the file and print it to the browser , you will need the correct mime type in your header.. take a look at the docs , it's pretty common usage of CGI. that should get you going good luck Greg Jetter Alaska Internet Solutions

Re: [beginners-cgi] Development environment?

2007-09-19 Thread Greg Jetter
On Wednesday September 19 2007 5:44 am, Shawn Hinchy wrote: Hello all, I was wondering what development environment you use? I am stuck in a rut using KWrite and then uploading with an FTP program. I find that I use the FTP app as a launch tool and I can edit or upload the files from it.

Re: pushing web form params into mysql table

2007-06-25 Thread Greg Jetter
in the db $dbh-do($query) or die $DBI::errstr; very short , example but should get you going. Study the docs for these modules , they are full of examples. Good Luck Greg Jetter Alaska Internet Solutions -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Perl/DBI

2007-06-24 Thread Greg Jetter
On Sunday June 24 2007 8:31 am, Shawn Hinchy wrote: Hello all, I am getting to the point where I need to start thinking about doing pagination for search results. I did some searches and it looks like there are some pagination modules, but I am not quite interested in going that route yet.

Re: Help downloading a file

2007-05-01 Thread Greg Jetter
On Tuesday May 1 2007 6:56 am, Moon, John wrote: Below is code I presently use to download to clients and the generated html. One client objects to the generated html - the Content-Disposition ... Does any one have another method to download AND display the pdf with perl. sub Display_PDF {

Re: Help downloading a file

2007-05-01 Thread Greg Jetter
On Tuesday May 1 2007 6:56 am, Moon, John wrote: Below is code I presently use to download to clients and the generated html. One client objects to the generated html - the Content-Disposition ... Does any one have another method to download AND display the pdf with perl. sub Display_PDF {

Re: file lock unnecessary?

2007-04-25 Thread Greg Jetter
On Wednesday April 25 2007 6:14 am, Varjü Tamás wrote: Hello everyone! I have written a perl script which opens a file for reading and writing. I tested what happens if the script is run in multiple instances by the webserver. I put a sleep command between seeking writing position in the

Re: file lock unnecessary?

2007-04-25 Thread Greg Jetter
On Wednesday April 25 2007 8:42 am, Varjü Tamás wrote: Dear Greg! The reason I did the test, and why I detailed the result is that I could not reproduce any of the nasty things which can happen without locking. I know that everyone suggests to use the lock, but following your argument the

Re: Can some one give me a sample login.cgi

2007-04-08 Thread Greg Jetter
On Saturday April 7 2007 2:18 pm, Goksie wrote: i will be glad, if someone can give me a login.cgi with the script doing the authentication to the mysql backend, and later on, if sucessful, redirect to another page otherwise failure info. Goksie [EMAIL PROTECTED] -- To unsubscribe, e-mail:

Re: Merging Files in Perl

2007-02-01 Thread Greg Jetter
On Thursday February 1 2007 5:22 pm, Akbar Ehsan wrote: Hello Everyone, Is there something in Perl, a procedure, a method, a command, anything, that would enable me to merge several tiny text files into one big text files. I was searching on perldoc.org unsuccessfully. Thanks. Akbar Ehsan

Re: Getting status of files before copying/moving.

2006-10-02 Thread Greg Jetter
On Monday October 2 2006 9:03 pm, Sara wrote: I am copying/moving files from an FTP folder to other folders on server. The script reads the files and copy/move to separate folders etc. No problem till this point. Now the problem is that users are constantly uploading files to this folder

Re: Matching a string containing '+'

2006-02-08 Thread Greg Jetter
a explanation for this behavior in the mysql refrence manual ...somthing about the mysql engin stripping out escape chars ... I Just know that it works for me when i double the escapes . hope it helps you out .. Greg Jetter Alaska Internet Solutions -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: implementing links on a system command output

2005-10-18 Thread Greg Jetter
On Tuesday October 18 2005 10:09 pm, [EMAIL PROTECTED] wrote: snip * Perl'ers, I tried this solution and it is not working. There are no errors but the output is not displaying the links for every $_ which is H02000 for example. I do not understand what /path/url.pl?H_String; is. what is

Re: implementing links on a system command output

2005-10-14 Thread Greg Jetter
On Friday October 14 2005 11:21 am, [EMAIL PROTECTED] wrote: Derek Smith/Staff/OhioH ealth To beginners-cgi@perl.org 10/12/2005 05:52

Re: implementing links on a system command output

2005-10-14 Thread Greg Jetter
On Friday October 14 2005 12:07 pm, [EMAIL PROTECTED] wrote: Jay Savage [EMAIL PROTECTED] l.com To beginners-cgi@perl.org 10/14/2005 11:56

Re: Perl Apache Configuration

2005-03-27 Thread Greg Jetter
On Sunday March 27 2005 4:25 am, Warren Gwartney wrote: Perhaps someone will understand what is happening here. I've been trying to configure perl and apache on a redhat8 server with virtual hosts. Perl works well on the system and is executing cgi-bin scripts as well, but the output HTML is

Re: Inserting data into MySql using perl script

2003-06-10 Thread Greg Jetter
On Monday June 9 2003 3:49 pm, Nazary, David wrote: Hi, I am unable to insert data into MySql with following script: #!/usr/bin/perl use DBI; use Mysql; $infile = /cadfs8/sys/dnazary/mysql_test_data1; $dbh = DBI -connect('DBI:mysql:dnazary_test:localhost', 'root', 'mysql'); open (IFH,

Re: Creating form with CGI.pm.

2003-05-27 Thread Greg Jetter
On Saturday May 24 2003 6:49 am, Sara wrote: I have made this script using CGI.pm for the first time in my life (otherwise I was using typical require cgi-lib.pl and typical parse_form subroutines) Since, this is my first script. I have understood how to make forms with CGI.pm, the problem I

Re: Need a way to begin learn Perl

2002-06-10 Thread Greg Jetter
On Monday 10 June 2002 02:40 pm, Ahmad wrote: Hi. I would like to begin learning Perl, but I don't know where I begin learning it does anybody has any sugest??? Ahmad [EMAIL PROTECTED] Get a copy of perl nd start by reading through the pod file , plain old documentation. then

Re: cgi in the middle of HTML page

2002-02-05 Thread Greg Jetter
On Tuesday 05 February 2002 07:09 am, Al Hospers wrote: I want to have a web page where a CGI generated table appears in the midst of a bunch of standard HTML. I already have the table data being pulled from a database generating a layout that looks good. however, I would prefer not to

Fwd: Re: Diffrent browsers render script diffrently

2002-01-05 Thread Greg Jetter
-- Forwarded Message -- Subject: Re: Diffrent browsers render script diffrently Date: Sat, 5 Jan 2002 16:39:04 -0900 From: Greg Jetter [EMAIL PROTECTED] To: Alan C. [EMAIL PROTECTED] On Saturday 05 January 2002 04:21 pm, you wrote: Hi, The page in question works just

Diffrent browsers render script diffrently

2002-01-04 Thread Greg Jetter
\Next Year/a/font/td/tr\n; print HTML; /table /body /html HTML } # end code ### Thanks for any help Greg Jetter [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: which one to choose WxPerl or perlTk

2001-08-14 Thread Greg Jetter
On Thursday 09 August 2001 12:16, Dinakar Desai wrote: Hello: I was wondering which one to learn in terms of GUI. I am not very familiar with any GUI application development. I am just exploring the possibilities of GUI tool kits. I would like to know your experience in terms of stability,

Re: Configuring cgi scripts on Windows2000

2001-07-06 Thread Greg Jetter
On Thursday 05 July 2001 08:58, Curtis Poe wrote: --- Greg Jetter [EMAIL PROTECTED] wrote: Well you found one here , I've worked with it since the first version , in fact I work with it daily , it's how I earn my daily bread. You can not separate it's shortcommings from the question

Re: Configuring cgi scripts on Windows2000

2001-07-05 Thread Greg Jetter
and advancing . -Original Message- From: RL Autry [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 04, 2001 8:36 PM To: Greg Jetter; [EMAIL PROTECTED] Subject: Re: Configuring cgi scripts on Windows2000 At 08:26 PM 7/4/2001, Greg Jetter wrote: Your best bet is to stay with a Unix

Re: error

2001-07-04 Thread Greg Jetter
On Tuesday 03 July 2001 19:42, RL Autry wrote: Hello everyone: We are new to this list, per, and a few other perl lists. Beginners of beginners you might say, but everyone needs a laugh every once in a while :0) Anyway can someone please tell us why we might be getting the error shown at

Re: Configuring cgi scripts on Windows2000

2001-07-04 Thread Greg Jetter
On Wednesday 04 July 2001 13:42, RL Autry wrote: We have a problem with many of our cgi requiring a uid which in this case doesn't exist because (we are told) it is not used on our present OS (Windows2000). 1) Is there a hack to require the equivalent of a uid? (so the scripts can be run as

Re: Comment line width

2001-07-04 Thread Greg Jetter
On Wednesday 04 July 2001 15:00, Craig Westerman wrote: I can't find how long a comment line can be before one should go to the next line. I would assume it would have been in Perlstyle, but I didn't see it there. Where in the docs does it talk about this? Thanks Craig [EMAIL

Re: Re[4]: Reformating text

2001-06-16 Thread Greg Jetter
On Saturday 16 June 2001 10:03, you wrote: My next direction is OOP, but I have found it to be a little beyond my grasp each time I try. Maybe with this list's help I can get it. First you have to unlearn. Imagine you knew nothing about programming. Now, I introduce a thing called a

Re: dynamic pages

2001-06-05 Thread Greg Jetter
On Tuesday 05 June 2001 07:38, Vontel Girish wrote: Can anyone tell me how do i proceed with creating dynamic pages??? Dynamic pages is a term that means web pages generated on the fly by a scripting language in response to a condition. Example : user bob fills in a request form on a web

Re: checking for changed values

2001-06-02 Thread Greg Jetter
On Saturday 02 June 2001 11:34, Christian Campbell wrote: What's to stop you from building in a corresponding hidden field with the old value (or a hash of the old value) for each displayed field? Then you know that a field changed because the corresponding hidden field hash value is out of