Re: login script

Поиск
Список
Период
Сортировка
От Ernest E Vogelsinger
Тема Re: login script
Дата
Msg-id 5.1.1.6.2.20030618155456.02d50d60@mail.vogelsinger.at
обсуждение исходный текст
Ответ на login script  (angelo Rigo <angelo_rigo@yahoo.com.br>)
Список 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 по дате отправления:

Предыдущее
От: angelo Rigo
Дата:
Сообщение: login script
Следующее
От: Pierre Marc Dumuid
Дата:
Сообщение: Making PHP and Postgres easy