easy epub uploads, and changing max upload side

Question A:

I found this post on how to change your settings so that you can upload epub files, without having to manually ftp them and directly link them, see: http://eschipul.com/2010/08/adding-ebook-epub-and-mobi-downloads-to-wordpress/

I tried adding the following code into my theme functions.php file from my dashboard area:

/*************************************

add epub mobi and lit files

/*************************************

function addUploadMimes($mimes) {

$mimes = array_merge($mimes, array(

‘epub|mobi|lit’ => ‘application/octet-stream’

));

return $mimes;

}

add_filter(‘upload_mimes’, ‘addUploadMimes’:wink:;

While the good news, is this did not break anything, bad news, it did not fix the problem either. Suggestions? Ideas?

Question B:

3 of my downloadable files exceed the max file size permitted for uploading, they are like 10mb. Is there a easy way increase the max uploadable file size? and if so how?

Thank you!

Amy