doing a simple file-upload does not always gives a content-type back
with EmbperlObject.
im using the following fragment:
<-- snip -->
<FORM METHOD="POST" ENCTYPE="multipart/form-data">
<table><tr>
<td><INPUT TYPE="FILE" NAME="ImageName"></td>
<td><input type="submit" value="upload"></td>
</tr></table>
[$ if defined $fdat{ImageName} and $fdat{ImageName} $]
<hr>
Imagename: [+ $fdat{ImageName} +]<br>
Content-Type: [+ $fdat{-ImageName}->{'Content-Type'} +]<br>
<hr>
[$ endif $]
</FORM>
<-- /snip -->
this mostly happens after server-startup, and *sometimes* the content-type
is set after doing a form data repost.
Apache/1.3.20 (Unix) mod_perl/1.25 perl 5.6.1 embperl 1.3.3
embperl's make test did run without errors
any hints?
--
# Thoren Johne - 8#X - [EMAIL PROTECTED]
# Southern Division Classic Bikes - www.southern-division.com
print$_{2},${$_{3}},${${$_{5}}},${${${$_{7}}}}=>"\n8#X"=>not!sort<**42>=>
if$_{7}=\(\(\(H=>))),$_{5}=\(\(P=>)),$_{3}=\(A=>),$_{2}=J=>!not!sort<*42>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]