ho trovato questo script....
Codice PHP:
<?php
/////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                                             //
//  GumXchanger                                                                                //
//  Current Version : 1.0                                                                      //
//  Author : GUMSLONE                                                                          //
//  You you can redistribute it and/or modify this script but please always put author's name  //
//                                                                                             //
/////////////////////////////////////////////////////////////////////////////////////////////////
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html"/>
<meta http-equiv="Cache-Control" content="no-cache" forua="true"/>
<title>GumXchanger</title></head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080">
'
;
if (
$upload="upload"&&$superdat_name){

if (!
eregi("\.(mid|gif|bmp|mid|midi|3gp|mp3|wav|mpn|nth|mpc|jar|jad|jpeg|jpg|sis|mmf|amr|thm|png|wbmp)$",$superdat_name)){
print 
"[b]Unsuported File extention!!![/b]";
}else{
$superdat_name preg_replace(
             
'/[^a-zA-Z0-9\.\$\%\'\`\-\@\{\}\~\!\#\(\)\&\_\^]/'
             
,'',str_replace(array(' ','%20'),array('_','_'),$superdat_name));
if(
strlen($superdat_name)>53){ print "[b]File Name to long!!![/b]";
}else{
if (empty(
$superdat)) {
print 
"[b]No input file specified!!![/b]";
}else{
copy("$superdat""Gum_files/$superdat_name") or
die(
"Couldn't copy file.");

$date=(date("D, j F Y"));

$fsize=round($superdat_size/1024,1);

$text "&&$superdat_name&&$fsize KB&&$date&&$REMOTE_ADDR&&";
$text=strip_tags($text);
$text ereg_replace("\n"" "$text);
$text ereg_replace("\r"""$text);
$text ereg_replace("~""-"$text);
$text str_replace('$''$$'$text);
$xfile = @file("Gum_Uploads");
$xfile array_reverse($xfile);
$check explode("&&",$xfile[0]);
if(
"$text"!="$check[1]"){

           
$fp=@fopen("Gum_Uploads","a");
           @
fputs($fp,"$text \r\n");
           @
fclose($fp);

}
echo 
"[b]$superdat_name[/b] has been successfully uploaded";
}
}
}
}
?>
<FORM ACTION="upload.php" METHOD="POST" ENCTYPE="multipart/form-data">
[img]./upload.png[/img]

[b]File to be sent :[/b]

<input type="file" name="superdat">
<input type="hidden" name="upload" value="upload"/>

<INPUT TYPE=SUBMIT NAME="submit" VALUE="Upload File">

[url="./index.php"]Uploaded Files[/url]
 You can upload files with folowing extentions:

*.jpg *.gif, *.png, *.bmp, *.mid, *.midi, *.mpn, *.mpc, *.mmf, *.amr, *.mp3, *wav, *.3gp, *.sis, *.thm, *.jar, *.nth,


(c) GumSlone
</FORM>
</body>
</html>
qualcuno sa dirmi come inserire il codice che quando hai finito l'upoad esce scritto l'indirizzo di dove sarà collocata l'immagine???tnks