now if you must have the local path of your file here's a rough code to give you an idea using javascript, then just have it php control it on the server side. <form action="" method="post" enctype="multipart/form-data" name="form_upload"> <input type="file" name="file_upload" onChange="javascript: document.forms[0].file_upload_path.value = document.forms[0].file_upload.value"> <input type="text" name="file_upload_path" value=""> </form> -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php