Re: Submitting Form Passes Old Values

2002-08-14 Thread Wiggins d'Anconia
In other words what Rob is asking ;-) is are you using mod_perl or plain cgi, and in the case of plain CGI, what browser are you using? what version of that browser? and have you tried other browsers, on other OSes, on other computers with what results??? http://danconia.org Hanson, Rob w

Re: problems with sendmail within a cgi

2002-08-14 Thread Wiggins d'Anconia
A cursory look at the code appears ok, you are positive that there are no errors given, have you tried running it command line?? What does sendmail's log file look like??? The program may be sending to sendmail, it may not be complaining back immediately, but it might be complaining later and

problems with sendmail within a cgi

2002-08-14 Thread no longer exists
Hello, i have used cgi-lib for awhile, but have just been given the job of securing my companies perl files and have started using cgi.pm plus all the security restrictions and have come across a problem. I have this code that redirects just fine, gives me no errors, yet will NOT send out the e

Re: Better regrex method

2002-08-14 Thread Mike(mickako)Blezien
Hi Rob, Yea, I think that would work better, much appreciated ;) >>"Hanson, Rob" wrote: > > This works for me... > > # sample data > my @tags = qw(K001900 L001234 GP001675); > my @prefixs = qw(SP 8 L K GP TP MP); > > # join them with pipes for use in the regex > my $prefix = join('|', @prefix

RE: Better regrex method

2002-08-14 Thread Hanson, Rob
This works for me... # sample data my @tags = qw(K001900 L001234 GP001675); my @prefixs = qw(SP 8 L K GP TP MP); # join them with pipes for use in the regex my $prefix = join('|', @prefixs); # match prefix against each tag, seprate the parts. # the "o" switch cause the regex to only compile onc

Better regrex method

2002-08-14 Thread Mike(mickako)Blezien
Hello, I'm working on a project where I need to split various tag numbers, from a standard set of prefixes, entered into a form and check the number against a database. A sample test code that works, but was wondering if there's a better way to utilize the regrex of this code: # @tags similuate

Re: problems with CGI module

2002-08-14 Thread Kevin Meltzer
Well, what exactly is the value of $av_equip and $date_slide at this time? Add a few print statments in for debugging, use CGI::dump() to see what is really being passed in. You may not be storing the values you expect in these variables. Cheers, Kevin On Wed, Aug 14, 2002 at 09:28:22AM -0700, P

Re: problems with CGI module

2002-08-14 Thread Pam Derks
Hi Kevin, I've changed per your suggestion to: elsif ($av_equip eq "slide") { if ($date_slide eq "") { print $q -> h3(), "Please enter date needed for 35mm Slide Projector."; } } but the error checking isn't working, i.e. if I've got 35mm checked, the error message isn't being displaye

Re: problems with CGI module

