J
John Smith
Hi,
I'm using the input File method for users to upload their files to a folder
on a website, I wanted to store the filename in the database but the
information that is produced from the input File is an absolute path to the
file on the users system (ie. c:/usersfolder/usersfile.doc) where as I only
want the filename (usersfile.doc). I am presuming that this is going to be a
Split method but is there a decent place to find a tutorial on this. I've
had a good google but can't seem to find anything.
Thanks
John
I'm using the input File method for users to upload their files to a folder
on a website, I wanted to store the filename in the database but the
information that is produced from the input File is an absolute path to the
file on the users system (ie. c:/usersfolder/usersfile.doc) where as I only
want the filename (usersfile.doc). I am presuming that this is going to be a
Split method but is there a decent place to find a tutorial on this. I've
had a good google but can't seem to find anything.
Thanks
John