RE: POST method with perl module

2004-06-04 Thread Bob Showalter
Tobias Fink wrote: > Good morning, > > im trying to set up a tools module for my modperl environment. > My function get_vars should get all passed variables with the > following snipplet: > > if($ENV{'REQUEST_METHOD'} eq "GET"){ > $my_data = $ENV{'QUERY_STRING'}; > } > else { > $data_lengt

RE: Can't INSERT INTO for one column

2004-06-15 Thread Bob Showalter
Chris Charley wrote: > Hi > > The error messages I'm getting from the attempted insert are: > > > C:\perlp>perl t.pl > DBD::SQLite::db do failed: no such column: cash at t.pl line 17, > line 1. > DBD::SQLite::db do failed: no such column: cash at t.pl line 17, > line 2. > DBD::SQLite::db do fa

RE: Checkbox_group

2004-06-16 Thread Bob Showalter
Werner Otto wrote: > What I'm trying to do: > print checkbox_group(-name=>'hdel',-values=>[$hostname,$hostip]),; > > But I don't want $hostip's value to appear on the form, it should be > available when I request the param though. Are to trying to show a check box with only the name, but be able

RE: How to host CGI scripts ?

2004-06-18 Thread Bob Showalter
Sunil Kumar wrote: > Hi, > > I am new to CGI, i just wanted to know if I can host CGi scripts on > my machine. > > OS Details : Win2k Professional with IIS installed, ActivePerl > installed. Yes, you can. You need to configure IIS appropriately, which I can't help you with. -- To unsubscribe

RE: cgi question

2004-06-18 Thread Bob Showalter
Luinrandir Hernsen wrote: > I am writing a perl cgi online game. > > I would like to load the graphic.gif's to the players computer and > then call them from there.. > > ideas? JS? perl? something else? can it be done at all? where do I > start looking? You don't have access to the user's filesy

RE: Reading a file

2004-07-09 Thread Bob Showalter
Octavian Rasnita wrote: > Hi all, > > Does anyone know how can I read a file from a UNC path? > Is perl able to read files this way? Just pass the UNC to open(). The underlying OS takes care of it; it's not a Perl issue. open(F, '\\server\share\dir\file.ext') or die $!; Or am I misunderstand

RE: File upload question

2004-07-27 Thread Bob Showalter
Sean Davis wrote: > I am trying to write a toy script that will ask for an upload file and > then echo that file back to the user on the browser. However, if I do > this all in one script like the following, I get no echoed file. > However, if I instead use a separate HTML form and submit to my >

RE: why do i get a file download prompt?

2004-07-27 Thread Bob Showalter
Gary Jennings wrote: > Hi; > > > > I get a file download prompt when I run the following script. Can > anyone let me know why? I am simply trying to print the contents of > a file. Thanks. Displaying a download box is behavior of your browser. Your Content-Type header is botched, so maybe tha

RE: path/executable question

2004-07-30 Thread Bob Showalter
Sean Davis wrote: > I have a script that queries a database and then uses GraphViz.pm to > generate png output based on the query. GraphViz calls executables > located in /usr/local/bin. This runs fine from the command line and > produces a functional png output. However, when I switch this over

RE: Help needed in extracting html over HTTTPS protocol.

2004-08-04 Thread Bob Showalter
Anas Perwez wrote: > Hi All, > My requirement is to extract html from any site ( HTTPS) and then > parse it for selective contents > > I am able to connect to HTTP sites but when it comes to HTTPS , it is > throwing errors. [ snip LWP code ] Have you read http://search.cpan.org/src/GAAS/libwww-p

RE: using HTTP authentication

2004-08-04 Thread Bob Showalter
Andrew Gaffney wrote: > I want to use HTTP authentication with Apache 2.x for a project I'm > working on. I only need 1 user to be able to access the whole site > (similar to a consumer router's web interface). Okay. > What do I need to do to setup it up in Apache This is found in the Apache d

RE: Filtering CGI Variables

2004-08-09 Thread Bob Showalter
Bill Stephenson wrote: > Hi all, > > I need some help. I have name/value parameters coming in from a web > form that look something like this (blank lines added for clarity): > > firstname=bill > lastname=stephenson > > q1=1 > t1=y > d1=something 1 > p1=3.45 >

