Limiting access to cgi scripts

2001-06-04 Thread Kurt Edmiston
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{HTTP_REFERER}; my $legal_re

Re: Extra ?

2001-06-21 Thread Kurt Edmiston
At 10:45 AM 6/21/2001 -0400, you wrote: >I keep seeing these "extra" hidden fields in my source ... > >Does anyone know where/what/why they are being generated ? > > I believe that these are printed when you use the end_form (or endform?) subroutine, which is part of the CGI.pm module. -Kurt

RE: Extra ?

2001-06-21 Thread Kurt Edmiston
> >print $q->endform, "\n"; # offending code maybe ? <== <== ># ># form for input of estimates, sends confirmation/results of submit ># to "toolbar" ... ># I'm not sure if this is what you want, but couldn't you just replace the above line of code with print ""; That will at leas