Hi!

Some weeks ago, I posted a message with problems with multipart/form-data 
forms. The problem is that I didn't receive any sugestion and I wasn't able to 
fix the problem.

I have a multipart/form-data form in which I want to upload photos. But in this 
form I have other text 
fields too. The problem is that in these textfields I can have ISO-8859-2 or 
UTF-8 characters.
On my windows local machine everithing works fine, but when I upload my work on 
server (suse), the UTF-8 characters from the textfields becomes "?". Why? How 
can I fix this problem?

Please send me some parameters that can fix this or cause this problem. I tried 
to change the encoding of the request before reading the data from 
parameters... but this was not enough.

Related to this problem I have an another question. I talked about photo 
upload. I'm new in such tasks. I want to know an algorithm of implementing 
this. Exactly, when somebody ulpoad a photo this photo can have more Megas. But 
in the page it must be displayed only in a small area. So it is not correct to 
put the 10M photo because it takes some minutes to load the page. But when 
somebody click the photo he must view the "big" photo.
So, is there a tool or package that helps to display on the page a smaller 
version of the same photo, and on click to show the original photo. How did you 
resolve this situation?
I have some ideas to start, but before I start the work I want to choose the 
best version:
1. the user must upload 2 photos instead of 1. (a small and a big photo)
2. when somebody upload a photo, to save the big photo and generate and save 
the small photo on the server (I didn't find something to work for all formats)
3. to send dinamicaly to the page a smaller version of the big photo (so on the 
server I will have saved only the big photo) (I don't know how).

Thanks in advance for any sugestion!

Regards,
   Levi

Reply via email to