php-windows Digest 16 May 2009 10:19:53 -0000 Issue 3623

Topics (messages 29333 through 29335):

Re: Debug PHP , Write Every Action (and not just errors debug related) into a 
file
        29333 by: Ferenc Kovacs
        29334 by: onemancrew
        29335 by: onemancrew

Administrivia:

To subscribe to the digest, e-mail:
        php-windows-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-windows-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-wind...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
2009/5/15 onemancrew <i...@wserv.co.il>

> Hello
>
> I am using PHP Version 4 Over Windows Server 2003 , the webserver
> application is IIS 6
>
> I couldn't find a way to debug PHP and enable the debug.
> I would like that every action that PHP is doing will be written into a
> file.
> I think that PHP doesn't support such feature but I am here to confirm it.
> I am not talking about writting only errors , I would like to debug any
> action that the php is doing.
>
> thanks
>
> onemancrew
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> xdebug
Tyrael

--- End Message ---
--- Begin Message ---
We are talking about shared hosting server.

I don't care about stack , memory allocation and etc.

I would like to find the exploit web site that through this web site spammers are sending spam (relay)

any suggestion ?

thanks

onemancrew

--- End Message ---
--- Begin Message ---
Hi Again

I am the server administrator.

some details about the server:

OS: Windows Server 2003
PHP Version: PHP 4.4.6 (cgi-fcgi) (built: Feb 28 2007 21:35:46)
MailServer Application: MailEnable (works under Windows OS)

How do I know that the source of the problem is PHP ?
Because I have investigated the email header and I have found that the emails have been created through PHP.
It's 200% that the spam emails have been created through PHP code.

The Mail() function is enable. Also I provide mail relay only to requests which comes from localhost (127.0.0.1)
What does it means ?
it means that if a php script try to create new email envelop and in the script the mail server which is defined is 127.0.0.1 or localhost then the php script will be able to create the email envelop. Also in such case no authentication is required.

The relay option for 127.0.0.1 or localhost is defined in the Email Server Application (MailEnable). And I must use such setting because I have php applications which don't make any authentication through the email server.

Under this server I have alots of web sites.
So I can't start checking each IIS log file on daily basis.

I have enabled the error php debug file. but it is only log unsuccessful php actions. So this log file doesn't provide me information regarding success mail() function operation. And because of that I can't track after the source of the PHP code which create those emails envelop.

What I need is the following (because I don't find any better solution):
I must have the capability to track any php action into a file.
I need to have the capability to track down each action that php.exe is doing in relevant of mail() function.

I did some investigation and couldn't find internal feature inside php.exe to log any action that it's doing (not only errors).

Regarding the additional_parameters and the vhost-unique key.
I think that I can't implement such feature while PHP is working under Windows OS and While the Email Server Application is MailEnable. I think that such feature is eligible and working only when the Email Server Application is SendMail.
Because MailEnable doesn't support special Key processing.

Any Suggestion ?
--- End Message ---

Reply via email to