Just to say thanks to you guys for answering
   
  Cheers!
   
  

Derek Nugent <[EMAIL PROTECTED]> wrote:
          Wow what does the === signify?

Haven't seen that 

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

Have you tried:

if ($_SERVER['HTTP_REFERER'] === 'http......')

Try the ===.

wade

On Fri, 2007-04-06 at 17:14 -0700, Derek Nugent wrote:
> 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]
> 
> 
> 
> The php_mysql group is dedicated to learn more about the PHP/MySQL web 
> database possibilities through group learning. 
> Yahoo! Groups Links
> 
> 
> 
> 





---------------------------------
8:00? 8:25? 8:40? Find a flick in no time
with theYahoo! Search movie showtime shortcut.

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



         

 
---------------------------------
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.

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

Reply via email to