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 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
Archived
This topic is now archived and is closed to further replies.