Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $site = 'codigo fonte de um protetor de links noob aqui';
- // o POG nº1 que eu fiz foi:
- function filtro($site) {
- $filtro[] = '/http:\/\/(www\.)?megaupload\.com\/\?[fd]=.*?(\w)*/'; //megaupload
- $filtro[] = '/http:\/\/(www\.)?rapidshare\.com\/(\w)*/'; //rapidshare
- $filtro[] = '/http:\/\/(www\.)?easy-share\.com/(\w)*'; //easyshare
- for ($i=0;$i<count($filtro);$i++) {
- preg_match_all($site,$filtro[$i],$casamentos)
- if ($casamentos) {
- $i = count($filtro);
- return $casamentos[0][1];
- }}
- }
- filtro($site);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement