RE: antispam or something

2001-08-17 Thread Blader Robert G DLVA
I may be missing something here but I have to wonder about the usefulness of the information you will obtain. There is a good chance that someone using your form for the sake of sending spam has managed to use a "private" address (10.10.x.x, 192.168.x.x, etc) which will not resolve in DNS to a do

Re: Run a CGI Script on OS X w/o...

2001-08-17 Thread Teresa Raymond
BTW there's a mac cgi web list: http://www.macperl.com/depts/mlist.html >I have a mac w/ OS 9, and would like to know if I upgrade to OS X >(UNIX BASE) would I be able to run CGI scripts natively w/o having >to connect to the internet, but use the WEB SERVER on the hard disk >instead? I heard

CGI Email don't work

2001-08-17 Thread kahine Kldon
I'm sending you the files I'm having problems with. The first one is the checkout page and when the checkout button is clicked then it should send an email but it doesn't do it. The second one is the cgi email script. I grab this script from some a website but I don't know why it is not working.

Calling subs

2001-08-17 Thread Adam Carson
I am checking a value from a form to see which format and addresses should be used in an e-mail. could anyone tell me why this: If ($destination eq "HR"){ &resources;} elsif ($destination eq "MIS"){&techsupport;} else {print "Invalid destination."; exit;} would generate this message: sy

Counter situation

2001-08-17 Thread freiref
This is the doubt, I resume the problem in the next lines... Suppose I have 3 web pages in my web site. In each of the 3 pages I have a SSI tag at the final of each page. The SSI call a perl program in the cgi directory thats open a .txt file for increment a counter and then return to the pag

Re: flock()

2001-08-17 Thread Xavier
Adam Carson wrote: > does anyone know what needs to be loaded to use flock()? I am on a win98 > box with IndigoPerl. > > Adam Carson > MIS Department > Berkeley County, SC On regular linux perl you sh

IIS 5 cgi port

2001-08-17 Thread Xavier
Hi, I would like to port some cgi-script on Microsoft Windows 2000 server and IIS from Linux-apache. I already install activeState and perl seems to work well on IIS (even if the isapi and dll stuff still remain chinese for me !)... but and of course my script don't work at all ! I would like

port cgi script for linux-apache to IIS

2001-08-17 Thread Xavier
Hi, I would like to port some cgi-script on Microsoft Windows 2000 server and IIS from Linux-apache. I already install activeState and perl seems to work well on IIS (even if the isapi and dll stuff still remain chinese for me !)... but and of course my script don't work at all ! I would like

First Attempts - Yet another mail from form script.

2001-08-17 Thread Simon Waters
Okay, only my second Perl routine written in anger. I found a few scripts that nearly did what I wanted, but they either didn't work, were too general, or required loads of alteration to forms before I could use them. I wanted something to drop in the "ACTION" statement of a form to send a mail a

Re: Passing Scalar Reference to Subroutine

2001-08-17 Thread Michael Fowler
I'm responding to both messages (the original and the response) because I don't have the original. On Thu, Aug 16, 2001 at 01:21:16PM -0500, randy Peterman wrote: > I believe that you may need to add an ampersand "&" before the name of the > subroutine, like so: > if(!&isPresent(\$req, $user))

Re: Calling subs

2001-08-17 Thread Teresa Raymond
The "I" of your if should be small case. Also, I usually put exit(0); because that was what I was taught, but could it also be causing you problems? >I am checking a value from a form to see which format and addresses >should be used in an e-mail. could anyone tell me why this: > >If ($desti

Re: CGI Email don't work

2001-08-17 Thread Teresa Raymond
Can you email the code (not as an attachment though) or post it as a text file on a website? >I'm sending you the files I'm having problems with. >The first one is the checkout page and when the checkout button is >clicked then it should send an email but it doesn't do it. >The second one is t

foreach loop scoping

2001-08-17 Thread Camilo Gonzalez
Ack! Fellow programmers, I have what is probably a rudimentary problem I hope some one can solve. I'm trying to construct a hash of hashes from a form. The relevant code is as follows: for $modelkey (@model) { $datum = shift @data; @fields = (split /&/, $datum);