X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id E881F30DBA3 for ; Wed, 18 Jun 2003 13:57:16 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 59376-03 for ; Wed, 18 Jun 2003 10:57:06 -0300 (ADT) Received: from relay11.austria.eu.net (relay11.Austria.eu.net [193.154.160.115]) by svr1.postgresql.org (Postfix) with ESMTP id DA8BF30D185 for ; Wed, 18 Jun 2003 10:57:05 -0300 (ADT) Received: from sisyphus.vogelsinger.at (vogelsinger.at [193.154.189.26]) by relay11.austria.eu.net (8.12.9/8.12.0.Beta10) with ESMTP id h5IDv4c8014400; Wed, 18 Jun 2003 15:57:04 +0200 Message-Id: <5.1.1.6.2.20030618155456.02d50d60@mail.vogelsinger.at> X-Sender: homebird@mail.vogelsinger.at X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Wed, 18 Jun 2003 15:56:57 +0200 To: angelo Rigo From: Ernest E Vogelsinger Subject: Re: login script Cc: pgsql-php@postgresql.org In-Reply-To: <20030618135038.82409.qmail@web14803.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Archive-Number: 200306/17 X-Sequence-Number: 2081 At 15:50 18.06.2003, angelo Rigo said: --------------------[snip]-------------------- >Hi ! > >I do have a login script in pgsql/php >and it is not working anymore. i develop in php 4.0.6 and now i am using >php4.2.2. My doubt is about these lines: > > setcookie(""); > header("Location:http://www.domain.com/pg_inic.php"); --------------------[snip]-------------------- AFAIK you need to have a blank between "Location:" and the actual URL. This should work: header("Location: http://www.domain.com/pg_inic.php"); Or... what exactly do you mean with "it is not working anymore"? You might also consider asking on the PHP General list (php-general@lists.php.net). -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/