Saturday, 29 August 2015

check string from URL in php

$url = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];


if (false !== strpos($url,'access_denied')) {
header('Location: http://prodygies.com/');
}

No comments:

Post a Comment