[thelist] Uploading file names to a database

Aaron Cole awcole72 at hotmail.com
Fri Mar 16 14:31:07 CST 2001


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 ?

TIA

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





More information about the thelist mailing list