Hi,
Can anybody suggest the best way to retain a file form object within a form that is submitted part way through a process to gain extra form information. Then it is submitted at the end to save the form data.
So in other words I can keep other text box data by this method:
<input type="text" name="name" value="<?php if(isset($_POST['name'])){ echo $_POST['name'];}?>" >
for the file object could it be done? , this below doesnt work:
<input name="imagefile" id="imagefile" type="file" value="<?php if($_FILES['imagefile']['tmp_name']!=""){print($_FILES['imagefile']['tmp_name']);}?>">
has anybody got a solution to temporarily store the data and then send on a second time - or is it not possible?
Please help.
Thanks
JimFl
Can anybody suggest the best way to retain a file form object within a form that is submitted part way through a process to gain extra form information. Then it is submitted at the end to save the form data.
So in other words I can keep other text box data by this method:
<input type="text" name="name" value="<?php if(isset($_POST['name'])){ echo $_POST['name'];}?>" >
for the file object could it be done? , this below doesnt work:
<input name="imagefile" id="imagefile" type="file" value="<?php if($_FILES['imagefile']['tmp_name']!=""){print($_FILES['imagefile']['tmp_name']);}?>">
has anybody got a solution to temporarily store the data and then send on a second time - or is it not possible?
Please help.
Thanks
JimFl