Ask a Question related to PHP Development, Design and Development.
-
Neil Phillips #1
header location newbie
Hi,
I'm doing a relative URL redirect using this:
<?
header("Location: ../research/index.php?current=34");
?>
which works fine, except it redirects to the .org.uk version of my site
rather than the .org version.
Where does it get this from ?
Cheers, N
Neil Phillips Guest
-
header('location:
Hello in the understanding code yesyes is shown on the screen but www.nu.nl is not activated. Does anybode know why thanks Frank <?... -
Location Header from class
I try to call a Location header from an included class. It didn't work. If I didn't include but write the code of the class in the page everything... -
#26092 [Opn->Bgs]: header location utf-8
ID: 26092 Updated by: moriyoshi@php.net Reported By: a_s at seznam dot cz -Status: Open +Status: ... -
#26092 [NEW]: header location utf-8
From: a_s at seznam dot cz Operating system: WinXP,Win2003Server-Web PHP version: 4.3.2 PHP Bug Type: HTTP related Bug... -
Re[2]: [PHP] Location referer header
Hi, Anybody have any sugestion how to pass this data. My only idea is something like this. redir.php?url=www.somehost.com&q=test&pos=1 ... -
Neil Phillips #2
Re: header location newbie
thanks Chris, it's just that the muppet that hand coded all of this put
relative URLs everywhere... and I'm not that keen on a big search and
replace.
N
"Chris Morris" <c.i.morris@durham.ac.uk> wrote in message
news:87fzlqjq80.fsf@dinopsis.dur.ac.uk...http://www.example.org/foo/research/index.php?current=34");> "Neil Phillips" <neil.phillips@ukonline.co.uk> writes:>> > I'm doing a relative URL redirect using this:
> > <?
> >
> > header("Location: ../research/index.php?current=34");
> >
> > ?>
> > which works fine, except it redirects to the .org.uk version of my site
> > rather than the .org version.
> >
> > Where does it get this from ?
> At a guess it's something to do with default virtual hosts. Location
> headers should be absolute URLs anyway (recent browsers *sometimes*
> let you get away with relative ones, older ones rarely if at all do).
>
> So
> header("Location:>
> --
> Chris
Neil Phillips Guest



Reply With Quote

