Hi ...
I have a problem on Uploading a file and also get that filename to be display.I did read the chronoform tutarials and did the same. But the file didn't uploaded and also didn't display the file name. I give the full code of my chronoform.Kindly give the solution or another way of the problem
Code is :
I have a problem on Uploading a file and also get that filename to be display.I did read the chronoform tutarials and did the same. But the file didn't uploaded and also didn't display the file name. I give the full code of my chronoform.Kindly give the solution or another way of the problem
Code is :
<div class="form_item">
<div class="form_element cf_textbox">
<label class="cf_label" style="width: 150px;">Name</label>
<input class="cf_inputbox" maxlength="150" size="30" title="" id="text_0" name="text1" type="text" />
</div>
<div class="cfclear"> </div>
</div>
<div class="form_item">
<div class="form_element cf_textbox">
<label class="cf_label" style="width: 150px;">Address</label>
<input class="cf_inputbox" maxlength="150" size="30" title="" id="text_1" name="text2" type="text" />
</div>
<div class="cfclear"> </div>
</div>
<div class="form_item">
<div class="form_element cf_fileupload">
<label class="cf_label" style="width: 150px;">Browse document</label>
<input class="cf_fileinput cf_inputbox required" title="" size="20" id="file_2" name="file1" type="file" />
</div>
<div class="cfclear"> </div>
</div>
<div class="form_item">
<div class="form_element cf_button">
<input value="Submit" name="button_3" type="submit" />
</div>
<div class="cfclear"> </div>
</div>
<?php
echo "<strong><br/><br/> The Result is </strong> : ";
echo "<br/> Name : ".$_POST['text1'];
echo "<br/> Address : ".$_POST['text2'];
echo "<br/> File : ".$_POST['file1'];
?>