Flourish PHP Unframework
This is an archived copy of the forum for reference purposes

redirect

posted by darren 8 years ago

Hi Will,

Might be just be but i dont think "redirect" works as expected.

// Redirect to a relative page fURL::redirect('example.php');

When i do... fURL::redirect('manage.php');

url ends up like... checker/index.phpmanage.php

Where if i do... header("location: manage.php");

It works as expected.

?

... am i missing something here?

posted by darren 8 years ago

No you aren't missing anything here, you just posted in the forum instead of filing a ticket. I try to keep up with forum posts, but I usually get to them after addressing tickets.

It sounds like there is a bug in fURL. If I get a chance to work on some Flourish code later today I will look into it. That said, I know for a fact your example of header('location: manage.php'); is definitely not a valid HTTP header, even though it may work in some browsers.

posted by wbond 8 years ago