New Websense Unblocker

Here is my new Websense unblocker
http://www.youwhen.info



Youtube fix for PHP proxy

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’         [...]



List of Free Proxy Templates for your proxy

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



Blocking unwanted countries by a php code

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 [...]



Block a unwanted country

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 [...]



Hiding Form field in proxy

 
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”;