Re: i'm warning you, this is a toughie!

2001-06-04 Thread Mathew Hennessy
Nichole Bialczyk wrote: > > The problem is that I don't know exactly what the problem is. I can write > to the logfile when I run it in Unix, but not when I try to access it > from the web. He says that it is more secure to write to our server than > it is to write to afs. But I can't make it wor

Re: Limiting access to cgi scripts

2001-06-04 Thread Mathew Hennessy
Kurt Edmiston wrote: > > Hi, I want to limit access to one of my scripts. I have a list of web > pages that are authorized to call my script, and I want to disable the > script if another unauthorized page calls it. My code to do this looks > like the following: > > my $referer = $ENV{H

Re: testing null strings for form field values

2001-06-04 Thread Mathew Hennessy
[EMAIL PROTECTED] wrote: > > if ( $formdata{view_name} ne "" ) { > $view = $formdata{view_name}; > $viewtag = "1"; > } > > is there a special method for testing against a null string for a form > field's value? i am using the above data, but it seems to always return exists() will t