Re: login script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxxxx).


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




[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux