$actual_link = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; $cur_url = parse_url($_SERVER['PHP_SELF']); $cur_url = $cur_url['path']; if (stristr($cur_url, '/news/releases/index.php') ) { echo '
Share:
'; }