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
[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:
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
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
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
5 matches
Mail list logo