A
Anonymous
Guest
Good Day!
Can anyone help me on how to get the browsed address in Uploading an Image.
Example:
I have browsed an image: and i want to get the browsed address like Eocuments/Mypic/sample.jpg
I want to get this address. How to do that?
This is my sample code that i have made:
I used this: when i pass it the the post method
$file = $_FILES["txtupload"];
$filename = $_FILES['txtupload']['name'];
echo"$file"; // output is Array
echo"< br/>";
echo"$filename"; // output is the filename of the browsed file ( sample.jpg)
How to do that i can get all the address:like : Eocuments/Mypic/sample.jpg
Your help is greatly appreciated thanks
Can anyone help me on how to get the browsed address in Uploading an Image.
Example:
I have browsed an image: and i want to get the browsed address like Eocuments/Mypic/sample.jpg
I want to get this address. How to do that?
This is my sample code that i have made:
I used this: when i pass it the the post method
$file = $_FILES["txtupload"];
$filename = $_FILES['txtupload']['name'];
echo"$file"; // output is Array
echo"< br/>";
echo"$filename"; // output is the filename of the browsed file ( sample.jpg)
How to do that i can get all the address:like : Eocuments/Mypic/sample.jpg
Your help is greatly appreciated thanks