I want to know the REALPATH of selected file. Like I uploaded the image. I want to know F:\ubuntu\Ubuntu.ico.
This is my code:
<pre>
<?php
print_r($_FILES);
?>
</pre>
<form method="post" action="" enctype="multipart/form-data">
<input type="file" name="fupload" id="fupload" />
<input type="submit" value="Upload" />
</form>
Output:
Array
(
[fupload] => Array
(
[name] => Ubuntu.ico
[type] => image/x-icon
[tmp_name] => D:\xampp\tmp\php89.tmp
[error] => 0
[size] => 1150
)
)