Jump to content

Recommended Posts

Posted

Scriptul de mai jos este util cand vreti sa apara un mesaj atunci cand un vizitator da click pe un link extern de pe site-ul dvs.

<?php

$url = htmlspecialchars($_GET['url']); 

echo '<html><head><title>External Link</title><meta http-equiv="refresh" content="3; url='.$url.'"></head><body>';

echo '<b>External Link</b></br>You are leaving our site to an external link :</br>';

echo '<a href="'.$url.'">'.$url.'</a>';

echo '</body></html>';

?>

Demo: http://46.102.253.142/test/external.php?url=http://pctroubleshooting.ro

  • Upvote 1

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.