atom feed4 messages in com.googlegroups.professional-phpRe: Doubt in Redirecting
FromSent OnAttachments
Nava nethanDec 24, 2007 10:51 pm 
NewsfeedsDec 24, 2007 11:38 pm 
Nava nethanDec 24, 2007 11:48 pm 
flowoverJan 2, 2008 1:30 am 
Subject:Re: Doubt in Redirecting
From:Nava nethan (nava@gmail.com)
Date:Dec 24, 2007 11:48:03 pm
List:com.googlegroups.professional-php

Thanks . But its Not enough for me.

My real time need is :

My site i am having 10 resources.

Here if i click 1st resource link then it will take into 1st resource. Here if i click 2st resource link then it will take into 2st resource.

i need the else part is a dynamic one. How can do this ?? is there any possiblity to using History.go(-1).

Help this case.

Regards, Navanethan

On Dec 25, 12:38 pm, "Newsfeeds" <news@downcrunch.com> wrote:

Hello Nava nethan,

<?php if (!isset($_COOKIE['user_id'])) {         header('Location: /User/register');} else {

        header('Location: /User/welcome');}

?>

Best regards,

======= At 2007-12-25, 14:51:41 you wrote: =======

Hi All,

I  have a doubt with Redirecting. I am using PHP with mysql. My Need is :                  If i click the link then it check the cookies user id stored or not ? If cookie stored user_id from the database then rediredt into the page. oterwise redirect into Registration page, after got register then move into the page. :)

How can i do this  ??

Help me.

Newsfeeds MSN: TiE@gmail.com news@downcrunch.com 2007-12-25- Hide quoted text -