Re: login script

From: Ernest E Vogelsinger <ernest(at)vogelsinger(dot)at>
To: angelo Rigo <angelo_rigo(at)yahoo(dot)com(dot)br>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: login script
Date: 2003-06-18 13:56:57
Message-ID: 5.1.1.6.2.20030618155456.02d50d60@mail.vogelsinger.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)lists(dot)php(dot)net).

--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Pierre Marc Dumuid 2003-06-19 05:11:53 Making PHP and Postgres easy
Previous Message angelo Rigo 2003-06-18 13:50:38 login script