<html> <head> <title>DETAIL DU TRANSFERT</title> </head> <body> <br> <table width="100%" cellpadding="1" cellspacing="0" border="0" align="center"> <tr> <table width="100%" cellspacing="0" cellpadding="3" border="0" bgcolor="#BAD1AF"> <td><IMG SRC="IMAGES/feuille_cornee.gif"> <b>RESULTAT </b> </table> <table width="100%" cellspacing="0" cellpadding="3" border="0" bgcolor="#FFFFEA"> <? if ($file_name == "none") { print "Sp�cifier un fichier � envoyer."; } else { print "<td><b>fichier envoy� : </b>$nomfic </td><tr>"; /* $dest_rep correspond au repertoire de destination */ /* $dest_file correspond au fichier de destination */ $dest_file=$nomfic; $dest_rep=$nomrep; /* enleve un "\" */ $source_file=stripslashes($file_name); /* copie du fichier $source_file dans le repertoire $dest_rep sour le nom $dest_file*/ $res_copy=copy($source_file , $dest_rep.$dest_file); print "<td><b>Fichier temporaire: </b>$file_name</td><tr>"; print "<td><b>R�pertoire de r�ception : </b>$dest_rep</td><tr>"; print "<td><b>Fichier recu: </b>$dest_file</td><tr>"; } phpinfo(); ?> </table> </body> </html> }