Salve,
sto cercando da tempo di creare un uploader di file per il mio sito, ma mi da ancora degli errori.
Mi è stato consigliato di utilizzare il local server path, ma non ho idea di che cosa sia..


Codice PHP:
<?php 
$target_path 
"http://www.coroconcorezzo.it/Spartiti/"
$target_path $target_path basename$_FILES['uploadedfile']['name']); 
if(
move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) { 
echo 
"The file "basename$_FILES['uploadedfile']['name']). " has been uploaded"
} else{ 
echo 
"There was an error uploading the file, please try again!"; } 
?>

Warning: move_uploaded_file(http://www.coroconcorezzo.it/Spartiti/SS4732_0509.pdf) [function.move-uploaded-file]: failed to open stream: HTTP wrapper does not support writeable connections in D:\Inetpub\webs\coroconcorezzoit\upload4.php on line 7

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\PHP\upload\php2737.tmp' to 'http://www.coroconcorezzo.it/Spartiti/SS4732_0509.pdf' in D:\Inetpub\webs\coroconcorezzoit\upload4.php on line 7
There was an error uploading the file, please try again!


Qualcuno può aiutarmi?