chalani pomozte.robim upload a neviem si rady. kody mam tu:
/www_root/upload/
Php kod:
Kód:
<?php
$theUploadFolder = "obrazky";
$filename = $_FILES['Filedata']['name'];
$uploaddir = $theUploadFolder."/".$filename;
move_uploaded_file($_FILES['Filedata']['tmp_name'], $uploaddir);
chmod($uploaddir, 0777);
?>
- CHMOD SOM DAL NA 777 lenze mi to stale vypisuje:
Kód:
Warning: chmod() [function.chmod]: Operation not permitted in /www_root/upload/upload.php on line 6
preco nieje operacia povolena? dakujem
//zmeneny nazov temy (stenley)