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

mysterious blank space in variable

2003-03-31 Thread Cool Hand Luke
Ahoy, hoy. I am having problems with this script, it keeps adding 6 blank spaces in front of a variable when it calculates it. I can't see why it's doing so. The variable in question is the $x_amount. Can anybody see where I'm going wrong, or alternately is there a quick way to strip a variable dow

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

2003-03-31 Thread Cool Hand Luke
> just because you don't need to parse any binaries doesn't mean your users > won't try to submit one. > > don't forget anyone can create any kind of form that posts to your cgi. > so there's nothing stopping me from creating a form like this: > > http://coolhandlukesite/cgi-bin/script.cgi"; > enc

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

2003-03-30 Thread Cool Hand Luke
Now, why not? Also, notice that the code I used is not what you have quoted. Really am curious as to why not, though. Cool Hand Luke http://beatfreak.home.attbi.com - Original Message - From: "Randal L. Schwartz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; &q

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

2003-03-28 Thread Cool Hand Luke
t worked! Thanks to Bob, Scott, and Tim for all the help! Now all that's left is to bug the right people so that an actual up to date version of perl gets installed. :) Luke - Original Message - From: "Cool Hand Luke" <[EMAIL PROTECTED]> To: "Bob Showalter" <[

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

2003-03-28 Thread Cool Hand Luke
> 1. You *MUST* examine the server's error log. "Prematue end of script > headers" is just a generic message put out by Apache when it couldn't find > the response header your script should have put out. Any error messages > output by Perl or your script will be found in the error log. Until you ca

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

2003-03-26 Thread Cool Hand Luke
i programs. If your server is using this the requirements > for naming and permissions are slightlky different and very > picky. Check with your server support people. > > Good Luck! > Dennis > > > > > > On Wed, 26 Mar 2003, Cool Hand Luke wrote: > > > Da

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

2003-03-26 Thread Cool Hand Luke
send errors to browser use SimLib; my $q = new CGI; # initiate new CGI object print $q->header(-type=>'text/html'); # send text/html header to browser (Same as before) - Original Message - From: "Scot Robnett" <[EMAIL PROTECTED]> To: "Cool Hand Luke"

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

2003-03-26 Thread Cool Hand Luke
BTW, that's Stronghold/Apache version 1.3.4 if that helps... Thanks Again Luke - Original Message - From: "Cool Hand Luke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 3:41 PM Subject: The very un-useful 'premature end of scri

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

2003-03-26 Thread Cool Hand Luke
Hi there, I am having the toughest time trying to run perl scripts on this Stronghold Apache SSL server I am working with for my company. Everything I run returns the same 'premature end of script headers' error message. This has happened with every script I've run except the most rudimentary "