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 o

Re: How to pass form data between two CGI's ?

2001-06-05 Thread Greg Jetter
On Tuesday 05 June 2001 09:55, Curtis Poe wrote: > --- David Labatte <[EMAIL PROTECTED]> wrote: > > If the scripts live on the same server and you can modify them at > > will, then why not just unify them into one script? That would seem > > to be the simplest solution, and the one I would try fi

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: queryString and CGI.

2001-06-19 Thread Greg Jetter
On Monday 18 June 2001 22:35, Vontel Girish wrote: > I have just started to create a sample online store > with Unix OS, Apache web server, CGI with perl and > MySQL database. > > The perl program given below splits the querystring > into Name value pairs. > > -

Re: ? embed scalars in the sql

2001-06-25 Thread Greg Jetter
On Monday 25 June 2001 06:59, Francesco Scaglioni wrote: > Hi, > > Is it possible to embed a scalar into the sql such that the value of > the scalar could represent a column name to report or a value to > select by > > eg something to mean the following > > select $column_name from test where $ano

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 sho

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

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 ><> > [EMA

Re: error

2001-07-04 Thread Greg Jetter
On Wednesday 04 July 2001 17:33, RL Autry wrote: > At 08:18 PM 7/4/2001, Greg Jetter wrote: > >like file placement in > >the directory tree. > > > >Greg > > Ok Thanks Gregg now we are getting somewhere to an answer. > Can you tell me what "file placement

Re: Configuring cgi scripts on Windows2000

2001-07-05 Thread Greg Jetter
thing other than how to start a flame war ? Greg 20 year computer programer Perl novice 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: C

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

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 stabil

Diffrent browsers render script diffrently

2002-01-04 Thread Greg Jetter
$old = $line; } } print <<"HTML";       HTML } sub list_months { chop($cyear = `date +%Y`); if ($contents{'y'}) { $year = $contents{'y'}; } else { $year = $cyear; } chop($month = `date +%m`); print <<"

Re: Diffrent browsers render script diffrently

2002-01-05 Thread Greg Jetter
On Saturday 05 January 2002 07:50 am, fliptop wrote: > Greg Jetter wrote: > > A Perl script that creates a web page renders correctly in Netscape , > > Mosilla , Opera and Konqueror . It produces a error when rendered in > > Internet Explorer . In Explore it generate

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, >

diffrent browsers update , and thank you

2002-01-05 Thread Greg Jetter
Hi: Thanks for the help , We solved the problem , it was a premission problem on the server , I appricate the help narrowing down the posible problems Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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 g

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. t

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 prob

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'); > o

Re: want to verify the data coming from a form with the data in database

2003-06-11 Thread Greg Jetter
On Wednesday June 11 2003 10:09 am, Greenhalgh David wrote: > On Wednesday, June 11, 2003, at 02:10 am, Annie wrote: > > no i want to ask what if someone enters a firstname and last name > > which doesnot exist in the database...in that case how i can verify > > and print an error msg that the dat

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 i

Re: Regex Problem.

2005-08-18 Thread Greg Jetter
On Thursday August 18 2005 11:48 am, Sara wrote: > I am at a loss here to generate REGEX for my problem. > > I have an input query coming to my cgi script, containg a word (with or > without spaces e.g. "blood" "Globin Test" etc). What I am trying to do is > to split this word (maximum of 3 charact

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 > > 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: 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

Re: Matching a string containing '+'

2006-02-08 Thread Greg Jetter
MySql and perl together and attempting to phrase RegExp , I have had to double the number of escape chars , thus \\ becomes , then it works , thers a explanation for this behavior in the mysql refrence manual ...somthing about the mysql engin stripping out escape chars ... I Just k

Re: redirect doesn't

2006-08-07 Thread Greg Jetter
On Monday August 7 2006 4:43 pm, Mary Anderson wrote: > Hi all, > >I would like to create an exit button which, when pressed, triggers > code to clean up my application and then go to the index.html page. It is > my understanding that the redirect function will take me there. Here is > the ke

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: 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. > > Akb

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-m

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 > t

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 t

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 Displa

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 Displa

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

Re: pushing web form params into mysql table

2007-06-25 Thread Greg Jetter
Forecast to Occur: size=4>Z > > > > > > > target="_blank" border="1" > cellpadding="2" cellspacing="2"> > > Impact to Operations > > Ground Stop > > > Ground Delay Program > > > SOIA >

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

Re: Possible Perl/CGI Application

2007-10-23 Thread Greg Jetter
ict; my $q = new CGI; # assuming length is a input field of some type on the form my $length = $q->param('length'); 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'

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

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: 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 c

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 > automaticall

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 i

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

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

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 program

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: 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 t

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(fatalsToBrows

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 th

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

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: 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 > p

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

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 se

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: 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 tha

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 > > &g