Okay, so short and sweet; I already have an image uploader working perfectly in PHP, from a HTML form. I now need to somehow store an uploaded images name to a variable in Javascript. The image name must be saved without the image path. For example: images123.jpg.
I am creating a kind of sign up form, so I don't need to save every image as a variable, just the current one, so it is saved on the users account as a variable.
Honestly, I'm completely new to PHP, and I'm still learning, so I have no clue on how to do this.
All help would be greatly appreciated!