I have two files which is index.php and upload.php
In index I have a browse button and a submit button. If I click the submit button, it will direct to a new web page and show the uploaded file name and size.
All of this works.
Now I want to show the uploaded file name and size on the same web page as the browse and submit button.
|File Name||File Size|
|’. $_FILES[‘uploadedfile’][‘name’] . ‘||’. round($_FILES[‘uploadedfile’][‘size’]/1024,4) . ’ Kb|
I have tried to insert the upload.php code in a new html
and insert the upload.php code right below head
What is missing? or are there any better way to do this?