How can i pull the name of a file that a user is uploading and add that name to a database
lets say i have a 2 field form -- file and file id -- each salesrep has to give a file a file id that a client will enter to download the file. i can get the file uploaded but how do i pull the filename and add that into a 3 column mysql dbase? Only zip files will be allowed btw. and the files are going into folder 'files'
so the filepath would be 'files/filename.zip' I also want to check for same name files before upload and should be able to figure that out. but my main inquiry is how do i get the filename only from the browse textbox into the dbase prceeded of course by 'files/'
thanks
<Signature>
Sometimes the Answer You Are LOOKING for can be FOUND BY SEARCHING THE FAQ'S @&%$*#!!!
</Signature>
lets say i have a 2 field form -- file and file id -- each salesrep has to give a file a file id that a client will enter to download the file. i can get the file uploaded but how do i pull the filename and add that into a 3 column mysql dbase? Only zip files will be allowed btw. and the files are going into folder 'files'
so the filepath would be 'files/filename.zip' I also want to check for same name files before upload and should be able to figure that out. but my main inquiry is how do i get the filename only from the browse textbox into the dbase prceeded of course by 'files/'
thanks
<Signature>
Sometimes the Answer You Are LOOKING for can be FOUND BY SEARCHING THE FAQ'S @&%$*#!!!
</Signature>