PDA

View Full Version : Redirection message seems nonexistant ?


cinq
01-16-2005, 07:30 AM
This is the code I have:


$url = "articles.php?action=viewarticle&artid=$artid";
eval(print_standard_redirect('redirect_postthanks' ));


Basically, when a user adds a comment, he/she gets redirected back to the same article in which the comment was made.
However the redirect message that is supposed to show ( postthanks ... Thank you for posting! blah blah ) does not seem to take effect, instead seemingly whizzing back to the same article page.

Am I doing something wrong here ?

cinq
01-16-2005, 07:40 AM
Ok i think i got it :

i need a

$_REQUEST['forceredirect'] = true;

sabret00the
01-16-2005, 07:43 AM
i was gonna say that, as i only found that yesterday.

deathemperor
01-17-2005, 11:45 AM
Ok i think i got it :

i need a

$_REQUEST['forceredirect'] = true;

that's not the problem, it's because you disabled redirect message in ACP, with $_REQUEST['forceredirect'] = true; even you disable it still redirect, I think this should not be done.

cinq
01-17-2005, 11:51 AM
That's what I want.

deathemperor
01-17-2005, 12:28 PM
well I just wanted to make it clear...