RE: BACK button in CGI

2004-08-13 Thread Bob Showalter
[redirected to beginners-cgi list] Shah, Urmil wrote: > This is a very basic question but still confusing me and so trying to > get help. > > I have 3 CGI FORMS that display HTML output. One form leads to second > and second leads to third. On 3rd page If I want to redirect the user > to page 1 h

RE: stuck at TRUE/FALSE, pls help

2004-08-16 Thread Bob Showalter
[EMAIL PROTECTED] wrote: > Hi > > I am very very new to perl. And after lots of work I did script a perl > file to handle a online form (products order form). However, I am > stuck at a point. I tried my best but could not get thru. > > The form is located at: http://www.kevincoffey.com/order.htm

RE: Partial interpolation over pattern sustitution

2004-08-17 Thread Bob Showalter
J. Alejandro Ceballos Z. wrote: > How may I avoid partial interpolation over a pattern sustitution? > > My code looks like: > > # searching for all matches for later use > @matches = $htmlpage =~ m/(.*?)<\/pre>/gs; > for ($i=0; $i<$#matches; $i++) >{ $htmlpage =~ s/$matches

RE: Regex for accepting text and HTML *entities*

2004-09-07 Thread Bob Showalter
Chris Welch wrote: > Hi, > > I have a dilemma, I am processing CGI forms and I need to come up with > a regex that will accept HTML entities Have a look at the HTML::Entities module source code for regexes. If you're just trying to decode entities, use this module instead of rolling your own. ht

RE: Month-Year Links....

2004-09-08 Thread Bob Showalter
Greg Schiedler wrote: > Perl v5.6.1 > > Trying to easily create some variable based on the current month and > links to the two previous months. The filename(s) are based on two > digit months MM--Filename. I have the filename part working but > I need some guidancd on creating the MM-.

RE: Apache vs Boa error LFLF

2004-09-10 Thread Bob Showalter
Shawn Sharp wrote: > I am working on some perl cgi code that works on an apache webserver > but I get the following error when I run it on a boa webserver > > [08/Sep/2004:23:41:09 +] cgi_header: unable to find LFLF. > > I have tried the following change > > From: > > print "content-type: t

RE: table with variables

2004-09-10 Thread Bob Showalter
Sean Davis wrote: > Just print '' and '' separately. Note that CGI has start_table and end_table methods. If you use function style, you need to import them: use CGI qw(:standard start_table); print start_table; ... print end_table; Actually, you can do this with any tag, not just

RE: table with variables

2004-09-10 Thread Bob Showalter
Ing. Branislav Gerzo wrote: > > > print table( > > {-border=>>undef}, > > > caption('Choose your favourite brand:'), > > > Tr({-align=>CENTER,-valign=>TOP},), > > > td($items[0], $items[1], $items[2]), > > > td($items[3], $items[4], $items[5]) > > > )

RE: Capturing PID of Shell Calls

2004-10-11 Thread Bob Showalter
Jamie Bridges wrote: > I am attempting to collect the PIDs of system/backtick calls ( up to > 40 of them ) and revisit them to ensure that they completed. Both system() and backticks call wait() internally, so they don't return until the child process terminates. If you want to start a process an

RE: undefined value error

2004-10-04 Thread Bob Showalter
Xiangli Zhang wrote: > Here is my updated code with errorHTTP 500 that did not happened for > the old code, and the modules I am using. n.b. that "Error 500" is just a "catch-all" error from the web server. If other error messages from your script were output, you will find them in the web server

RE: how to auto expire session when not active for > 10 mins?

2004-10-20 Thread Bob Showalter
Jim Goh wrote: > Hi, > If I have web site and all the pages are under directory called > www.mysite.com/test. Assume this directory "test" is access by > username and password. After user enter the directory and view all > the pages. However if user not touch the pages under this directory > for mo

RE: Address bar & redirects

2004-11-04 Thread Bob Showalter
Jonathan Mangin wrote: > Why doesn't my IE address bar reflect successful redirects? Perhaps an internal redirect is being used? Show us the script that's issuing the redirect. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: untainting data

2004-11-10 Thread Bob Showalter
Sara wrote: > > > > bad guys can always create their own form > > I can't say how others do it but almost my every script starts with: > > if ($ENV{'HTTP_REFREER'} !~ /yourdomain.com/) { > exit; > } > > it helps eliminating of Bad Guys forms & shoving of data (no remote > postings allowed). You

