From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 21:17:18 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0736A37B401 for ; Thu, 3 Jul 2003 21:17:18 -0700 (PDT) Received: from alpsgiken.alpsgiken.gr.jp (www.alpsgiken.gr.jp [210.166.150.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5C1843FDF for ; Thu, 3 Jul 2003 21:17:16 -0700 (PDT) (envelope-from joel@alpsgiken.alpsgiken.gr.jp) Received: from zz_radiant2 (www1.alpsgiken.gr.jp [61.114.244.165]) by alpsgiken.alpsgiken.gr.jp (8.9.1a/3.7W) with ESMTP id NAA10938 for ; Fri, 4 Jul 2003 13:17:11 +0900 Date: Fri, 04 Jul 2003 13:19:56 +0900 From: Joel Rees To: questions@freebsd.org In-Reply-To: <3F03FB8A.9080700@thebigchoice.com> References: <07e301c340ec$1159e770$1b41d5cc@nitanjared> <3F03FB8A.9080700@thebigchoice.com> Message-Id: <20030704120154.88D0.JOEL@alpsgiken.gr.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.00.11 Subject: Re: Which server-side programming should i choose. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2003 04:17:18 -0000 > >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