Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Mime types

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Eraser
Grandmaster Cheater
Reputation: 0

Joined: 23 Jul 2008
Posts: 504
Location: http://www.youtube.com/PCtrainers

PostPosted: Sun May 24, 2009 7:33 am    Post subject: Mime types Reply with quote

I have a upload script and it does not allow the .exe files to be uploaded even though i added many mime types!
Here are the mime types:
"magnus-internal/cgi"
"application/unknown"
"application/exe"
"application/octet-stream"
"application/x-exe"
"vms/exe"
"application/x-winexe "
"application/msdos-windows"
"application/x-msdos-program"
"application/dos-exe"
"binary/exe");

Are there any more of .exe mime types? cuz it doesn't let me to upload .exe files >.>

And yes, lot's of other formats like zip, jpeg ect works.
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Sun May 24, 2009 12:28 pm    Post subject: Reply with quote

Please check whenever your provider/hoster does support the act of uploading exes or not.
_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Eraser
Grandmaster Cheater
Reputation: 0

Joined: 23 Jul 2008
Posts: 504
Location: http://www.youtube.com/PCtrainers

PostPosted: Sun May 24, 2009 3:46 pm    Post subject: Reply with quote

Well, i had the same script like a month ago. It had no exception list and any file format could have been uploaded including exe's (and php, html files ect so i had to add allowed ext. list because of security.)
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Sun May 24, 2009 5:15 pm    Post subject: Reply with quote

Eraser wrote:
Well, i had the same script like a month ago. It had no exception list and any file format could have been uploaded including exe's (and php, html files ect so i had to add allowed ext. list because of security.)


Why don't you do this:

Make a script that echos the mine-type when uploading a file. Then upload the file you wanted. Then add it to exception list.
Back to top
View user's profile Send private message
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Sun May 24, 2009 6:04 pm    Post subject: Reply with quote

I would add the mime-types of the files which ARE allowed or check for the file-extionsions instead of the mime-types.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites