Re: [PHP] How to DUMP $_POST parameters to a log file? Very useful and missing in the php.net

2011-05-08 Thread Eli Orr (Office)
Thanks. Great! It works so well ! On 08/05/2011 15:01, Peter Lind wrote: On May 8, 2011 1:57 PM, "Eli Orr (Office)" wrote: Dear PHP Gurus, I need dump a $_POST parameters as part of debug process with a client. Any know service to make this ? I know $_POST is an Array but I

[PHP] How to enable UTF-8 Subject String ? Only Body is set ok

2011-05-17 Thread Eli Orr (Office)
et=utf-8;"*."\r\n" . "X-Mailer: PHP/".phpversion(); -- Best Regards, *Eli Orr* CTO & Founder *LogoDial Ltd.* M:+972-54-7379604 O:+972-74-703-2034 F: +972-77-3379604 Plaut 10, Rehovot, Israel Email: _Eli.Orr@LogoDial.com_ Skype: _eliorr.com_

[PHP] Sending Email via SMTP account using PHP

2011-05-18 Thread Eli Orr (Office)
Hi, I'm looking for a good example for using a real SMTP account to send email from, such as serv...@somai.com where there is a user & password and smtp server available. Please advise with a good example to reuse, Thanks Eli -- PHP General Mailing List (http://www.php

Re: [PHP] Sending Email via SMTP account using PHP

2011-05-18 Thread Eli Orr (Office)
Thanks Daniel! It works perfect. Eli On 18/05/2011 17:47, Daniel Brown wrote: On Wed, May 18, 2011 at 03:17, Eli Orr (Office) wrote: Hi, I'm looking for a good example for using a real SMTP account to send email from, such as serv...@somai.com where there is a user& password

[PHP] a Debate here - How can you check a if a file is a UTF-8 without the BOM using PHP ?

2011-05-21 Thread Eli Orr (Office)
l function that can detect files without a BOM if they are UTF-8 or not please share you knowledge if this is not a "NULL" or impossible function as I thought. Many thanks for you wise advise. -- Best Regards, *Eli Orr* *LogoDial Ltd.* Email: _Eli.Orr@LogoDial.com_ Skype: _eliorr.com_

Re: [PHP] Check the byte sequence of a file to tell if it is UTF-8 without the BOM using PHP ?

2011-05-21 Thread Eli Orr (Office)
one character into one, two or three character. Any advise if I'm right on this or smart file scan function that makes it? Eli On 21/05/2011 20:03, Adam Richardson wrote: On Sat, May 21, 2011 at 12:10 PM, Eli Orr (Office) mailto:eli@logodial.com>> wrote: Dear PHP Gurus,

Re: [PHP] Check the byte sequence of a file to tell if it is UTF-8 without the BOM using PHP ?

2011-05-22 Thread Eli Orr (Office)
Dear Peter, But my point was different. If you DO NOT have any BOM of a File does mb_detect_encodin can detect the file type by scanning the whole file ?? Thanks Eli On 22/05/2011 09:53, Peter Lind wrote: On 22 May 2011 08:17, Eli Orr (Office) wrote: Hi Adam, I have a prof that the

Re: [PHP] Check the byte sequence of a file to tell if it is UTF-8 without the BOM using PHP ?

2011-05-22 Thread Eli Orr (Office)
Thank you Peter. Can you please advise if mb_detect_encodin does detect the file type by its structure / content? Thanks Eli On 22/05/2011 10:12, Peter Lind wrote: On 22 May 2011 09:03, Eli Orr (Office) wrote: Dear Peter, But my point was different. If you DO NOT have any BOM of a

[PHP] GnuPG from PHP - Where is the include ??

2011-05-24 Thread Eli Orr (Office)
Please advise - I'guess it is not a build in and looking for the GnuPG PHP include as all the GnuPG functions are now considered undefined. See below. Thanks Eli // GnuPG from PHP - Where is the include ?? // http://www.gnupg.org/gph/en/manual.html // http://www.gnupg.org/document

[PHP] How can a UTF-8 string can be converted to an array of Bytes?

2011-05-25 Thread Eli Orr (Office)
Hi, Since a UTF-8 is a multi-bytes mechanism I get for 2 or 3 bytes UTF-8 encoded character a single character How can it be break into the REAL bytes array that represent the UTF-8 string and how can we reassembled the bytes array back to UTF-8? -- Best Regards, *Eli Orr* CTO

[PHP] PHP to Java integration using : shell_exec function

2011-05-26 Thread Eli Orr (Office)
quot;"/usr/bin/java/java -jar MyApp.jar -XML <$XML_toEnc>); <<== ??? How can I pass parameters like a large string of let say XML? echo $EncXML; // back to the MObile Client // Receiving client shall: // urldecode the string ?> Eli Orr -- PHP General Mailing List (http:

Re: [PHP] Ftp upload

2011-06-14 Thread Eli Orr (Office)
ring I got:   However I do not get the string as a utf-8 (After I do urldecode to the client POST parameter) Please advise Eli

<    1   2