sitemden çıkan linkleri kontrol etmek
5
●572
- 09-06-2010, 02:54:57
- 09-06-2010, 15:12:12En basit ve facebook kopyası haliyle böyle olur

<?php $url = $_GET['url']; if (!isset($url)) die("Bu sayfaya direk erişim yasaktır."); if(isset($url)): ?> <div style="width:500px;height:160px;border:1px solid #ccc;margin:0 auto;"> <h3 style="text-align:center;"> <img src="http://static.ak.fbcdn.net/rsrc.php/z8I4L/hash/3eihabon.gif"> Dikkatli Ol!</h3> <p style="text-align:center;">Facebook hesabının güvenliği ve gizliliği için, gerçek Facebook sitesinde olmadıkça şifreni girme. Ayrıca yanlızca güvendiğin sitelerden yazılım indirdiğine de emin ol.</p> <div style="text-align:center;"> <a href="<?=$url?>"><img src="http://img517.imageshack.us/img517/3817/devamet.png" border="0" /></a> <a href="<?=$_SERVER['HTTP_REFERER']?>"><img src="http://img710.imageshack.us/img710/4421/iptal.png" border="0" /></a> </div> </div> <?php endif; ?> - 09-06-2010, 15:56:20git.php
<?php ######################### # http:// kullanmayın.### ######################### if(empty($_GET)){ print '<html> <head> <meta http-equiv="Content-Language" content="tr"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1254"> <title>Site Adresi</title> </head> <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0"> <form method="get" action="git.php"> <table cellpadding="0" cellspacing="0" width="100%" height="500"> <!-- MSTableType="layout" --> <tr> <td height="500" width="100%" valign="top"> <p align="center"> </p> <p align="center"> </p> <p align="center"><font face="Verdana" color="#FF0000">http://</font><input type="text" name="url" size="51" style="color: #FF0000; font-size: 12pt; font-family: Verdana; border-left-style: solid; border-left-color: #FFFFFF; border-right-style: solid; border-right-color: #FFFFFF; border-top-style: solid; border-top-color: #FFFFFF; border-bottom: 1px dotted #008000; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px"><br /><br /> <input type="submit" value=" Git " style="color: #FF0000; border-left: 1px dotted #535353; border-right: 1px dotted #535353; border-top: 1px dotted #FFFFFF; border-bottom: 1px dotted #FFFFFF; padding: 1px; background-color: #FFFFFF"></td> </tr> </table> </form> </body> </html> '; } else{ $adres=$_GET["url"]; print '<html> <head> <meta http-equiv="Content-Language" content="tr"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1254"> <title>SiteAdresi - Yönlendirilen Adres: '.$adres.'</title> <style type="text/css"> .html { overflow: hidden; } </style> </head> <body class="html" style="margin:0 0 0 0"> <table cellpadding="0" cellspacing="0" width="100%" height="548"> <!-- MSTableType="layout" --> <tr> <td bgcolor="#009900" style="border-bottom: 1px dotted #336600; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px" width="625"> <p align="left"><b><font face="Verdana"><font color="#FFFFFF"> </font><a href="http://www.siteadresi.com"><span style="text-decoration: none"><font color="#000000">SiteAdresi</font></span></a><font color="#FFFFFF"> <font size="2"> - Başka bir siteye yönlendiriliyorsunuz...</font></font></font></b></td> <td bgcolor="#009900" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom: 1px dotted #336600" width="373" height="30"> <p align="right"><a href="javascript: history.back();"> <font color="#FFFFFF" face="Arial"><span style="text-decoration: none"><b>Geri Git</b></span></font></a> - <a href="http://'.$adres.'"><font color="#FFFFFF" face="Arial"> <span style="text-decoration: none"><b>Çerçeveyi Kaldır</b></span></font></a></td> </tr> <tr> <td colspan="2" valign="top" height="518"> <iframe src="http://'.$adres.'" width="100%" height="590" name="site" border="0" frameborder="0" ></iframe> </td> </tr> </table> </body> </html>'; } ?>Bunu inceleyebilirsin.
Not: Alıntıdır fakat üzerinde değişiklikler yapılmıştır.
