- 1

How to write,read and delete file using html?

5th Sep 2019, 10:54 AM
Mandisa Gugu
Mandisa Gugu - avatar
2 odpowiedzi
+ 4
Front-end languages like HTML, CSS, and JavaScript aren't capable of handling existing files. You need to know a language such as PHP or Python to manage files for your webpage.
5th Sep 2019, 10:55 AM
Daniel C
Daniel C - avatar
+ 2
And if I'm not mistaken, even PHP needs read access right to the file system object (files, directories) so it can work with it. That said, PHP can do that only in server where it runs, not on client side (browser), PHP only returns response for a request coming from client side. It has no right to client side assets. Though it may seem to do when we're working locally, in practice it simply doesn't.
5th Sep 2019, 11:37 AM
Ipang