Re: login script - Mailing list pgsql-php

From Ernest E Vogelsinger
Subject Re: login script
Date
Msg-id 5.1.1.6.2.20030618155456.02d50d60@mail.vogelsinger.at
Whole thread Raw
In response to login script  (angelo Rigo <angelo_rigo@yahoo.com.br>)
List pgsql-php
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/



pgsql-php by date:

Previous
From: angelo Rigo
Date:
Subject: login script
Next
From: Pierre Marc Dumuid
Date:
Subject: Making PHP and Postgres easy