Hi, I have some code that will allow me to upload a file to my web site. I want to be able to save the fielname from the input field, because the input field will contain: C:/..whatever.../image.jpeg . I want to be able to just save the end: image.jpeg. I have tried strrchr but i cant figure that out. So when I try and retrieve the variable, lets say $the_file, and print it to the screen i get something like this:
/var/tmp/phpC29225 , now that aint right. Please will someone point me in the right direction.
Thanks