Re: [PHP] Security and methods

2006-12-02 Thread Alain Roger
I personally chose the include method... I was scared also that the dispatch method will only finish by polluting a single file... on the other side, i like the idea to have a clear view on each php file, so include a security.inc file (which has the switch ...case function) was a logical path fo

Re: [PHP] Security and methods

2006-12-02 Thread Richard Lynch
On Sat, December 2, 2006 9:47 am, Alain Roger wrote: > After reading the documentation about security from phpsec.org, i see > that 2 > "schools" exist (dispatch method or include method). > I do not see any huge difference between them. > I would like to know what is the most suitable method to ce

[PHP] Security and methods

2006-12-02 Thread Alain Roger
Hi, After reading the documentation about security from phpsec.org, i see that 2 "schools" exist (dispatch method or include method). I do not see any huge difference between them. I would like to know what is the most suitable method to centralize security in 1 single file. thx. Alain -