I have the problem on keeping the local jpg path in the browse field. If I'm not satisfy with the uploaded photos result, I would like to reedit the form (maybe change one of the photo only). If I click back on the browser, I'll lost info. Beside that, I also try to redisplay the form when a button is clicked but I still can't keep the file paths. Since I have more than 10 pcs photos to upload, it become very unconvenient. Please help.
part of my experiment code:
<FORM action="<?php echo $PHP_SELF ?>" method="post" enctype="multipart/form-data">
<input type="file" name="file" value ="<? print $file ?>">
<input type=submit name=submit value=" done ">
<input type=reset name=reset value=" Reset ">
</form>
<?
if(isset($submit)):
?>
<FORM action="<?php echo $PHP_SELF ?>" method="post" enctype="multipart/form-data">
<input type="file" name="file" value ="<? print $file ?>">
<input type=submit name=submitn value=" done ">
<input type=reset name=reset value=" Reset ">
</form>
<?
endif;
?>