Kritesh Kaushik,
Great point Kritesh! Yeah, the scope of this article was to introduce the HTML support of file upload capabilities.
The back-end part starts exactly where this article ends. I'm planning to write one sooner with node.js as backend.
Can it be achieved only through php or is there some other efficient way too?
Yes, there are multiple ways.
It could be a combination of both front-end and back-end. For example, the HTML File API provides ways to get the file object and convert it into a stream, blob, string, etc.
The same converted output can be used to store using a backend service written in node.js.
We can use something like Multer which is very efficient in handling the file upload in the node.js ecosystem.
I think it would be an exciting item to explain some steps to file upload using back-end services.
Thank you for reading through and asking. Appreciate it.