2002-08-14 Thread Kevin Meltzer
Hi Pam, On Wed, Aug 14, 2002 at 08:37:46AM -0700, Pam Derks ([EMAIL PROTECTED]) said something similar to: [snip] > elsif ($av_equip eq "slide" || "tvvcr" || "lcd" || "boombox" || "overhead" || >"opaque" || "flipchart" || "projection") { This is basically like saying: elsif ($foo eq "bar" |

problems with CGI module

2002-08-14 Thread Pam Derks
HI, I'm having difficulties using the CGI module, I've read over the module but it's not sinking in. Any help would be greatly appreciated -- Pam the html form can be seen at: www.unex.berkeley.edu/test2/av_form.html the output of the form is sent to a file and also emailed the problems I'm

Re: Help!! Retrieving Image File

2002-08-14 Thread Connie Chan
> Code 1: It didnt work... > > #!/usr/bin/perl > > use CGI; > $query = new CGI; > my $filepath='/home/myaccount/uploads/laptop.jpg'; > > print $query->header('image/jpeg'); > print $filepath; > Of cause, you didn't open the file and read the file. You are trying to print "/home/myaccount/upl

[ADMIN - THREAD CLOSED] Re: REMOVE ME from your mailing list!

2002-08-14 Thread Kevin Meltzer
Hey folks, We don't need to have these sort of comments and flames to the list. I had emailed this person off list to give him other ways to unsubscribe (and have not heard back). Many times, people seem to try to unsubscribe from email addresses which aren't the ones subscribed to the list. Alth

Re: Checking Form data

2002-08-14 Thread perl-dvd
For July's javascript stat try http://www.thecounter.com/stats/2002/July/javas.php For any month statistics with javascript, java, os's, browsers, resolutions, colordepth's http://www.thecounter.com/stats/ (note, after clicking on the month, notice the yellow area on the right for choosing the

RE: 7xx's et al

2002-08-14 Thread Kipp, James
> Hi David and thanks > > True 755 is required for both read and execute by the group and world. > > But all the directories and html code in my home site are all 744. I > have the cgi-bin folder on 711 as that I thought (under Apache anyway) > was supposedly only accessible by the owner but th

Re: REMOVE ME from your mailing list!

2002-08-14 Thread WyvernGod
You guys are being very childish.. I myself have sent an e-mail to the unsubscribe e-mail address on another of my names and it has yet to unsubscribe that e-mail ... so maybe you should realize that it "may not be working correctly" and not just assume that someone is stupid And yes he ha

Re: REMOVE ME from your mailing list!

2002-08-14 Thread John Pitchko
Very clever! But what's really scary is his e-mail address. "@us.army.mil" How nice, an army guy that hasn't figured out how to unsubscribe from an e-mail list. I hope he isn't the dude that holds his finger above the nuke button. John Pitchko Data Services Saskatchewan Government Insurance >>

Re: Checking Form data

2002-08-14 Thread David T-G
Jim, et al -- ...and then Jim Lundeen said... % % on a side note: does anyone know the % of people that actually disable % javascript in their browser? can javascript actually be used to harm (lets 100% of the people on my computer do :-) % pretend those annoying pop-up windows don't count!

RE: server_a and server_b permission update

2002-08-14 Thread Bob Showalter
> -Original Message- > From: Jimmy George [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 14, 2002 1:48 AM > To: Wiggins d'Anconia > Cc: cgi > Subject: Re: server_a and server_b permission update > > > Hello Wiggins and World > > As a check I did put the cgi-bin folder onto 755. Th

RE: Cache problem in IE

2002-08-14 Thread Bob Showalter
> -Original Message- > From: Niko Gunadi [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 13, 2002 9:23 PM > To: Beginners cgi > Subject: Cache problem in IE > > > Hi, > > I developed an online polling system where ppl can vote online. This > voting is done in a computer room where pe

Help!! Retrieving Image File

2002-08-14 Thread Perl
Hello All, I created a simple http upload file routine that uploads file into my accounts sub folder uploads, "/home/myaccount/uploads". This is already running. Now what I wanted to do is retrieve the uploaded file from the browser, and display the content in the browser if it is an image or a

RE: Submitting Form Passes Old Values

2002-08-14 Thread Hanson, Rob
Running Perl as a CGI will *not* cache any variables (or anything else). Each time the script is called the Perl executable will be started, and when finished it will free all memory that it was using. If you are using mod_perl it is a little different. mod_perl will cache a script (and any modu

Re: new lines and stupidity

2002-08-14 Thread David T-G
Jimmy -- ...and then Jimmy George said... % % Hello World Hi! % % David pointed out that the \n is not applicable in the context I was in % and that the html was. Of course! Only silly tired people like me % do dumb things like that after having been using them in text % definitions for the

Submitting Form Passes Old Values

2002-08-14 Thread Hal Vaughan
I've got what amounts to a control panel or preferences settings system that uses HTML and perl scripts. I'm running this on Mandrake Linux 8.2 with Apache 1.3. I have two pages that interact with each other. The 2nd page, the one I'm having problems with, has a number of checkboxes, drop do

Re: Network Programming

2002-08-14 Thread Mat Harris
what sort of network programming, what do you want to achieve? On Sun, Aug 11, 2002 at 08:45:25PM +, [EMAIL PROTECTED] wrote: > Hello there. Do you know where can I find a good Perl Network Programming Tutorial?? > Thank you. > > > > > >---