Jul 11

Add this code at the end of  your index.php in Proxy

This code was made my friend so I claim no rights to it…

$b1=preg_match(”/http:\/\/www\.\youtube\.com\/watch\?\v\=/i”,$_url,$c);
if($b1>0)
{
$_url1=preg_replace(”/&(.*)/i”,” “,$_url);
function get_youtube_flv ($url3)
{
$data = @file_get_contents(”http://www.youtube.com/watch?v=” . $url3);
@preg_match(”#fullscreenUrl = \’([^\’]+)\’#i”, $data, $matches);
parse_str($matches[1], $params);
return “http://www.youtube.com/get_video?video_id=” . $params[’video_id’] . “&t=” . $params[’t'];
}

$video_url=$_url1;
$video_url1=preg_match(”/=(.*)/i”,$video_url,$video);
$video1=$video[1];
$ur1=preg_match(”/=(.*)/i”,$video1,$url2);
$url3=$video1;
//echo $url3;
//echo”<BR>”;
$id1=get_youtube_flv($url3);
$url1=base64_encode($id1);
//echo $url1;
//echo”<BR>”;
$url2=”http://67.228.3.79/index.php?q=”.$url1;
//echo $url2;
//echo”<BR>”;

//For image
$image=”http://i.ytimg.com/vi/”.$url3.”/default.jpg”;
$image1=base64_encode($image);

$content= “<embed type=’application/x-shockwave-flash’ src=’player.swf’ style=” id=’ply’ name=’ply’ bgcolor=’#FFFFFF’                                     quality=’high’ allowfullscreen=’true’ allowscriptaccess=’always’ flashvars=’height=395&width=480&file=http://www.proxy.com/index.php?q=$url1.flv&amp;image=http://www.proxy.com/index.php?q=$image1&amp;&backcolor=0×000000&frontcolor=0xCCCCCC&lightcolor=0×996600&searchbar=false&type=flv’ width=’480′ height=’395′>”;
$_response_body = preg_replace(’#<div id=”watch-noplayer-div”>(.*?)</div>#smi’,$content,$_response_body);
//$_response_body = preg_replace(’#<div id=”watch-this-vid”>(.*?)</div>#smi’, ‘<div id=”playerDiv”></div>’ . $content, $_response_body);
echo $_response_body;
}

else
{
echo $_response_body;
}

Also you should replace http://www.proxy.com with your proxy site  and you should download

JW FLV media player and should extract all the files to the folder where your index.php exists..

 http://www.jeroenwijering.com/?item=JW_FLV_Player

May 05

List of Free Proxy templates


www.freeproxytemplates.com
www.myproxytemplates.com
www.phproxydesigns.com
www.skinmyproxy.com
www.proxytemplatesfree.com
www.freeproxysite.com/free-proxy-templates.php
www.aproxytheme.com
www.proxytoolkit.com
www.mystyledump.com
www.proxythemes.org
www.psdproxies.com
www.zelunetemplates.com/
www.freeproxysite.com
www.glypetemplates.com
www.proxygarden.com
www.freeproxydesigns.com/
www.proxytemplatez.com
www.freeproxythemes.net
www.proxytemplatespro.com
www.proxytoolbox.com
www.myproxytemplates.com
www.myfreeproxytemplates.com

Apr 20

Owning a network of proxies I was always meddling around trying to find ways to decrease the bandwidth usage on my sites. Then I came across GeoIP. Simply placing two files(geoip.dat and geoip.inc) in the same folder that contains index.inc.php, and then adding a snippet of code to the top of your main index file(in this case index.inc.php if your a proxy webmaster) file you can limit which countries are able to view your proxies. You can also redirect them to a site of your choice. This can be useful if you are currently smart priced by Google, as only allowing English speaking countries to view your ads will increase the conversion rate, and after a couple weeks you won’t be smart priced anymore. Another option is to start a site that holds other CPC ads on it other than adsense, and redirect all foreign traffic to this site. Below is the code to place at the top of your index.inc.php file:

<?php

// This code demonstrates how to lookup the country by IP Address

include(”geoip.inc”);

// Uncomment if querying against GeoIP/Lite City.
// include(”geoip.inc”);

$gi = geoip_open(”geoip.dat”,GEOIP_STANDARD);

// get the ip of the visitor
$addr = getenv(”REMOTE_ADDR”);
// translate his ip to a country code
$country = geoip_country_name_by_addr($gi, $addr);
// close the geo database
geoip_close($gi);

$okcountry = array(”United States”, “United Kingdom”, “Canada”, “Australia”);

// redirect them if they suck
if(!in_array($country, $okcountry))
header(’Location: http://www.joinlist.info/’)

?>


Source: http://www.samdaves.com/blog/?s=geoip

Apr 18

If you are proxy there will be a lot of unwanted visitors from countries China and Iran(not Iran though). They will be using a lot of bandwidth by downloading movies and other things

There are two ways to stop them

a) Stop hotlinking and limit the size of downloadable file

b)Stop visitors from certain countries

Let us see the second option

To stop visitors from certain countries

Go to www.blockacountry.com then choose the country you want to block and then click on Go button

It will create a .htaccess file and copy and paste in your domain folder

Apr 18

 

Just find this in Php proxy and replace type=”textbox” with type”hidden”

echo ‘<li class=”option”><label>
<input name=”‘ . $GLOBALS[’_config’][’flags_var_name’] . ‘[’ . $flag_name . ‘]” checked=”checked” type=”checkbox” />’ . $GLOBALS[’_labels’][$flag_name][1] . ‘</label></li>’ .”\n”;

Apr 18

I had to add this into all my htaccess files to stop hotlinking. That mod didn’t work at all in the first post. This has stopped it totally.

Code:

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?domain\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*.(jpe?g|gif|bmp|png|avi|mpeg|mp3)$ /images/image.jpg [L]

Replace the domain with your domain name and the .com with your tld

And put whatever image you want for image.jpg.

Apr 08

To limit bandwidth usage in a proxy the first and foremost thing you should do is reduce the file download size.When you reduce the file download size ,your bandwidth usage will come down drastically.

Here is a fine proof of it.

As you see there is remarkable decrease in bandwidth usage by the proxy site after the file size has been set to 1MB.

If you are using a php Proxy it is easy to set file size limit.Just go to index.php in PHProxy script and find the line

max_file_size and replace the entire line with this

‘max_file_size’ => 1048576

By this you can limit the downloadable file vai proxy to just 1MB andif the visitor tries to download the file larger than 1 MB it would show an error message on the home page.

Feb 16

Here comes one of my latest php proxy which can’t be detected by any software like Websense

Use this proxy

www.tube1000.co.nr

www.tube1001.co.nr

Websense would not able to detect this proxy as it uses Frames.

Also I will be posting here a list of proxies which unblocks websense.So bookmark this page for more proxies.Also if you find this  proxy is blocked by websense then inform me ,I will create a new one for you.