I have a website where the users can upload an image.
However, before they upload one, on registering I want a standard image to be put in the directory. Almost a placeholder image.
How do I get about writing PHP that would take a copy of a file and put it into a different directory when a user reigsters?
You can work with a single placeholder image, and use that in case there isn’t an uploaded image from the user. Example: