Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- trim filename from a string
April 1, 2008, 10:45 am
rate this thread
user entered in a previous form. I would like to trim just the file
name from this string.
So rather than having users/andy/images/image.jpg I insert only
image.jpg in to my database table.
I am receiving this as a string not as a multipart form submit the
file has already been placed on the server by this stage.
Thank you in advance for any help.