Pages: 123

  2008-08-25 06:41:35

robbinhood
» FTalkAgent
FTalk Level: zero
2140
0
1969-12-31

Re: [spoiler] Maaf, judulnya diganti lagi supaya pas ama tutorialnya, judul sebelumnya: -[b]{TUTORIAL} PHP-JavaScript Injector - Another way to secure your script[/b] -[b]{TUTORIAL} PHP-JavaScript Linker[

[quote=lordheinz]i want to use this one but i cant understand..can anybody translate it to even a simple english ..just the important one...[/quote] you can use this script PHP for your external JS :thumbsdown: [quote]<? //php-javascript file //copyright 2008 rudy (http://profiles.friendster.com/bluekuthuq) $basename='http://profiles.friendster.com'; $url=array(); [b]//edit this url,[/b] $url[0]=$basename.'/0000000'; [b]//your friendster uid[/b] $url[1]=$basename.'/user.php?uid=000000'; [b]//your friendster uid[/b] $url[2]=$basename.'/asdfgh'; [b]//personalized url[/b] $url[3]='http://profiles.friendster.com//asdfgh'; [b]//personalized url[/b] [b]//end edit[/b] $referer=$_SERVER['HTTP_REFERER']; function cekReferer(){ global $url,$referer; foreach($url as $key=>$value){ if($referer===$value) return true; } return false; } if(!cekReferer()){ [b]//this is for permission to access this file[/b] ?> <html><head><title>403 Forbidden</title></head><body><h1>Forbidden</h1>You don't have permission to access <? echo $_SERVER['PHP_SELF'] ?> on this server.<hr /></body></html> <? } else { [b]//Don't delete this code[/b] header("Content-type:text/javascript;charset:UTF-8"); ?> [b]//Write your JS code here //example[/b] alert('welcome'); <? } ?>[/quote] save as that code with extension [b]PHP[/b] example [b]LORDHEINZ.PHP[/b]

Pages: 123

Board footer

© 2024 F Talk

Current time is 19:59

[ 12 queries - 0.038 second ]
Privacy Policy