This is the code I use

if ($HTTP_ACCEPT_LANGUAGE=="en-gb")
{
        header("location: URL/test.pdf");
        exit;
}

but it doesn't work, whereas when I paste the URL into the browser, it works
fine.
Is there any reason for this?

Thanks
Sam Rose

____________________________________________________________________________
________________________________________________________________

The information in this email and in any attachments is confidential and may
be privileged. If you are not the intended recipient, please destroy this
message, delete any copies held on your systems and notify the sender
immediately. You should not retain, copy or use this email for any purpose,
nor disclose all or any part of its content to any other person.


-- 
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]

Reply via email to