Cawte prosim vás neviem čo je stým zložka adonny maju práva 777 aj tak nechce nahrať daný objekt
<? include ("info.php"); ?>
<A>
<?php
$file_upload=$_FILES['file_server'];
if(isset ($_FILES['file_server']))
{
echo 'Súbor <b>'.$file_upload['name'].'</b> bol úspešne načítaný na server';
$open=fopen($file_upload['tmp_name'],'r+');
if($file_upload['filesize']<300*1024*1024);
{
$upload=fread($open,$file_upload['size']);
$file_new=fopen("adonny/",'w+');
fwrite($file_new,$upload);
}
}
echo'</body></html>';
?>
<form enctype="multipart/form-data" action="<?php print $_SERVER['PHP_SELF']?>" method="post">
<p>
<input type="hidden" name="id" value='<? echo "$id"; ?>' />
<input type="hidden" name="nick" value='<? echo "$nick"; ?>' />
<input type="hidden" name="kod" value='<? echo "$kod"; ?>' />
<input type="hidden" name="MAX_FILE_SIZE" value="256000" />
<input type="file" name="fupload" class="textovepole" width="500"/>
<input type="submit" class="tl" value="Odeslat soubor" />
</p>
</form>
</A>
<? include ("spodok.php"); ?>
nevieto čo je s tým???? :smile10: