hey guys
I can't get file path and file name when I browse file in php
here is my code
<?php
$a=$_GET[$_FILES['ImgBrowser']];
echo $a;
?>
<html>
<head></head>
<body>
<form action="SaveImg.php" method="get" name="aaa">
<input type="file" name="ImgBrowser"><br>
<input type="submit" value="Submit">
</form>
</body>
</html>
and I would like to get select file name and it file path.
example. I select one file from D:\User\Image\aa.txt
I would like to get file path as D:\User\Image
and file name as aa.txt
help me guys


