Home › Forums › CSS › HELP: PHP redirct within a certain div rather than an entire site page › Re: HELP: PHP redirct within a certain div rather than an entire site page
@traq, im not sure how to write the code at all, ive done a bit of research and i found this redirect based on ip:
$allowed = array(“18.104.22.168”);
$ip = $_SERVER;
header(“Location: http://www.google.co.uk); /* Redirect browser */
/* Make sure that code below does not get executed when we redirect. */
how can i manipulate this to make it apply to a single element (my div with the youtube video) rather than the entire page of the website?