I know the way to do this with PHP but does anyone know a way of doing it only with JS & HTML?
The canvas image should be saved to a server, not locally.
I know the way to do this with PHP but does anyone know a way of doing it only with JS & HTML?
The canvas image should be saved to a server, not locally.
For JS in the browser security context, is not allowed to write to the user's file system Or to the server file system.
You must have a server side service that will intercept the file and than save it to the system.
to achieve it using JS only, you need to use node.js as server side