[PHP] Big file encryption

2005-07-14 Thread david forums
Hello every body I'm in the ... 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 ? Please help david -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Refresh

2005-07-14 Thread david forums
well I see two way. First is to make a php script without end, which will run continuously. second way is to add refresh html tag, in your page, or a js script to reload automaticaly. I'm not seeing other solution in php. regards Le Thu, 14 Jul 2005 02:27:47 +0200, Miguel Guirao [EMAIL

Re: [PHP] Big file encryption

2005-07-14 Thread david forums
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

Re: [PHP] Big file encryption

2005-07-14 Thread david forums
Ok tx And you mean that I can concatenate every chunck in the same file ? And what about decryption, could I take the same way ? david Le Thu, 14 Jul 2005 14:25:48 +0200, Ahmed Saad [EMAIL PROTECTED] a écrit: hi david, On 7/14/05, david forums [EMAIL PROTECTED] wrote: So I need

Re: [PHP] Big file encryption

2005-07-14 Thread david forums
Not at all cause the chunk are beeing free every time it is write in the file. so it does not excide the amount you set. regards Le Thu, 14 Jul 2005 16:10:17 +0200, Skippy [EMAIL PROTECTED] a écrit: Quoting Ahmed Saad [EMAIL PROTECTED]: // do whatever with the chuck you read. //

Re: [PHP] CASE Tool For PHP OO Programming

2005-07-12 Thread david forums
DIA with the estension xml2php5 Le Mon, 11 Jul 2005 15:22:32 +0200, Pascual De Ruvo [EMAIL PROTECTED] a écrit: Hi, Can someone suggest a free CASE Tool for UML modelling that generates PHP 5 code? Thanks in advance, Pascual De Ruvo -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] zlib.output_compression

2005-07-12 Thread david forums
do not forget to remove ob_start, also you'll make double compression regards Le Tue, 12 Jul 2005 12:29:02 +0200, LacaK [EMAIL PROTECTED] a écrit: Thank you, I know this technique : ob_start('ob_gzhandler'); but I am interesting on : ini_set('zlib.output_compression', true); /this is

Re: [PHP] Re: Question to eregi Syntax

2005-07-07 Thread david forums
Just for information preg_match is 4-5 times more faster. regards david Le Thu, 07 Jul 2005 19:26:32 +0200, M. Sokolewicz [EMAIL PROTECTED] a écrit: Philip Hallstrom wrote: janbro wrote: Hi List, my research hasn't turned anything useful up. Probably 'cause I don't have enough info.

Re: [PHP] postgres - mysql last_inserted_id

2005-07-01 Thread david forums
Hi I'm migrating also to posgresql. The easyest way to manage incrementation with postgres is to use sequences. How to : Create a sequence for each table that need autoincrementation. use pgMyAdmin, to make all needed changes before any insert call the id. select nextval('tablename_seq');

Re: Re[2]: [PHP] PHP vs. ColdFusion

2005-06-30 Thread david forums
Hi Concerning php and J2EE, zend platform is providing a solid bridge between both environment. This as been specially build for developping big system (banking, tracking, etc). regards david Le Thu, 30 Jun 2005 13:06:22 +0200, Richard Davey [EMAIL PROTECTED] a écrit: Hello

[PHP] eml splitting

2005-06-22 Thread david forums
Hi Do you are or know where I could find something (already made) to split eml (getting headers, body) I try to have a look on imap extension, but it seems to need an smtp server connection. regards david -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: Extra (persistant) tier

2005-06-22 Thread david forums
To make persistant object with php use serialize and include the object into session. it's the only way with php regards david Le Wed, 22 Jun 2005 14:43:51 +0200, Catalin Trifu [EMAIL PROTECTED] a écrit: Hi, Basically you can take your mind off object persistance in PHP

Re: [PHP] Re: Allowed memory size of

2005-06-21 Thread david forums
'; print SETTING MEMORY LIMIT TO $mem_limit Megabytesbr /; ini_set('memory_limit', $mem_limit.'M'); //http://us4.php.net/manual/en/ini.core.php#ini.memory-limit There are a variety of limitations and restrictions to the commands noted above, be sure to read the documentation. -- Bob david

Re: [PHP] Re: security question...??

2005-06-21 Thread david forums
Why don't you try to get interactivity with ID machin which is unique, or with mac address. David Le Tue, 21 Jun 2005 12:50:23 +0200, Shaw, Chris - Accenture [EMAIL PROTECTED] a écrit: (thus Philip Zimmermann got arrested for violating the weapons law when he created PGP) I thought

Re: [PHP] Re: Persistant Connections and max_connections on mysql

2005-06-21 Thread david forums
Hi Use sqlrelay which manage persistance and load balancing and give very high speedy access cause is doing database pool connection cache. regards david Le Tue, 21 Jun 2005 11:47:29 +0200, Catalin Trifu [EMAIL PROTECTED] a écrit: Dan Rossi wrote: On 21/06/2005, at 6:06 PM,

Re: [PHP] resetting arrays

2005-06-21 Thread david forums
Hi I'm not sure but maybe array_flip or array_reverse should help try with different array_FONCTION, at the ultimate you can use array_map to reindex the array. regards david Le Tue, 21 Jun 2005 14:33:55 +0200, I. Gray [EMAIL PROTECTED] a écrit: Hi. I am sure this is easy, but

Re: [PHP] Re: Allowed memory size of

2005-06-21 Thread david forums
the debugging statements. Does the script work with smaller files? Can you the memory_limit to something very high, over 220 Mb, and/or test your script with smaller files to find the threshold where the Fatal error occurs? -- Bob david forums wrote: Bob I try to run your test script. So before

Re: [PHP] Re: security question...??

2005-06-21 Thread david forums
I read this article, which is very interresting. I will work over a tracking service, adn I'm very interresting by those information. But my main question, it's how to do it with php. If some of you try this please let us know how to applicate it with php. regards david Le Tue, 21 Jun

[PHP] sending eml file

2005-06-21 Thread david forums
Hi Could you give me a way to send (with a local sendmail) eml file. Not as attachment but as the whole email. regards david -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Allowed memory size of

2005-06-20 Thread david forums
Hello I got the following message. PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 69505726 bytes) I read on several forums to increase the size of the memory limit in php.ini. As you can wee which as already be done cause 13421772869505726. But I