[PHP] pre-screening pages before served?

2009-07-20 Thread Chris Payne
Hi everyone, Is it possible to have the system pre-screen a page before it is sent to a user? What I mean is, if someone requests index.php could I have a script scan the file before I serves it? The reason I ask is this way I could check for patterns on the script to make sure the page hasn't

Re: [PHP] pre-screening pages before served?

2009-07-20 Thread Per Jessen
Chris Payne wrote: Hi everyone, Is it possible to have the system pre-screen a page before it is sent to a user? What I mean is, if someone requests index.php could I have a script scan the file before I serves it? Yes, apache has an output filter that can be set up as the last stage

Re: [PHP] pre-screening pages before served?

2009-07-20 Thread Chris Payne
On Mon, Jul 20, 2009 at 12:30 PM, Per Jessenp...@computer.org wrote: Chris Payne wrote: Hi everyone, Is it possible to have the system pre-screen a page before it is sent to a user?  What I mean is, if someone requests index.php could I have a script scan the file before I serves it? Yes,

RE: [PHP] pre-screening pages before served?

2009-07-20 Thread Daevid Vincent
-Original Message- From: oxygene...@gmail.com [mailto:oxygene...@gmail.com] On Behalf Of Chris Payne Sent: Monday, July 20, 2009 12:58 PM To: php-general@lists.php.net Subject: Re: [PHP] pre-screening pages before served? On Mon, Jul 20, 2009 at 12:30 PM, Per Jessenp

Re: [PHP] pre-screening pages before served?

2009-07-20 Thread Bastien Koert
On Mon, Jul 20, 2009 at 4:25 PM, Daevid Vincentdae...@daevid.com wrote: -Original Message- From: oxygene...@gmail.com [mailto:oxygene...@gmail.com] On Behalf Of Chris Payne Sent: Monday, July 20, 2009 12:58 PM To: php-general@lists.php.net Subject: Re: [PHP] pre-screening pages

Re: [PHP] pre-screening pages before served?

2009-07-20 Thread Chris Payne
Really? This is an actual problem for you? It sounds too me that you have a malicious user on your server and if so, fire them. If you suspect you've been hacked from externally, then I would format and re-install -- or use a backup from a known good date. I've been coding PHP since 1996, and

Re: [PHP] pre-screening pages before served?

2009-07-20 Thread Bastien Koert
On Mon, Jul 20, 2009 at 4:47 PM, Chris Paynechris_pa...@danmangames.com wrote: Really? This is an actual problem for you? It sounds too me that you have a malicious user on your server and if so, fire them. If you suspect you've been hacked from externally, then I would format and re-install --