I have a page with a working file upload. When you click on browse and then select your file, the file name is also returned to the second field, the picture name field. The problem is that the entire string is returned - 'G:\Catalog\MyPictures\somepic.jpg' instead of 'somepic.jpg'.
I know this can be pulled out with regular expressions, everything from the right until it hits a / or \ I included the script and a couple of links.
working example http://www.westmichiganwebservices.com/conn.asp