Re: How to DUMP $_POST parameters to a log file? Very useful and missing in the php.net
| From: | Peter Lind | Date: | Sun, 08 May 2011 12:01:52 +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 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312725@lists.php.net to get a copy of this message | ||
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