Good morning. I would like to know how to make my ...
<input type="file" name="ent_reg">
Be processed in PHP, or upload the file to my hosting and save the path in MySQL database.
The table in MySQL would be like this
Identification, full name, password, and profile image.
Where "profile image" saves the route where the file was uploaded to my hosting, so I can call it when said user logs in.
I want the name of the file to be changed, I am working to assign a profile image for the user, that is, an avatar. If the user who uploaded the file is called "John Kalibur" then in the directories of my server is this way
htdocs / users / data / john68 / archivo_john68.jpg
How can I make this possible? Thanks for the time invested in me.