What happens when it doesn't work, any error messages?
Try:
header ("Location: http://www." . $URL . "/members/index.php");
or
$loc = "Location: http://www." . $URL . "/members/index.php";
header ($loc);
The first suggestion should work.
K E I T H V A N C E
Software Engineer
n-Link Corporation
On Wed, 21 Mar 2001, almir wrote:
> are you using cookies together with header , i had problems with that
> -almir
>
> <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi,
> >
> > I`m having whats probably a very basic problem but just can`t get my head
> > around it this late in the day, anyone have any idea why this won`t work?
> >
> > $URL="domain.com";
> >
> > header ("Location: Http://www.$URL/members/index.php");
> >
> > $URL changes so I can`t write it directly into the header line, anyone?
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]