كالعادة أخوي رضا ،، بادعت مره ثانيه 
اخوي رياض ،،
هذا هو كود ملف الـPHP حق http://www.almosamem.net/ptennis
كود PHP:
<?php
// برمجة المصمم www.almosamem.net
$aBasePath = dirname( $PATH_TRANSLATED );
for ( $nIndex = 0; $nIndex < count( $thefiles ); $nIndex++ )
{
if ( !empty( $thefiles_name[$nIndex] ) )
{
$aType = $thefiles_type[$nIndex];
if ( ( $aType == "image/gif" ) ||
( $aType == "image/pjpeg" ) ||
( $aType == "image/bmp" ) ||
( $aType == "image/jpeg" ))
{
$aNewName = $aBasePath . "/uppics/" . $thefiles_name[$nIndex];
copy( $thefiles[$nIndex], $aNewName );
$aNewNames[] = $thefiles_name[$nIndex];
}
}
}
?>
<
<?php
$aCount = count( $aNewNames );
print( "تـم تحميـل عـدد <b>$aCount</b> مـن الـصور:<br><br>" );
foreach( $aNewNames as $aNewName )
{
print( "<img src=\"uppics/$aNewName\" border=\"1\"><br><br>" );
print( "عنوان الصورة هو :<br>" );
print( "<a href=http://www.domain.com/uppics/$aNewName>
[url]http://www.domain.com/uppics/[/url]$aNewName</a>
<br><br><br><br>
برمجة <a href="http://www.almosamem.net">المصمم</a>" );
}
?>
</body>
</html>
وهذا كود ملف الـHTML
كود PHP:
لتحميل الصور :<form action="http://www.domain.com/upload_multiple.php" method="post" enctype="multipart/form-data">
الصورة: <input type="file" name="thefiles[]" style="color: #000000; background-color: #eeeeee;
border-width: 1; border-style: solid; bordercolor= #000000 "><br><br>
<input type="submit" name="Submit" value="ارســــل" style="color: #000000;
background-color: #eeeeee; border-width: 1; border-style: solid; bordercolor= #000000 "></center></form>
</center><br><br>*الامتدادات المسموح بها :<br>
.gif<br>
.jpg<br>
.bmp