Re: [PHP] Out source files

2007-03-23 Thread Richard Lynch
On Wed, March 21, 2007 4:36 am, Manuel Vacelet wrote: My main question is What happens if there is bug in my application, if someone exploit a vulnerability of php or apache?. You will never ever have 100% guarantee that it's safe. Anybody who tells you that you do is lying. Or very stupid.

Re: [PHP] Out source files

2007-03-21 Thread Manuel Vacelet
2007/3/21, Richard Lynch [EMAIL PROTECTED]: On Tue, March 20, 2007 4:37 am, Manuel Vacelet wrote: 2007/3/20, Richard Lynch [EMAIL PROTECTED]: One common pattern in PHP is to not put the file in the web tree at all, and write a PHP script with 'readfile' (or fopen/fread/echo loop for larger

Re: [PHP] Out source files

2007-03-20 Thread Manuel Vacelet
2007/3/20, Richard Lynch [EMAIL PROTECTED]: One common pattern in PHP is to not put the file in the web tree at all, and write a PHP script with 'readfile' (or fopen/fread/echo loop for larger files). You can then control access to the file, and log any kind of stats you need about accessing

[PHP] Out source files

2007-03-19 Thread Manuel Vacelet
Hi all, I would like to know if there is some common patterns to out source the files served by a LAMP stack. Technicaly speaking I would like to store my files (application data) on another machine than the one that runs my PHP app. (as I already do with MySql). The best would be to use a

Re: [PHP] Out source files

2007-03-19 Thread Richard Lynch
On Mon, March 19, 2007 12:46 pm, Manuel Vacelet wrote: I would like to know if there is some common patterns to out source the files served by a LAMP stack. Technicaly speaking I would like to store my files (application data) on another machine than the one that runs my PHP app. (as I

Re: [PHP] Out source files

2007-03-19 Thread Manuel Vacelet
2007/3/19, Richard Lynch [EMAIL PROTECTED]: On Mon, March 19, 2007 12:46 pm, Manuel Vacelet wrote: I would like to know if there is some common patterns to out source the files served by a LAMP stack. Technicaly speaking I would like to store my files (application data) on another machine

Re: [PHP] Out source files

2007-03-19 Thread Richard Lynch
On Mon, March 19, 2007 1:46 pm, Manuel Vacelet wrote: 2007/3/19, Richard Lynch [EMAIL PROTECTED]: On Mon, March 19, 2007 12:46 pm, Manuel Vacelet wrote: I would like to know if there is some common patterns to out source the files served by a LAMP stack. Technicaly speaking I would like