Thanks Wade
   
  What I'm looking to do is when a user uses one url they're put one page and 
when they use another they are redirected to another page.
   
  So far I've used 
   
  
  if ($_SERVER['HTTP_REFERER'] <> 'http://www.onpointmotion.com/') 
 {
  header("Location: http://www.dereknugent.com/index_ie6.php";);
  
 }
   
  this dosn't work if you've visited the page allready.
   
  The urls are www.onpointmotion.com and www.dereknugent.com if the user uses 
www.onpointmotion.com they go the main index page and if they use the other 
they go elsewhere.
   
  What I have kinda works.

Wade Smart <[EMAIL PROTECTED]> wrote:
          04062007 1823 GMT-6 DST

I do something like this on my login pages

if (!$_SESSION['author']) {
print '<META HTTP-EQUIV="Refresh" CONTENT="1; URL=Login.php">';
}

On Fri, 2007-04-06 at 16:19 -0700, Derek Nugent wrote:
> You have probibly covered this a 1000 times but how would I redirect a user 
> coming in from a different URL?
> 
> How do I get the URL into a variable?
> 
> All the best
> Derek Nugent



         

 
---------------------------------
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.

[Non-text portions of this message have been removed]

Reply via email to