Imam obrazac i scipt koji bi trebali da upoaduju fije na server...medjutim nesto ne radi.
Molim vas pogedajte kod i poruku koju dobije:
html deo:
<form action="upload.php" method="post" enctype="multipart/form-data">
<br>
<input name="userfile" type="file"><br>
<input type="submit" value="Send files">
</form>
----------------------------------------------------
upload.php:
<?php
if (is_uploaded_file($userfile)) {
copy($userfile, "/VDOMAINS/sajt/web/www/up/aa");
} else {
echo "Possible file upload attack: filename '$userfile'.";
}
?>
Poruka koja se dobije:
Warning: Unable to create '/VDOMAINS/sajt/web/www/up/aa': Is a directory in /VDOMAINS/sajt/web/www/up/upload.php on line 4
Gospoda u Veratu nisu rapsolozeni da mi kazu u cemu je problem pa se obracam vama.