RE: question about doing it right in CGI

2004-11-19 Thread Bob Showalter
Lewick, Taylor wrote: > Hi all, I have been using perl for sometime for CGI scripts, but have > always used the print content-type:html version of doing things. > > I would like to learn a better way with the CGI module, but when I > read the docs I find it pretty easy to get confused as to whethe

RE: Killing a Process

2004-11-22 Thread Bob Showalter
Kevin Bass wrote: > I have a slight problem that I am attemping to solve. I am using > CGI/Perl (DBD Oracle) on Linux AS 2.1 to access to the database. When > users encounter problems on the web, they cancel (or press stop) in > their browsers. This will stop there browser interaction and also > ca

RE: How to avoid accidental re-sending of POST data

2004-12-02 Thread Bob Showalter
Ingo Weiss wrote: > Hi, > > this must be a common problem and I was wondering what commonly used > strategies to solve it are: > > How can I avoid that a user re-sends a POST form when hitting the > reload button on a result page? You can't. If the transaction is not repeatable, you need to have

RE: Setting a Cookie...

2004-12-08 Thread Bob Showalter
Bill Stephenson wrote: > How can I set a cookie when someone visits my home page? > > I've tried using a server side include like so > > # code # > #!/usr/bin/perl -w > > # This is in my html page: > # [snip cgi ] Your code to set the cookie

RE: Browser times out

2004-12-30 Thread Bob Showalter
Denzil Kruse wrote: > Hi all, > > I think I'm having a problem with my browser timing > out because my cgi script is taking too long. The > script processes some database records. When it does > 250 of them, it takes about a minute or so, and the > browser has no problem. But when I do more, th

RE: Insecure dependency in glob while running with -T switch

2005-01-17 Thread Bob Showalter
David Gilden wrote: > Last question here, > > #!/usr/bin/perl -wT > > > Snip ... > > my @filesToRemove = <*>; > > The line above is causing: > > Insecure dependency in glob while running with -T switch > > What can I do still have this functionally and satisfy 'tainting' I'm not po

RE: embedding dynamic images in html output

2005-01-21 Thread Bob Showalter
Chad Gard wrote: > and I really don't want to write images to files on disk. I think you should reconsider. This is really your best bet. Web clients and servers are really optimized for this kind of thing. You should write all the images out to disk files accessible through URL's and then emit IM

RE: Addendum: Content_Length.

2005-02-03 Thread Bob Showalter
Sara wrote: > Why the length is not coming out? Any ideas? > > # > > my @aho = ("fgfgfgf", "fgfgfgfgf", "fgfgfgfg"); > > my $length += length($_) for @aho; A perl "gotcha". The 'for' modifier creates a loop, and the 'my' is scoped to the body of t

RE: Premature end of script headers

2005-02-08 Thread Bob Showalter
vishwas bhakit wrote: > hello, > > I am getting following error. > > Premature end of script headers > > Can anybody plz tell me > what is the cause of this. When the webserver runs your CGI script, it parses the output, looking for the MIME headers, followed by a blank line, followed by the re

RE: removing dupes from fetchrow_array()?

2005-03-23 Thread Bob Showalter
Sara wrote: > Following is the code used in my CGI script. > > my $query = $dbh -> prepare("SELECT * FROM invoices WHERE ID = > '$ID'"); $query -> execute(); > while (my @row = $query -> fetchrow_array()){ > print "$row[1] - $row[2] - $row[3]"; > } > > What If I want to remove dupes from @row? li

Re: cgi form generates a cronjob

2005-03-25 Thread Bob Showalter
FRANK DELATORRE wrote: Hello, I hope this is the right forum to ask this question: Is it possible to generate a crontab file from a perl driven CGI script? If so, what are the key steps? I've been thinking about how to develop this but for some reason I cannot rectify, in my head, how to edit a cro

RE: How to output in HTML?

2005-05-11 Thread Bob Showalter
Roger Grosswiler wrote: > Hi, > > i just wrote a very small perl-file, which opens a file, reads the > content, adds a 1 and closes it. It's a veery simple > hitcounter. (counter.pl, code see below) > > I would like now to print this in an existing html-sheet, say, when > opening index.h

