[thelist] Uploading file names to a database

Tab Alleman talleman at autobex.com
Fri Mar 16 14:48:27 CST 2001

have your script parse the path-file string to use only what comes after the
last slash ("/").

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Aaron Cole
Sent: Friday, March 16, 2001 2:32 PM
To: thelist at lists.evolt.org
Subject: [thelist] Uploading file names to a database

I'm building a UI for myself that will allow me to add images from my local
computer to the database on my server.  I am using an <input="text"
name="image"> form field and then submitting the information to an action
page which has an INSERT statement.  The problem is that the input value
includes the entire path.  Is there anyway to only upload the file name
itself; ie. image.jpg ?


Get your FREE download of MSN Explorer at http://explorer.msn.com

For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !

More information about the thelist mailing list