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
November 13, 2012 at 1:34 pm #114219
@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(“184.108.40.206”);
$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?