RE: [PHP] Apache logs to keep $_POST values

2003-07-29 Thread Jay Blanchard
[snip] I don't think I would have a problem with a separate log because I write into the log file all the datas I want(URL, Referer, etc, and $_POST) at once so the log would be OK. The difference from writing into Apache's log is that Apaches writes the URL, Referer, etc and then I write the $

Re: [PHP] Apache logs to keep $_POST values

2003-07-29 Thread Peter James
t; <[EMAIL PROTECTED]> To: "Jay Blanchard" <[EMAIL PROTECTED]>; "Bogdan Albei" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 29, 2003 1:42 PM Subject: Re: [PHP] Apache logs to keep $_POST values Probably better to shell a command to write to

Re: [PHP] Apache logs to keep $_POST values

2003-07-29 Thread Nicholas Robinson
Probably better to shell a command to write to the system log - I don't think PHP can do it directly. This would nott be subject to the contention problems you cite in writing to either an apache log or a dedicated log. HTH Nick On Tuesday 29 Jul 2003 8:36 pm, Jay Blanchard wrote: > [snip] > I

Re: [PHP] Apache logs to keep $_POST values

2003-07-29 Thread Bogdan Albei
Jay Blanchard wrote: [snip] I wanted to know if Apache has a feature that could log the $_POST values. [/snip] I don't think so, you would probably have to consult an Apache list or the Apache manual. [snip] By the way, fopening the log file and write the $_POST variables won't work on a server wi

RE: [PHP] Apache logs to keep $_POST values

2003-07-29 Thread Jay Blanchard
[snip] I wanted to know if Apache has a feature that could log the $_POST values. [/snip] I don't think so, you would probably have to consult an Apache list or the Apache manual. [snip] By the way, fopening the log file and write the $_POST variables won't work on a server with high activity bec

Re: [PHP] Apache logs to keep $_POST values

2003-07-29 Thread Bogdan Albei
Jay Blanchard wrote: [snip] Is there any way to log the $_POST values passed to the PHP scripts in Apache's access log? [/snip] fopen the log file, write the $_POST variables and any other data you would like to record along with a newline ("\n"). Make sure to fclose the log file. HTH! I want

RE: [PHP] Apache logs to keep $_POST values

2003-07-29 Thread Jay Blanchard
[snip] Is there any way to log the $_POST values passed to the PHP scripts in Apache's access log? [/snip] fopen the log file, write the $_POST variables and any other data you would like to record along with a newline ("\n"). Make sure to fclose the log file. HTH! -- PHP General Mailing List (