Re: [PHP] Permissions set on php script question

2008-05-12 Thread David Jourard
Bojan Tesanovic wrote: Heh you are really new to Linux permissions on linux are set per user/group/other bases so for most secure set permissions to read only for web-server user so chown 'webserveruser' file.php chmod 400 file.php make sure you have root access at server so you can change

[PHP] Permissions set on php script question

2008-05-12 Thread David Jourard
Hi, I'm very new to php. One thing I noticed in order to run the php program (on a linux server) I need to set the read permission for Other. In this program I'll have the MySQL credentials defined. Are there are any security concerns when the read permission is set like this. Wouldn't it be

Re: [PHP] How to get a code review?

2008-04-03 Thread David Jourard
Nathan Nobbe wrote: On Thu, Apr 3, 2008 at 10:09 AM, David Jourard <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Can anyone direct me to a list or forum where one can get a code review of the php by other experienced php programmers. how much code is there ?

Re: [PHP] How to get a code review?

2008-04-03 Thread David Jourard
Nathan Nobbe wrote: how much code is there ? -nathan 200 lines Robert Cummings You could provide links to the source code and post the links here. Pastebin is often used... http://www.pastebin.com Thanks http://pastebin.com/m6c8cb17c Daniel Brown wrote: By "code review", what exactly

[PHP] How to get a code review?

2008-04-03 Thread David Jourard
Hi, I'm a perl programmer and I've written a registration/login program in Perl. I've just finished writing a small program in php to check the login cookie created by my perl program for any php html page. Can anyone direct me to a list or forum where one can get a code review of the php by