Re: [PHP] finding location of document

2003-11-08 Thread Chris Shiflett
--- rogue <[EMAIL PROTECTED]> wrote: > Suppose I am running a script from an URL like: > > http://127.0.0.1/~myname/foo/bar.php > > on this page I want to redirect to another page and send a full http > string like: > > $redirect = "http://"; . $_SERVER['HTTP_HOST'] . "/foo/hello.php"; > > In

RE: [PHP] finding location of document

2003-11-08 Thread Rainer Bendig aka \"mindz\"
Have a look on http://us2.php.net/manual/en/function.parse-url.php So long Rainer Bendig crossx.net | wbbreference.de -Original Message- From: rogue [mailto:[EMAIL PROTECTED] Sent: Sunday, November 09, 2003 12:06 AM To: [EMAIL PROTECTED] Subject: [PHP] finding location of document Hi

[PHP] finding location of document

2003-11-08 Thread rogue
Hi there, I am trying to figure this out and can't find the right combination to get what I want in a certain situation. Suppose I am running a script from an URL like: http://127.0.0.1/~myname/foo/bar.php on this page I want to redirect to another page and send a full http string like: $red