SunQuest
           Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old November 23rd, 2000, 05:57 AM
#6 #6 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Location: Melbourne, Victoria, Australia
Posts: 104 #6 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to #6
Hi,

I have a form that posts several fields as well as a file upload field with ENCTYPE set to multipart/form-data. It's received by a perl script but when it receives, it gives me a lovelty 500 internal error. So here's what I found in the error log:

Malformed multipart POST
[Thu Nov 23 22:32:05 2000] [error] [client 1.2.3.4] Premature end of script headers: /usr/w
ww/blablabla/cgi-bin/find_job.cgi

If it makes any difference, I'm using CGI.pm to receive the file.

Does anyone know why apache (if it is apache) doesn't like the upload? Is that even the problem?

Thanks,

Josh

Reply With Quote
  #2  
Old November 23rd, 2000, 08:19 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Because you can't mix those fields with multipart/form-data. I already gave you the solution last time but you seem to ignore my message and insist to stick with CGI.pm.

>>Does anyone know why apache (if it is apache) doesn't like the upload?

It's not problem with Apache. It's the RFC standard. Maybe you should read -> http://www.cis.ohio-state.edu/rfc/rfc1847.txt
then go back and read my previous example.

Reply With Quote
  #3  
Old April 23rd, 2001, 12:24 PM
anvita anvita is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Posts: 3 anvita User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to anvita
Hi,

I am developing a website to display its contents in various Indian language scripts. And I want user to give the option to view the data as PDF file also that he can download and print also.
I want to do this conversion on the fly using a PHP script.

But the problem is it is not being supported for Indian language fonts. I mean if I pass some English text and corresponding font (say Times-Roman) it get displayed properly. But when I pass the data for Indian language to the same script with its corresponding font (DV-TTYogesh on windows and DV_TTYogesh on Linux) anything doesn't come on the browser window.

The font, I am using, use ISCII (Indian Standard Code for Information Interchange) encoding standard as we do not have Unicode edition for our scripts.

If you can devote a little time and tell me if its possible or not? (to do it for Indian Languages with PHP and ClibPDF).

Please reply soon even if you can't do it or its not possible.
Thanks in advance.
Anvita.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Post problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway