something to do with $_SERVER["HTTP_REFERER"] or something I think

http://nz.php.net/reserved.variables.server

On 4/12/2008, at 11:25 AM, rusdvl wrote:

>
> Hi guys,
>
> How do I redirect a person to a different page if they didnt come from
> a particular page?
>
> I know I use the header(); function but not sure what to place in the
> if()
>
> So it would be:
>
> if(something something)
>    {
>          header('Location: index.php');
>    }
>
> Thanks ahead for the help.
> >


--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to