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

From: Date: Sun, 08 May 2011 12:13:46 +0000
Subject: Re: How to DUMP $_POST parameters to a log file? Very useful and missing in the php.net
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-312726@lists.php.net to get a copy of this message
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)"<eli.orr@logodial.com> 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 look for a service function that can save
the parsed array into a file.
let say : $stt = save_POST_into_file ($_POST, $fp);
file_put_contents($filename, print_r($array, true)); Regards
-- 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_

« previous php.general (#312726) next »