dave_m123 Posted August 15, 2007 Share Posted August 15, 2007 Hi all, I'm trying to retrieve a filename from a file i select using a fieldfield. I'm unable to upload the file to my ftp server due to stupid limitations from my server provider. So I am uploading the file using a standard ftp client software and then selecting the file of my harddrive to associate with an entry in a database. The problem is everytime I select a file and click on Submit, PHP seems to temporarily upload the file before retrieving the filename. So if this is a big file it can take a while when it should be a near instant process to take the path of the filename and remove everything but the filename+extension. Is there anyway of retrieving the filename in a quicker way than the way it is doing it at the moment? Thanks for any help given. Dave Quote Link to comment https://forums.phpfreaks.com/topic/65016-retrieving-a-filename-from-a-filefield-form-element/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.