[PHP] Returned mail: see transcript for details

2005-06-19 Thread MAILER-DAEMON
The original message was included as attachment -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] comparing two texts

2005-06-19 Thread jenny mathew
so,what what should i conclude .it is not possible to compare two texts and hight the difference at this moment. thanks. Yours , Jenny On 6/19/05, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Sun, 2005-06-19 at 12:33, M. Sokolewicz wrote: > > Robert Cummings wrote: > > > On Sun, 2005-06-1

[PHP] Permission argh!

2005-06-19 Thread Andy Pieters
Hi all I am in the process of creating an installer for my php application. During the test proces, it does this: isdir(root)?>create dir root ok?>chmod 0777 isdir(root/child)?>create dir root/child ok?>chmod 0777 isdir(root/child/grandchild)?>create dir root/child/grandchild ok?>chmod 0777

Re: [PHP] Re: SFTP problems

2005-06-19 Thread M. Sokolewicz
Lowell Allen wrote: On Jun 19, 2005, at 12:37 PM, M. Sokolewicz wrote: Lowell Allen wrote: I need to use SFTP to send text files and binary files from one server to another, but I'm unable to use fopen on the remote server, and if I send with ssh2_scp_send the files are truncated. I'm as

Re: [PHP] Re: SFTP problems

2005-06-19 Thread Lowell Allen
On Jun 19, 2005, at 12:37 PM, M. Sokolewicz wrote: Lowell Allen wrote: I need to use SFTP to send text files and binary files from one server to another, but I'm unable to use fopen on the remote server, and if I send with ssh2_scp_send the files are truncated. I'm assuming the libssh2-PE

Re: [PHP] comparing two texts

2005-06-19 Thread Robert Cummings
On Sun, 2005-06-19 at 12:33, M. Sokolewicz wrote: > Robert Cummings wrote: > > On Sun, 2005-06-19 at 09:22, M. Sokolewicz wrote: > > > >>jenny mathew wrote: > >> > Untested, very crude: > > $maxlen = max(strlen($text1), strlen($text2)); > for ($i = 0; $i < $maxlen; $i++){ > >

[PHP] Re: SFTP problems

2005-06-19 Thread M. Sokolewicz
Lowell Allen wrote: I need to use SFTP to send text files and binary files from one server to another, but I'm unable to use fopen on the remote server, and if I send with ssh2_scp_send the files are truncated. I'm assuming the libssh2-PECL/ssh2 installation isn't the problem because I'm able

Re: [PHP] comparing two texts

2005-06-19 Thread M. Sokolewicz
Robert Cummings wrote: On Sun, 2005-06-19 at 09:22, M. Sokolewicz wrote: jenny mathew wrote: Untested, very crude: $text1[$i]|$text2[$i]"; } ?> donot you think you program will just bring the server to its foot ,if the text message encountered is very large of order of 40 KB or larger.is

Re: [PHP] comparing two texts

2005-06-19 Thread Robert Cummings
On Sun, 2005-06-19 at 09:22, M. Sokolewicz wrote: > jenny mathew wrote: > >>Untested, very crude: > >> > >> >>$maxlen = max(strlen($text1), strlen($text2)); > >>for ($i = 0; $i < $maxlen; $i++){ > >>if (@$text1[$i] == @$text2[$i]) echo @$text1[$i]; > >>else @echo "$text1[$i]|$text2[$i]"; > >>} > >>

[PHP] SFTP problems

2005-06-19 Thread Lowell Allen
I need to use SFTP to send text files and binary files from one server to another, but I'm unable to use fopen on the remote server, and if I send with ssh2_scp_send the files are truncated. I'm assuming the libssh2-PECL/ssh2 installation isn't the problem because I'm able to connect using ssh2

Re: [PHP] comparing two texts

2005-06-19 Thread M. Sokolewicz
jenny mathew wrote: Untested, very crude: $text1[$i]|$text2[$i]"; } ?> donot you think you program will just bring the server to its foot ,if the text message encountered is very large of order of 40 KB or larger.isthere any other efficient method. 40KB isn't large... now

Re: [PHP] comparing two texts

2005-06-19 Thread jenny mathew
> Untested, very crude: > > $maxlen = max(strlen($text1), strlen($text2)); > for ($i = 0; $i < $maxlen; $i++){ > if (@$text1[$i] == @$text2[$i]) echo @$text1[$i]; > else @echo "$text1[$i]|$text2[$i]"; > } > ?> donot you think you program will just bring the server to its foot ,if the text messa