hi,
i am new to php. i had a query about how to get the file name and file size of the uploaded file. so that i can display it in a table.
thank u.
niths
-1
Posting Whiz in Training
Recommended Answers
Jump to PostMight need a bit more info, but does this help?
echo "Uploaded file name: " . $_FILES["file"]["name"] . "<br />"; echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />";
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.