Re: form user interface issue

2003-04-01 Thread Octavian Rasnita
That form probably has a submit button that has a parameter name="...". The script might be checking for that param('...'). If the form is submitted by pressing the button, that parameter from the submit button is sent to the server while if the form is submitted by pressing enter from another for

Re: The very un-useful 'premature end of script headers' error message

2003-04-01 Thread Cool Hand Luke
> The answer to your question is: Be afraid, be very afraid. A wiley cracker > may be able to run system commands if you allow him/her to upload code. Even > without knowing that much, they could simply create a script that generates > a big enough upload to cause DoS (denial of service) on your se

File::Find

2003-04-01 Thread Jeff
I am attempting to use the File::Find module to go through all directories and subdirectories and preform a search and replace function. I am simply opening each file and line by line comparing to an input string parameter. If I find it, I replace with the input replace string, and keep on goi

RE: searching for files using perl - CORRECTION

2003-04-01 Thread Peter Kappus
oops... perldoc File::Find (not Find::File ...duh) -Original Message- From: Peter Kappus If you're just searching for files, this is probably a great opportunity to use the File::Find module. I reinvented the wheel about four times before I discovered this one...d'oh! oh yeah,

RE: searching for files using perl

2003-04-01 Thread Peter Kappus
Shawn Sharp wrote: > I created the following code to search for extention .PBD files in the > htdocs/PBD folder while using the apache webserver. However it will only > search in the cgi-bin folder for these files. What am I doing wrong? If you're just searching for files, this is probably a gre

Re: searching for files using perl

2003-04-01 Thread Wiggins d'Anconia
Shawn Sharp wrote: Can someone help on this one? I created the following code to search for extention .PBD files in the htdocs/PBD folder while using the apache webserver. However it will only search in the cgi-bin folder for these files. What am I doing wrong? #!/perl/bin/perl use warnings; us

searching for files using perl

2003-04-01 Thread Shawn Sharp
Can someone help on this one? I created the following code to search for extention .PBD files in the htdocs/PBD folder while using the apache webserver. However it will only search in the cgi-bin folder for these files. What am I doing wrong? #!/perl/bin/perl use warnings; use strict; use CGI

RE: form user interface issue

2003-04-01 Thread Bill Burke
Maybe the button dosen't have focus when the enter key is hit. This added to your javascript may help function check_email_onkeypress() { if ("13" == window.event.keyCode) { form.submit(); } } Also, I usually use the name attribute for the form. Like If you do t

form user interface issue

2003-04-01 Thread Hughes, Andrew
I have a form that I am using to add data to a mysql database table. I am using a .pl scrtipt to generate the html. I am using cgi.pm and param() to insert the form data. And, I am using to the print< Insider's Advantage