Phoenix.pm: help!

Phil Hartfield chaosppp at corp.earthlink.net
Fri Jun 9 16:14:19 CDT 2000


Ammon Cooke wrote:
> 
> --=====================_334039843==_.ALT
> Content-Type: text/plain; charset="us-ascii"; format=flowed
> 
> I'm trying to write an upload script that doesn't have a lot of features it 
> just uploads to a set directory, & sends an e-mail notifying me that 
> someone uploaded something. I found a script that did this & I've made a 
> few modifications to the script, but now when it should upload it throws a 
> 500 error the error log says:
> 
> Malformed multipart POST
> httpd.apache: [Fri Jun  9 14:07:02 2000] [error] [client 172.16.1.55] 
> Premature end of script headers: /home/httpd/cgi-bin/phoneup-test.cgi
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Almost always a compile-time error.  I mean, if it doesn't compile, it can't
output correct HTTP headers eh?

Phil

Disclaimer: Compile in this sense being the creation of the perl interpreters
internal byte-code versus the production of an actual standalone executable.


> I was just wondering if some one could possibly point me to what area of 
> the script might throw this error.
> 
> Thanks, & if I have posted this to the wrong group just tell me & I will Go 
> else where to post.
>          
> --=====================_334039843==_.ALT
> Content-Type: text/html; charset="us-ascii"
> 
> <html>
> I'm trying to write an upload script that doesn't have a lot of features
> it just uploads to a set directory, &amp; sends an e-mail notifying me
> that someone uploaded something. I found a script that did this &amp;
> I've made a few modifications to the script, but now when it should
> upload it throws a 500 error the error log says:<br>
> <br>
> <font face="Courier New, Courier">Malformed multipart POST<br>
> httpd.apache: [Fri Jun&nbsp; 9 14:07:02 2000] [error] [client
> 172.16.1.55] Premature end of script headers:
> /home/httpd/cgi-bin/phoneup-test.cgi</font> <br>
> <br>
> I was just wondering if some one could possibly point me to what area of
> the script might throw this error.<br>
> <br>
> Thanks, &amp; if I have posted this to the wrong group just tell me &amp;
> I will Go else where to post.<br>
> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab></html>
> 
> --=====================_334039843==_.ALT--
> 




More information about the Phoenix-pm mailing list