[snip] There is no mcrypt function to load directly a file, so it's need to preload it in a variable and then encrypt or decrypt it. But when the file is 12M size it failed. [/snip] What do you mean "it failed"? What kind of error did you get? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php