Welcome Guest, Not a member yet? Register   Sign In
File Upload Class File type problem
#5

[eluser]RJ[/eluser]
Quote:Array
(
[file_name] =>
[file_type] =>
[file_path] => ./uploads/
[full_path] => ./uploads/
[raw_name] =>
[orig_name] =>
[file_ext] =>
[file_size] =>
[is_image] =>
[image_width] =>
[image_height] =>
[image_type] =>
[image_size_str] =>
)
application/octet-stream

Application?
Code:
$config['allowed_types'] = 'txt|log';

A sample of the log file being uploaded is attached... i change from .log to .txt works great, but something isn't working right with .log; I had to zip the file, CI wont let me upload .log to the forum.


Messages In This Thread
File Upload Class File type problem - by El Forum - 02-05-2010, 09:13 AM
File Upload Class File type problem - by El Forum - 02-05-2010, 10:11 AM
File Upload Class File type problem - by El Forum - 02-08-2010, 09:52 AM
File Upload Class File type problem - by El Forum - 02-08-2010, 10:24 AM
File Upload Class File type problem - by El Forum - 02-08-2010, 02:30 PM
File Upload Class File type problem - by El Forum - 02-08-2010, 02:48 PM



Theme © iAndrew 2016 - Forum software by © MyBB