[PHP] Log all GET AND POST?

2004-07-15 Thread Robert Sossomon
I was wondering if anyone knew of a way to log all GET and POST information being passed to a log file? Thanks, Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Log all GET AND POST?

2004-07-15 Thread Jay Blanchard
[snip] I was wondering if anyone knew of a way to log all GET and POST information being passed to a log file? [/snip] Yes. Create a log file. Pass all GET and POST information to it. Over and over. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Log all GET AND POST?

2004-07-15 Thread James E Hicks III
On Thursday 15 July 2004 09:58 am, Robert Sossomon wrote: I was wondering if anyone knew of a way to log all GET and POST information being passed to a log file? Thanks, Robert $DEBUG_DATA = $_SERVER['PHP_SELF'].\n; while (list ($key, $val) = each ($_REQUEST)) { if

Re: [PHP] Log all GET AND POST?

2004-07-15 Thread raditha dissanayake
Robert Sossomon wrote: I was wondering if anyone knew of a way to log all GET and POST information being passed to a log file? The GET stuff is already in your apache log file. The POST stuf you probably don't want to log because it can be rather huge if you are dealing with things like file

Re: [PHP] Log all GET AND POST?

2004-07-15 Thread Marek Kilimajer
Robert Sossomon wrote: I was wondering if anyone knew of a way to log all GET and POST information being passed to a log file? Thanks, Robert $get = serialize($_GET); $post = serialize($_POST); and store the variables somewhere, eg. database -- PHP General Mailing List (http://www.php.net/) To