Making users create files in database from the website

So bascily, I wana make it so when a user presses a button, it creates a folder with some files in the backend of replit How do I do that? So the button is in the website and it’s also built in html, css, JavaScript, php

Hey, @Caly1687 welcome to the forums.

Can you please provide a link to your Repl?