News for hackers. Stuff that matters.
Re:PHP Sucks, But It Doesn't Matter by ssharp on Wednesday May 21, 2008 @09:54AM (#196007)
What makes Ruby, Python and Perl more secure than PHP? Frameworks? PHP has plenty of options there.

PHP is popular because of how easy it was to get started and how available it was in every dirt cheap shared hosting plan on the market. Sure, it's not the most elegant language and it does have plenty of issues but quite a few of these are solved with quality planning and the use of quality tools such as CodeIgnitor or CakePHP.

The low barriers to entry are what made PHP popular and the fact that you can code something robust and maintainable are allowing it to sustain.

Re:PHP Sucks, But It Doesn't Matter by omouse on Wednesday May 21, 2008 @11:34PM (#196855)
What makes Ruby, Python and Perl more secure than PHP?

The fact that those languages don't have "magic_quotes" or "globals_on"?

Re:PHP Sucks, But It Doesn't Matter by es on Thursday May 22, 2008 @03:35AM (#196985)
For more than 3 year I've not seen "magic_quotes" or "globals_on" turned on anywhere. As far as I know in php6 there won't be globals option at all.
Re:PHP Sucks, But It Doesn't Matter by ssharp on Thursday May 22, 2008 @07:36AM (#197053)
Neither have I. If you care one bit about security, that's the first thing you'll find out about PHP and as you said, they are being eliminated from the php.ini file in php6 and will need to explicitely turned on in your scripts.