You are here: Re: [PHP] Big file encryption « PHP « IT news, forums, messages
Re: [PHP] Big file encryption

Posted by Mikey on 07/14/05 15:18

david forums wrote:

> Hihihihi
>
> Of course I already has the whole object to encrypt and decrypt, my
> problem is link to the size of the file.
>
> 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.
>
> So I need to know a way to be able to encrypt large file.
>
> regards
>
> david
>
>
>
> Le Thu, 14 Jul 2005 13:33:25 +0200, Jay Blanchard
> <jay.blanchard@niicommunications.com> a écrit:
>
>> [snip]
>> well I have a big file (around 12M), and I have to encrypt this file,
>> and
>> to decrypt some time after.
>>
>> How could I do? Is it possible to encrypt and decrypt a file line by
>> line ?
>> [/snip]
>>
>> Start with the manual at http://us2.php.net/manual/en/ref.mcrypt.php
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
You could try upping the max memory limit in your php.ini file, or with
ini_set() if you only want to allow this for your one script...

hth,

Mikey

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация