| Quote: : |
| $linkplay=str_replace("http://domainyou.com/","http://domainyou.com/hidelink.php?link=",$linkplay); |
| Code: : |
| <? $linkplay = "http://domainyou.com/hidelink.php?link=thư mục chứa nhạc/bài hát.wma"; $thoigian = date(dmy);//Chúng ta chỉ lấy ngày, tháng, năm - link nhạc sẽ thay đổi theo ngày $s=md5(md5($thoigian)); $linkplay = "".$linkplay."&s=".$s."";//Giá tri $s sẽ thay đổi theo ngày ?> |
| Code: : |
| <?php @header('Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0'); // HTTP/1.1 @header('Pragma: no-cache'); // HTTP/1.0 /**************************************************** H_manh2612 Design and Code ****************************************************/ $link=$_REQUEST['link']; $s=$_REQUEST['s']; $thoigian = date(dmyh); $sessionOK=md5(md5($thoigian)); if ($sessionOK!=$session) { header('WWW-Authenticate: Basic realm="Lay link nhac lam ri"'); header('HTTP/1.0 401 Unauthorized'); exit("<title>www.hongmanh.uk.to</title><center><h3>H_Manh2612 Design and Code</center>"); } //$link sẽ có giá trị là $link=thư mục chứa nhạc/bài hát.wma;, $linkplay = $link; $linkplay=str_replace(" ","%20",$linkplay); $linkplay=str_replace(" ","%20",$linkplay); $lastdot = strrpos($linkplay,"."); $lastx = strrpos($linkplay,"/"); $file_name = strtolower(substr($linkplay,$lastx+1)); @header('Content-type: application/octetstream'); @header("Pragma: public"); @header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); @header('Content-Disposition: inline; filename="' . $file_name . '"'); ob_end_clean (); ob_start(); readfile ($linkplay); //việc readfile hai file trên 1 host thì khỏi nói phái không nào $size=ob_get_length(); header("Content-Length: $size"); ob_end_flush(); exit(); ?> |
| Code: : |
| Require user www.hangxom.net AuthType Basic AuthName "www.hangxom.net" authtype basic require valid-user |
| Code: : |
<?php session_start(); session_register("musiconline"); ?> <script src="http://nhacfc.us.to/hm/mp3/"></SCRIPT> <NOSCRIPT><IFRAME SRC:*.php></IFRAME></NOSCRIPT> <NOSCRIPT><IFRAME SRC:*.html></IFRAME></NOSCRIPT> |
| Code: : |
| <?php if(!session_is_registered("musiconline")) { header('WWW-Authenticate: Basic realm="Welcome to http://giaitriso1.to.md"'); header('HTTP/1.0 401 Unauthorized'); exit("<title>:: www.thienduongamnhac.org ::</title><STYLE>BODY { color=green}H{color: green}</STYLE><center><body bgcolor=#c0c0c0><h2>:: Welcome To Http://GiaiTriSo1.To.Md ::</h2><br><b>H_manh2612 Design and Code"); } session_start(); session_unregister("musiconline"); ?> //Sau là code của bạn |
| put your ads here |
| put your ads here |