From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 17:26:55 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 9BA4737B401 for ; Thu, 3 Jul 2003 17:26:55 -0700 (PDT) Received: from ariel.ucs.unimelb.edu.au (ariel.ucs.unimelb.edu.au [128.250.20.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C32743FDF for ; Thu, 3 Jul 2003 17:26:49 -0700 (PDT) (envelope-from jrhoden@unimelb.edu.au) Received: from elkanah.its.unimelb.edu.au (elkanah.its.unimelb.edu.au [128.250.18.41])h640QlfE009123; Fri, 4 Jul 2003 10:26:47 +1000 (EST) From: JacobRhoden Organization: University of Melbourne To: Matt Heath , questions@freebsd.org Date: Fri, 4 Jul 2003 10:26:47 +1000 User-Agent: KMail/1.5 References: <20030702201929.79497.qmail@web12604.mail.yahoo.com> <07e301c340ec$1159e770$1b41d5cc@nitanjared> <3F03FB8A.9080700@thebigchoice.com> In-Reply-To: <3F03FB8A.9080700@thebigchoice.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307041026.47024.jrhoden@unimelb.edu.au> 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 00:26:55 -0000 Even though this is getting waaay off topic... On Thu, 3 Jul 2003 07:46 pm, Matt Heath wrote: > Ever seen something like this : > $r = mysql_execute("select * from table_1 where id=$_GET[id];"); Actually people do do the same thing and perl and you know it :P Both perl and php support calling sql with parameters using ? to insert variables. If someone does not know what language to use at all, I would suggest php simply because its a good, quick, easy language to get started in without too much difficulty. (In lots of ways including not needing to understand cgi variables, and what the heck Content-type: text/html\n\n is, or learning how to include perl librarys to do all that stuff for you!) PS: I prefer perl but do and have used php frequently. - jacob Jacob Rhoden Phone: +61 3 8344 6102 ITS Division Email: jrhoden@unimelb.edu.au Melbourne University Mobile: +61 403 788 386