X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id BAB0811F665C for ; Tue, 4 Apr 2006 15:00:04 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 53585-01 for ; Tue, 4 Apr 2006 14:59:49 -0300 (ADT) X-Greylist: delayed 00:23:49.623961 by SQLgrey- Received: from vlo.olsztyn.pl (tranquillity.vlo.olsztyn.pl [83.17.240.242]) by postgresql.org (Postfix) with ESMTP id 5B68A11F6901 for ; Tue, 4 Apr 2006 14:59:46 -0300 (ADT) Received: by vlo.olsztyn.pl (Postfix, from userid 1000) id A8D277F30; Tue, 4 Apr 2006 19:35:10 +0200 (CEST) Date: Tue, 4 Apr 2006 19:35:10 +0200 From: Pawel Bernat To: pgsql-php@postgresql.org Subject: Re: Unable to connect to PostgreSQL Server: Permission denied Message-ID: <20060404193510.A15256@vlo> References: <20060403170611.19617.qmail@webmail47.rediffmail.com> <20060403200123.GB9357@cthulhu.sdi.tpnet.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20060403200123.GB9357@cthulhu.sdi.tpnet.pl>; from skoot@qi.pl on Mon, Apr 03, 2006 at 10:01:23PM +0200 X-Flush: asmleet X-Discalimer: Of course! X-Operating-System: unix 32bit i686 X-Opinion-About-Mailer: =?iso-8859-2?Q?Mutt_-_jedyny_s=B3uszny?= X-Opinion-About-Header-Reader: 313373 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200604/6 X-Sequence-Number: 3476 On Mon, Apr 03, 2006 at 10:01:23PM +0200, Mariusz Pękala wrote: > Telnet is not the best tool for binary protocols. > You may try netcat (nc), but anyway - this test is not significant > here. It doesn't matter here. > Don't let the untrusted parameters to go into query. Someone may call > your page like this: > http://example.com/add-entry.php?Email=a'); delete from Addresses; -- Nothing wrong will happen. Regards, -- Paweł Bernat; uselessness' lover; select''as email; Slowly and surely the unix crept up on the Nintendo user ...