usapphire Posted February 24, 2007 Share Posted February 24, 2007 Quick question How do I make it so that file types, example ".rar" are listed on a download page as "RAR", other than the default "application/octet-stream". I'm using mySQL to keep the data type. Thank you. Link to comment https://forums.phpfreaks.com/topic/39905-upload-file-type/ Share on other sites More sharing options...
usapphire Posted February 24, 2007 Author Share Posted February 24, 2007 I don't know where the "edit" button is, but I also have another problem.. when someone "downloads" a file, the link only displays the first word, for example, if the file is called "My File.jpg", it will only display "My", and when downloaded, will be a file called "My".. so people won't be able to open it without changing the name.. Can this be fixed? Link to comment https://forums.phpfreaks.com/topic/39905-upload-file-type/#findComment-192899 Share on other sites More sharing options...
usapphire Posted February 24, 2007 Author Share Posted February 24, 2007 Example; if a file is uploaded with a SPACE in it's name "My file.jpg", can the SPACE be replaced by an underscore? "My File.jpg" -> "My_File.jpg" ? The file name is kept in a table called "name". Link to comment https://forums.phpfreaks.com/topic/39905-upload-file-type/#findComment-192911 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.