Date: Fri, 04 Jul 2003 13:19:56 +0900 From: Joel Rees <joel@alpsgiken.gr.jp> To: questions@freebsd.org Subject: Re: Which server-side programming should i choose. Message-ID: <20030704120154.88D0.JOEL@alpsgiken.gr.jp> In-Reply-To: <3F03FB8A.9080700@thebigchoice.com> References: <07e301c340ec$1159e770$1b41d5cc@nitanjared> <3F03FB8A.9080700@thebigchoice.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> >PHP!! All the way...easiest, free, likely to be more > >secure than Perl if used as Apache module than CGI. > > More secure, how so? Less arcane syntax to hide holes in, maybe? I'd have no problem with the assertion that newbies writing php are likely to produce less holes per thousand lines of code. However, I think the OP was trying to cover too much territory with too few sentences. (I do that myself a lot, so I'm not one to complain.) Both php and perl can be loaded into apache, which helps to avoid certain performance and security problems inherent in the CGI interface, but there are a few more gotchas with perl (my vs. local, and that sort of thing, I think). However, for people who know what they are doing, perl code can be made more secure than php code. But I don't see any reason to argue. It's not like learning one first is going to prevent you from ever learning or using the other well. Quite the reverse, I think. If you have time to learn a (new or first) language, pick one that looks interesting and go. -- Joel Rees, programmer, Kansai Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030704120154.88D0.JOEL>