<p><p>Hi ,</p> <p>I am new to PHP and I am stuck with a particular problem.&nbsp; I have written a script to allow the user to upload certain files to my website.&nbsp; Part of the validation is to check if the file exists and is that is the case the user is redirected to another page where they are prompted to replace the existing file.&nbsp; The problem is however, I have lost the value in&nbsp; <i><b>basename( $_FILES[\\\'uploaded\\\'][\\\'name\\\']).&nbsp; </b></i></p> <p>In&nbsp;the sendind&nbsp;<b>&nbsp;</b>page the value is assigned to a session variable and although the value is available to the redirected page it doesn\\\'t work&nbsp;with the <i><b>move_uploaded_file </b></i>function, which only appears to work with <b><i>$_FILES[\\\'upload\\\'].&nbsp; </i></b>Is there&nbsp;a way of passing&nbsp;<i><b>$_FILES[\\\'upload\\\'] </b></i>to another page?</p> <p>Thanks</p> <p>Tris</p> <p>&nbsp;</p></p>