RE: Active Perl Script to delete 4 hours old files on Windows

2005-06-13 Thread Bob Showalter
Asad wrote: > All: > I need to write a script to delete 4 hours old files and > directories on Windows. I am planning to use Perl to accomplish > this. I understand the "-M" would delete at least a day old files, > but is there a way to delete 4 hours old files and directories. Thank > you.

RE: A scope question

2005-07-05 Thread Bob Showalter
Andrew Kennard wrote: > Hi all > > I've got the basic hang of scope of vars in Perl which is a bit > different to other languages I've used. > > Having split a large program into packages I would like to use a > global var across multiple packages. Perl does not seem to have a 'C' > type 'extern'

RE: CGI.pm internals question

2005-07-13 Thread Bob Showalter
Scott R. Godin wrote: > under what circumstances is the CGI.pm's STORE autoloaded method > called? > > is it used only when you assign values to the object, or is it only > used when receiving values (or multi-values) from the webserver query? It is part of the tied hash interface returned by th

RE: CGI.pm internals question

2005-07-14 Thread Bob Showalter
Scott R. Godin wrote: [snip] > So if I were to say, override it thusly: > > package CGI; > > sub STORE { > my $self = shift; > my $tag = shift; > my $vals = shift; > #my @vals = index($vals,"\0")!=-1 ? split("\0",$vals) : $vals; > my @vals = @{$vals}; > $self->param

RE: quote problem and mysql

2005-07-15 Thread Bob Showalter
Andrew Kennard wrote: > Hi all > > Done lots of googling but this simple thing still has me stumped > > The perl code to insert stuff into an mysql table is this > > my $Vals; > for ( my $i=1;$i<=32;$i++ ) { > $Vals.='?,'; > } Hmm, that seems like it would give you an extra

RE: Easy question

2005-07-19 Thread Bob Showalter
Neville Hodder wrote: > The following code creates two Input types - a "file select" and a > "text input". The "text input" data is returned as expected whilst > the "file select" data is ignored. I have not found any references > for a CGI "file select" form tag in my documentation so I guess it i

RE: Force a file download for link

2005-08-30 Thread Bob Showalter
Denzil Kruse wrote: > Hi, > > I want my users to download a csv file. When they > left click on the link, it brings the file up within > the browswer. They can of course do a right click and > "Save Target As" depending on the browser. > > But I don't want to fuss with instructions and > confus

RE: Perl DBI / SQL Question

2005-09-14 Thread Bob Showalter
Vance M. Allen wrote: > I need to know how to retrieve through Perl DBI a listing of possible > ENUM elements from a field for processing under a CGI script. Need to know what database you're talking about. This will probably involve querying data dictionary views or tables. Some DBI drivers also

Re: cookies as hidden files

2005-09-16 Thread Bob Showalter
Denzil Kruse wrote: Well, this is what I witnessed. I'm using a windows computer at home. It is configured to display hidden files. I have a red hat linux server off who knows where that hosts my site. I set up a perl script to set and fetch cookies, and it does so correctly on my computer.

Re: Yet another package problem

2005-09-16 Thread Bob Showalter
Luinrandir wrote: ### Inn.pl # ## package Inn; Buy {} Sell {} Talk {} Sleep {} Delivery {} Work { # GameTime(.1); # SendOff(); print qq|"Well afraid I do all my own work Try another business"|; } ... Did

RE: Forcing a "save as' dialogue box to come up on left click

2005-09-20 Thread Bob Showalter
Tony Frasketi wrote: > Hello Listers > I'm trying to find a way to force a download dialogue box to come up > when the user clicks on a link on a web page (the link will primarily > be for htm, .txt files on the server). Short answer is that you cannot *force* the client to do anything. The HTTP

RE: XML [AntiVir checked]

2005-10-11 Thread Bob Showalter
Naji, Khalid wrote: > Hi, > > Which Module could you recommend for the use of the XML (XML::Simple, > XML::Parser and XML::Writer, XML::DOM, XML::PATH...) ? To add to what Wiggins said, I would also take a look at the XML::LibXML family of modules, and look at SAX parsing. These are newer than s

RE: running interactively

2005-10-12 Thread Bob Showalter
Adriano Allora wrote: > ha to all, Ha back! > > I need to use a a shell-program but I cannot pass all the arguments to > this program via system() function. In other words: the program > doesn't accept all the arguments via command line: I need to open it > and write interactively some instructi

Re: our..

2005-11-27 Thread Bob Showalter
Lou Hernsen wrote: ok after reading about "our" fact: I use all global vars in the main program. conclusion I need to list all the vars in the module as our in main my $foo in mod our $foo this will allow the vars to be used by both programs? No. A variable declared with "my" is only access

Re: our..... Lou's code

2005-11-28 Thread Bob Showalter
Lou Hernsen wrote: - Original Message - From: "Bob Showalter" <[EMAIL PROTECTED]> To: "Lou Hernsen" <[EMAIL PROTECTED]> Cc: Sent: Sunday, November 27, 2005 12:36 PM Subject: Re: our.. Lou Hernsen wrote: ok after reading about "our" fact:

Re: Problems opening files from CGI.pm program in Windows

2006-01-22 Thread Bob Showalter
Mary Anderson wrote: Hi All, I am running Perl 5.8.7 (ActivePerl) on a Windows XP platform. I have been unable to open files from a CGI.pm script. Here is the offending code: use CGI qw/:standard :html3 :netscape/; use POSIX 'strftime'; use CGI::Carp('carpout'); open(LOG,">>.\guestbook.er

Re: about CURL tool

2006-05-25 Thread Bob Showalter
On 5/24/06, Joodhawk Lin <[EMAIL PROTECTED]> wrote: Hi, Curl is a tool to transfer data from or to a server, using one of the supported protocols (HTTP, HTTPS, FTP, FTPS, TFTP, DICT, TELNET, LDAP or FILE). The command is designed to work without user interaction. Have you us

RE: Format interger printing, MORE INFO

2001-10-12 Thread Bob Showalter
> -Original Message- > From: Brett W. McCoy [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 12, 2001 12:17 AM > To: Chuck > Cc: Vinicius Jose Latorre; [EMAIL PROTECTED] > Subject: Re: Format interger printing, MORE INFO > > > On Thu, 11 Oct 2001, Chuck wrote: > > > Here is a snippet:

RE: CGI.pm hidden field problem

2001-10-17 Thread Bob Showalter
> -Original Message- > From: David Gilden [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 17, 2001 12:56 PM > To: [EMAIL PROTECTED] > Subject: CGI.pm hidden field problem > > > Hello, > > I am taking a stab at a SQL driven guest-book, > the problem is with getting the field to

RE: new html window

2001-10-17 Thread Bob Showalter
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 17, 2001 4:01 PM > To: CGI Beginners > Subject: new html window > > > hello all- > i'm writing a formmail-esque script that checks for required > fields coming > in from the html form.

RE: Program dilema

2001-11-30 Thread Bob Showalter
> -Original Message- > From: Andre` Niel Cameron [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 30, 2001 2:07 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Program dilema > > > Hi, > > I am having a bit of a problem. Does anyone have any idea > how I could have >

RE: variables using blank spaces

2001-12-05 Thread Bob Showalter
> -Original Message- > From: Wagner Garcia Campagner [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 04, 2001 11:07 AM > To: [EMAIL PROTECTED] > Subject: variables using blank spaces > > > Hi, > > I have a varilable: > > $var = 'asdf asdf asdf'; #using blank spaces > > Then i s

RE: Here is how I am trying to use the #

2001-12-07 Thread Bob Showalter
> -Original Message- > From: Mark Jervis Sr. [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 07, 2001 4:35 PM > To: [EMAIL PROTECTED] > Subject: Here is how I am trying to use the # > > > > This is the block of code giving me errors when I am trying > to use the # > > I am also ge

RE: help with form

2001-12-10 Thread Bob Showalter
> -Original Message- > From: Pedro A Reche Gallardo [mailto:[EMAIL PROTECTED]] > Sent: Saturday, December 08, 2001 3:06 PM > To: [EMAIL PROTECTED] > Subject: help with form > > > Hi all, I am working on a cgi script that can create a > temporal file > with either an uploaded file, or

RE: Perl modules on web host server

2001-12-10 Thread Bob Showalter
> -Original Message- > From: Hoenie Luk [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 09, 2001 2:52 AM > To: [EMAIL PROTECTED] > Subject: Perl modules on web host server > > > Hi, I'm new to cgi-programming with Perl and I've been > looking for answers > for the following questio

RE: Array Help Please:)

2001-12-11 Thread Bob Showalter
> -Original Message- > From: Andre` Niel Cameron [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 11, 2001 9:18 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Array Help Please:) > > > Hi, > > I have a prob:) I need to search threw an array and remove > an item ba

RE: Array Help Please:)

2001-12-11 Thread Bob Showalter
> -Original Message- > From: Bob Showalter [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 11, 2001 9:40 AM > To: 'Andre` Niel Cameron' > Cc: [EMAIL PROTECTED] > Subject: RE: Array Help Please:) > > ... > To remove all occurences of 'swo

RE: help with outputting information

2001-12-11 Thread Bob Showalter
> -Original Message- > From: Lance Prais [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 11, 2001 12:55 PM > To: [EMAIL PROTECTED] > Subject: help with outputting information > > > > I am opening a file and just want to check to make sure that > the file is > being read correctly

RE: Substitute for grep command for Windows 2000

2001-12-18 Thread Bob Showalter
> -Original Message- > From: Evan Panagiotopoulos [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 17, 2001 7:34 PM > To: [EMAIL PROTECTED] > Subject: Substitute for grep command for Windows 2000 > > > I had a script that was using the grep command to extract > lines from a text file

RE: What is the source of the error (listed below, its lengthy)

2001-12-19 Thread Bob Showalter
> -Original Message- > From: Colby [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 19, 2001 3:25 PM > To: [EMAIL PROTECTED] > Subject: What is the source of the error (listed below, its lengthy) > > > When I run my index.pl script from the command line I get the > following > o

RE: What is the source of the error (listed below, its lengthy)

2001-12-19 Thread Bob Showalter
> -Original Message- > From: Colby [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 19, 2001 4:08 PM > To: [EMAIL PROTECTED] > Subject: RE: What is the source of the error (listed below, > its lengthy) > > > On Wed, 2001-12-19 at 13:51, Bob Showalter w

RE: [CGI] Hide Source?

2001-12-21 Thread Bob Showalter
> -Original Message- > From: Andre` Niel Cameron [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 20, 2001 10:34 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [CGI] Hide Source? > > > Ok people dont get this. I am making a game and I dont want

RE: running script in netscape

2001-12-27 Thread Bob Showalter
> -Original Message- > From: Nate Brunson [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 26, 2001 5:24 PM > To: [EMAIL PROTECTED] > Subject: running script in netscape > > > ok i have this script that reads a directory full of images > and creates an html page with thumbnails of

RE: 2 Q's, Google and Me - can you spell it out?

2002-01-08 Thread Bob Showalter
> -Original Message- > From: Henk van Ess [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 08, 2002 12:53 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: 2 Q's, Google and Me - can you spell it out? > > > Dear Poec or others, > > I followed the instructions, but the *.cg

RE: 2 Q's, Google and Me - can you spell it out?

2002-01-09 Thread Bob Showalter
> -Original Message- > From: Henk van Ess [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 09, 2002 3:19 AM > To: Bob Showalter; [EMAIL PROTECTED] > Subject: Re: 2 Q's, Google and Me - can you spell it out? > > > Sorry, I gave the wrong URL > &g

RE: Tables in CGI

2002-01-14 Thread Bob Showalter
> -Original Message- > From: Gerry Jones [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 14, 2002 11:21 AM > To: CGI Beginners > Subject: Tables in CGI > > > I've been tormented by a very small problem. I'm trying to > display the > results of a database query using CGI. What I've d

RE: Boxes

2002-01-19 Thread Bob Showalter
> -Original Message- > From: Henk van Ess [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 19, 2002 8:20 AM > To: [EMAIL PROTECTED] > Subject: Boxes > > > Can someone have a look at > > http://www.voelspriet.nl/googledocumentenzoeker.htm > > I want to use ONE search box - not five,

RE: help!

2002-01-29 Thread Bob Showalter
> -Original Message- > From: John [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 29, 2002 1:12 PM > To: [EMAIL PROTECTED] > Cc: Beginners-Cgi@Perl. Org (E-mail) > Subject: Re: help! > > > Doesn't this leave the file open during the while? It might be OK > in this case depending on

RE: How To Display Browser Headers

2002-01-31 Thread Bob Showalter
> -Original Message- > From: Hewlett Pickens [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 30, 2002 7:01 PM > To: [EMAIL PROTECTED] > Subject: How To Display Browser Headers > > > Does anyone know of a way to get Microsoft's Internet > Explorer to display > the HTTP headers it t

RE: Date Functions

2002-02-01 Thread Bob Showalter
> -Original Message- > From: David Gilden [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 31, 2002 5:28 PM > To: [EMAIL PROTECTED] > Subject: Date Functions > > > Hi, > > I am updating an old Script. > > Are there any problems or 'Y2k' bugs, > in the following change? No. Looks

RE: doing work on the side

2002-02-01 Thread Bob Showalter
> -Original Message- > From: Pete Emerson [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 01, 2002 3:34 PM > To: [EMAIL PROTECTED] > Subject: doing work on the side > > > I have a CGI script that downloads data from MySQL and provides a > hyperlink to download the zipped file. > > T

RE: validation

2002-02-02 Thread Bob Showalter
> -Original Message- > From: Al Hospers [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 01, 2002 8:14 PM > To: [EMAIL PROTECTED] > Subject: validation > > > I need a regular expression that will only allow a variable to contain > digits. it should fail if there is anything else in th

RE: validation

2002-02-04 Thread Bob Showalter
> -Original Message- > From: Al Hospers [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 03, 2002 1:37 PM > To: [EMAIL PROTECTED] > Subject: RE: validation > > > > Al> thanks to everyone who responded. it seems that Bob's > > Al> /^\d+$/ > > > > Al> works the best overall for this si

RE: Counter in Perl

2002-02-12 Thread Bob Showalter
> -Original Message- > From: Octavian Rasnita [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 12, 2002 11:24 AM > To: [EMAIL PROTECTED] > Subject: Counter in Perl > > > Hi all, > I made a counter in Perl and if a visitor refreshes the page, > the counter > increases. > Can I modify

RE: Reading a file

2002-02-13 Thread Bob Showalter
> -Original Message- > From: Octavian Rasnita [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 13, 2002 2:48 PM > To: [EMAIL PROTECTED] > Subject: Reading a file > > > Hi all, > I would like to read a file line by line if possible, but the > file is not > text only, and I can't re

RE: CGI Timeout

2002-02-15 Thread Bob Showalter
> -Original Message- > From: Jeff [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 15, 2002 3:24 PM > To: [EMAIL PROTECTED] > Subject: CGI Timeout > > > This may be as much a question about web servers as it is > about perl cgi. Sorry if you find it inappropriate. > I am having a he

RE: unexpected results with grep

2002-04-23 Thread Bob Showalter
(don't top-post; see responses in context below...) > -Original Message- > From: Nazary, David [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 1:12 PM > To: 'Nikola Janceski'; '[EMAIL PROTECTED]' > Subject: RE: unexpected results with grep > > > instead of $_ I used $name bu

RE: unexpected results with grep

2002-04-23 Thread Bob Showalter
> -Original Message- > From: Bob Showalter [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 1:33 PM > To: 'Nazary, David'; '[EMAIL PROTECTED]' > Subject: RE: unexpected results with grep > > ... If you want to find the labels > con

RE: exiting correctly

2002-04-23 Thread Bob Showalter
> -Original Message- > From: Boex,Matthew W. [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 3:24 PM > To: '[EMAIL PROTECTED]' > Subject: exiting correctly > > > > i have a regex that checks for a string in a param, if not > found, it should > jump to an error subroutine. f

RE: history.back() does not work in IE

2002-04-25 Thread Bob Showalter
> -Original Message- > From: David vd Geer Inhuur tbv IPlib > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 25, 2002 12:32 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Subject: RE: history.back() does not work in IE > > .. > Here is what I did in the script :

RE: pattern matching for serial number

2002-04-26 Thread Bob Showalter
> -Original Message- > From: Kamali Muthukrishnan [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 26, 2002 9:39 AM > To: [EMAIL PROTECTED] > Subject: pattern matching for serial number > > > Hi guys : > I have serial numbers with a pattern : 3 numbers followed by > 2 capital letters fo

RE: Probably a stupid question

2002-04-26 Thread Bob Showalter
> -Original Message- > From: Bob Showalter [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 26, 2002 12:45 PM > To: 'Alex Read'; [EMAIL PROTECTED] > Subject: RE: Probably a stupid question > > ... > > The way to code this to do something like: &

RE: Probably a stupid question

2002-04-26 Thread Bob Showalter
> -Original Message- > From: Alex Read [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 26, 2002 12:01 PM > To: [EMAIL PROTECTED] > Subject: Probably a stupid question > > > Hello, > > OK, I have a nice a simple test case, but I just can't get it > to do what > I want it to. How do I

RE: Probably a stupid question

2002-04-26 Thread Bob Showalter
> -Original Message- > From: Alex Read [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 26, 2002 1:01 PM > To: Bob Showalter > Cc: [EMAIL PROTECTED] > Subject: Re: Probably a stupid question > > > Thanks guys, > > I think this should be able to do

RE: problem with #exec

2002-04-29 Thread Bob Showalter
> -Original Message- > From: CMS [mailto:[EMAIL PROTECTED]] > Sent: Saturday, April 27, 2002 10:11 PM > To: cgi > Subject: problem with #exec > > > Here one, > > I have the > on our web page, > > this error is display were the tag is: > > [an error occurred while processing this direc

RE: Multi thread ? Programming Style ? [with update]

2002-04-29 Thread Bob Showalter
> -Original Message- > From: John Brooking [mailto:[EMAIL PROTECTED]] > Sent: Sunday, April 28, 2002 8:43 PM > To: Connie Chan > Cc: [EMAIL PROTECTED] > Subject: Re: Multi thread ? Programming Style ? [with update] > > ... > A "zombie" process is one that has been started, but > for one

RE: radio buttons

2002-04-30 Thread Bob Showalter
> -Original Message- > From: Greg D. [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 30, 2002 12:42 PM > To: [EMAIL PROTECTED] > Subject: radio buttons > > > Ok i'm having problems getting information from the radio > button once it is > selected. > > this is the part that prints

RE: HELP!

2002-05-01 Thread Bob Showalter
> -Original Message- > From: Gary Stainburn [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 01, 2002 9:50 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Cc: Perl Help > Subject: Re: HELP! > > > On Wednesday 01 May 2002 1:43 pm, fliptop wrote: > > Andrew Rosolino wrote: > > > Say I hav

RE: HELP!

2002-05-01 Thread Bob Showalter
> -Original Message- > From: Gary Stainburn [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 01, 2002 10:53 AM > To: Bob Showalter > Cc: Perl Help > Subject: Re: HELP! > > > On Wednesday 01 May 2002 2:26 pm, Bob Showalter wrote: > [snip] >

RE: Does CGI.pm have escapeURL?

2002-05-01 Thread Bob Showalter
> -Original Message- > From: John Brooking [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 01, 2002 1:49 PM > To: Beginners CGI > Subject: Does CGI.pm have escapeURL? > > > Does CGI.pm have some kind of URL escape function, > similar to escapeHTML? I couldn't find any > documentation o

RE: logout

2002-05-06 Thread Bob Showalter
> -Original Message- > From: Teresa Raymond [mailto:[EMAIL PROTECTED]] > Sent: Sunday, May 05, 2002 2:20 PM > To: [EMAIL PROTECTED] > Subject: logout > > > I have the following script to logout, but when you push the back > button on the browser you can have access to the database. I w

RE: lexical scopes vs. packages

2002-05-06 Thread Bob Showalter
> -Original Message- > From: Nate Brunson [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 06, 2002 1:27 PM > To: [EMAIL PROTECTED] > Subject: lexical scopes vs. packages > > > ok so i didnt know who else to ask this question to... and it > doesent really have to do with cgi or anything i

RE: Little code fragment request (Is this code ok?)

2002-05-07 Thread Bob Showalter
> -Original Message- > From: Rafael Cotta [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 07, 2002 2:15 AM > To: [EMAIL PROTECTED] > Subject: Re: Little code fragment request (Is this code ok?) > > > Well, after searching I come to this: > > #--- > sub WriteLog > { > op

  1   2   3   >