[PHP] Re: Security in included PHP files

2003-01-17 Thread Philippe Saladin
"Jacob Copsey" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > This should work as long as you are only including your include files from > scripts named index.php. Yes, of course. I have only one *real* page beginning with and ending with , called index.php, and depending

[PHP] Re: Security in included PHP files

2003-01-16 Thread Jacob Copsey
This should work as long as you are only including your include files from scripts named index.php. --Jacob "Philippe Saladin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > directly. My main question is if all of the code inside an included PHP > file > >

[PHP] Re: Security in included PHP files

2003-01-16 Thread Philippe Saladin
> directly. My main question is if all of the code inside an included PHP file > is put inside one or more functions this should prevent anyone from running > any of that code by directly calling that PHP file correct? There is no way > for them to invoke a function just from a URL assuming I have