I am just wondering why you can only post attachments with certain extensions? I mean seriously whats the point? What if I want to distribute my .emacs file or my .xmodmap file or my .xinitrc file? What if someone wants to post a tar.gz or a tar.bz2 archive?
Sturm 270 Veteran Poster
Recommended Answers
Jump to PostAttachments are stored in the database in the BLOB (binary string) format. Therefore, when fetched from the database, it's necessary for DaniWeb's script to pass back the appropriate mime type based on the file extension. If the attachment has a .gif extension, for example, I am going to pass 'Content-type: …
Jump to PostAt least uploading a file without extension should be allowed.
But then it wouldn't be able to be opened by any Windows machine.
Jump to PostThat's the whole point I'm trying to make. Every part of DaniWeb should be accessible the same way regardless of what platform someone is using. There shouldn't be an attached file that can be accessible by Linux users and not by Windows users, for example.
Jump to PostIt depends on how you have your Windows configuration setup. You can have files with no extensions automatically open in text editors, or you can have Windows ask you what program you want to open them with everytime. Regardless, it's something that's determined based on your own Windows settings. What …
Jump to PostWhen I create a new empty file with the .odt extension and I double click it from within Windows Vista, it tells me it's an unknown file type and asks how I want to handle the file. I only want to stick with file extensions that can be read by …
All 20 Replies
Narue 5,707 Bad Cop Team Colleague
Sturm 270 Veteran Poster
Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member
Sturm 270 Veteran Poster
Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member
Sturm 270 Veteran Poster
Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member
Sturm 270 Veteran Poster
John A 1,896 Vampirical Lurker Team Colleague
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member
Sturm 270 Veteran Poster
Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member
John A 1,896 Vampirical Lurker Team Colleague
Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member
Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member
Sturm 270 Veteran Poster
Chaky 191 Posting Virtuoso
Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member
Chaky 191 Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.