Jump to content

How do I copy just the file last characters in a URL string?


maestrodamuz

Recommended Posts

Hi ladies and gentlemen..nice to be here.

I have always wondered how I could achieve this.

I have an upload script to upload a file to a server, but I also want a field on a form to capture the file name and extention at the end of the URL string to submit to a database e.g C:/My Documents/Pictures/boy.jpg

I want a field to capture just the boy.jpg part to submit to a datbase.

 

Any help will be useful :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.