log of all php's connection [message #179114] |
Thu, 13 September 2012 14:44 |
nawfer
Messages: 34 Registered: August 2011
Karma: 0
|
Member |
|
|
I have in localhost on windows, easyphp (apache, php, mysql)
I would like to have a file log with a list of all connections that one
php application does;
1) the connection or datas that are send and at which url;
2) the email sended
and generally all the activity with the external
|
|
|
Re: log of all php's connection [message #179119 is a reply to message #179114] |
Thu, 13 September 2012 18:59 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On 9/13/2012 10:44 AM, nawfer wrote:
> I have in localhost on windows, easyphp (apache, php, mysql)
> I would like to have a file log with a list of all connections that one
> php application does;
> 1) the connection or datas that are send and at which url;
> 2) the email sended
> and generally all the activity with the external
>
There's nothing in PHP to do this.
Apache has the ability to log incoming connections and you can get more
information depending on the log settings. But otherwise you'll need to
either implement the code in the application itself or set up a proxy
server to do the logging.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|
|
Re: log of all php's connection [message #179129 is a reply to message #179119] |
Fri, 14 September 2012 08:38 |
nawfer
Messages: 34 Registered: August 2011
Karma: 0
|
Member |
|
|
Il Thu, 13 Sep 2012 14:59:35 -0400, Jerry Stuckle ha scritto:
> On 9/13/2012 10:44 AM, nawfer wrote:
>> I have in localhost on windows, easyphp (apache, php, mysql)
>> I would like to have a file log with a list of all connections that one
>> php application does;
>> 1) the connection or datas that are send and at which url;
>> 2) the email sended
>> and generally all the activity with the external
>>
>
> There's nothing in PHP to do this.
>
> Apache has the ability to log incoming connections and you can get more
> information depending on the log settings. But otherwise you'll need to
> either implement the code in the application itself or set up a proxy
> server to do the logging.
so in exit, apache cannot know nothing?
in localhost on win, which is solution more simple for activate a proxy for
logging; are settings inner win xp or some applications?
|
|
|
Re: log of all php's connection [message #179137 is a reply to message #179129] |
Fri, 14 September 2012 14:22 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On 9/14/2012 4:38 AM, nawfer wrote:
> Il Thu, 13 Sep 2012 14:59:35 -0400, Jerry Stuckle ha scritto:
>
>> On 9/13/2012 10:44 AM, nawfer wrote:
>>> I have in localhost on windows, easyphp (apache, php, mysql)
>>> I would like to have a file log with a list of all connections that one
>>> php application does;
>>> 1) the connection or datas that are send and at which url;
>>> 2) the email sended
>>> and generally all the activity with the external
>>>
>>
>> There's nothing in PHP to do this.
>>
>> Apache has the ability to log incoming connections and you can get more
>> information depending on the log settings. But otherwise you'll need to
>> either implement the code in the application itself or set up a proxy
>> server to do the logging.
>
> so in exit, apache cannot know nothing?
As far as Apache goes, there is no "exit". There are just requests and
responses for Apache-delivered resources.
> in localhost on win, which is solution more simple for activate a proxy for
> logging; are settings inner win xp or some applications?
>
You need to be asking in a Windows or networking forum. Such is far
beyond what this forum is about.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|