pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ernest E Vogelsinger <ernest@vogelsinger.at>
To: angelo Rigo <angelo_rigo@yahoo.com.br>
Cc: pgsql-php@postgresql.org
Subject: Re: login script
Date: Wed, 18 Jun 2003 15:56:57 +0200
Message-ID: <5.1.1.6.2.20030618155456.02d50d60@mail.vogelsinger.at> (raw)
In-Reply-To: <20030618135038.82409.qmail@web14803.mail.yahoo.com>

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/





view thread (2+ messages)

Message-ID: <5.1.1.6.2.20030618155456.02d50d60@mail.vogelsinger.at>
Permalink:  ../5.1.1.6.2.20030618155456.02d50d60@mail.vogelsinger.at/
Also on:    postgresql.org/message-id/5.1.1.6.2.20030618155456.02d50d60@mail.vogelsinger.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: ernest@vogelsinger.at, angelo_rigo@yahoo.com.br
  Subject: Re: login script
  In-Reply-To: <5.1.1.6.2.20030618155456.02d50d60@mail.vogelsinger.at>
  References: <20030618135038.82409.qmail@web14803.mail.yahoo.com> <5.1.1.6.2.20030618155456.02d50d60@mail.vogelsinger.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox