sakra nevim cim to ale na WZ uz mi nejakou dobu nefunguji uploady..
vzdy se zobrazi stranku nelze zobrazit a tim upload konci bez jakehokoliv prenosu..
example:
if (isset($image)) {
$filename = "../image/img_$adid_$ids.jpg";
move_uploaded_file($image, $filename);
$size = GetImageSize($filename);
$im_in = ImageCreateFromJPEG($filename);
$im_out = ImageCreate(110, 130);
ImageCopyResized($im_out, $im_in, 0, 0, 0, 0, 110, 130,$size[0], $size[1]);
ImageJPEG($im_out, "../image/small_$adid_$ids.jpg");
ImageDestroy($im_in);
ImageDestroy($im_out);
}
<FORM ENCTYPE="multipart/form-data" METHOD="POST">
<INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="2097152">
<INPUT NAME="image" TYPE="file"><br><br>
<input type="submit" value="Uložit">
</FORM>
cim to? Tam kde to driv jelo uz to nejede
nepada to tam nekde na tech operacich s tim obrazkem ? sice nevim proc by melo, ale spis bych videl problem tam, protoze upload funguje