Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 59

Thread: Remember Suffix Proxy?

  1. #31
    JohnD is offline Newbie Net Builder
    Join Date
    Sep 2011
    Posts
    12
    Thanks
    12
    Thanked 5 Times in 4 Posts
    Nice work ProxyHelp,
    I got the blocked sites + the allowed to work, but had problems wih the last few lines in the browse.php and had to change the last $data2 for the allowed to $data to keep the format of the sites intact
    Code:
    // index tag
    $noindex = '<meta name="robots" content="noindex">';
    // block code
    $blocktag = '<!--14feb-youth.com-->';
    if (preg_match($blocktag, $data)) {
    $data = 'Use 1 proxy at a time';
    $ads1 = '';
    } 
    else {
    echo "";
    }
    // header 
    $data2 = $makeroom.$noindex.$blocktag.$ads1.$data;
    //block types
    if (in_array($requri, $blockformats)){
    $data2 = 'File type not aloud';
    }
    
    for($x = 0; $x < count($blockformats); $x++)
    {
    preg_match("/".$blockformats[$x]."/", $requri, $matches);
    if(count($matches) > 0)
    {
    $data2 = 'File type not aloud'.' <a href="'.$scheme.'://'.$newhost.$requri.'">Download without Proxy</a>';
    }
    else{
    
    }
    }
    
    // Dont proxy
    if (in_array($newhost, $dontproxy)){
    header("Location: http://$newhost/");
    $data = '';
    }
    // check if aloud
    if (in_array($newhost,$blocksites))
    {
    $data = $newhost.$blockedtext;
    }
    if (in_array($newhost, $blockbut))
    {
    echo $data;
    }
    elseif ($blockbut==$blank)
    {
    echo $data;
    }
    Had to remove the last else because it always works even if the site is supposed to work, the lines were:
    Code:
    else
    {
    $data2 = 'Site is blocked';
    echo $data2;
    }
    the file types code didn't work though, tried downloading a pdf after adding it to test blocking and it worked, but bigger files, check in the browse.php the line
    Code:
      $data = stream_get_contents($fp);
    its a bug, but prevents from download over 5.75 megabytes, it gives the user a message of :
    Fatal error: Allowed memory size of 6291456 bytes exhausted (tried to allocate 6029312 bytes)

  2. Thanked by:

    vectro (4 October, 2011)

  3. #32
    ProxyHelp.org is offline Newbie Net Builder
    Join Date
    Jan 2011
    Posts
    62
    Thanks
    5
    Thanked 32 Times in 22 Posts
    in settings.php change
    PHP Code:
     '
    // Header size
    $hsize = "40"; 
    to this
    PHP Code:
     // Header size
    $hsize "0"
    that should fix the pages


    should fix the pages. $ data is the page unedited $ data2 is with add ons.

    its odd the block type did not work. but mind you it was a quick codeing and the file most end with .pdf in the url
    il look into it tonight.

    PHP Code:
    else
    {
    $data2 'Site is blocked';
    echo 
    $data2;

    looks to be a bug, il remove tonight

    PHP Code:
      $data stream_get_contents($fp); 
    i haven't a clue about this, but il look into it.
    ProxyHelp.org - Free support, coding, active proxy list and more....
    Suffixproxy.com - Start your own or try one out, or submit your proxy to the list.
    Click Thanks if I Helped. and Register to Respond

  4. Thanked by:

    JohnD (3 October, 2011), vectro (4 October, 2011)

  5. #33
    JohnD is offline Newbie Net Builder
    Join Date
    Sep 2011
    Posts
    12
    Thanks
    12
    Thanked 5 Times in 4 Posts
    Code:
    // Block all sites BUT proxy home must be same
    $blockbut = array();
    // Dont proxy
    $dontproxy = array('www.facebook.com','www.twitter.org','www.soundcloud.com','www.youtube.com');
    // Block site(s)
    $blocksites = array('www.porn.com');
    I loved this bit of the code in security.php, now the list of $dontproxy sites don't go throw my proxy, when they add it it redirects them to the original web site
    with $blocksites they get a message, but i didn't understand the $blockbut, is it possible to list the site that i need the proxy to work with, for example i need 6 sites to use my suffix fine and all the other non listed to be under $blocksites instead of listed them? so by default everything is considered under $blocksites and who ever want the suffix to work needs to be added under $blockbut

    edit: i was checking the log, and apparently the facebook listed in don't proxy works fine when its facebook.com, didn't work on it-it jp-jp facebook pages
    Last edited by JohnD; 3 October, 2011 at 17:49 PM.

  6. #34
    ProxyHelp.org is offline Newbie Net Builder
    Join Date
    Jan 2011
    Posts
    62
    Thanks
    5
    Thanked 32 Times in 22 Posts
    $blockbut its block all sites BUT the ones listed.

    il work on better blocking of sites, i have a idea for disalowing subdomains.

    ---------- Post added at 22:45 PM ---------- Previous post was at 21:57 PM ----------

    Beta 3 update, blocking sites now blocks sub-doamins as well
    fixed false block bug.
    ProxyHelp.org - Free support, coding, active proxy list and more....
    Suffixproxy.com - Start your own or try one out, or submit your proxy to the list.
    Click Thanks if I Helped. and Register to Respond

  7. Thanked by:

    vectro (4 October, 2011)

  8. #35
    ProxyHelp.org is offline Newbie Net Builder
    Join Date
    Jan 2011
    Posts
    62
    Thanks
    5
    Thanked 32 Times in 22 Posts
    Ok so i removed the bug fix, let me know if any one has problems.

    i think i found a way to set max file size, its in the nightly
    Give it a try let me hear your feed back. i think il release 3 this weekend, and start beta 4. beta 4 will have a admin page for easy set up.
    ProxyHelp.org - Free support, coding, active proxy list and more....
    Suffixproxy.com - Start your own or try one out, or submit your proxy to the list.
    Click Thanks if I Helped. and Register to Respond

  9. Thanked by:

    JohnD (5 October, 2011), vectro (5 October, 2011)

  10. #36
    ProxyHelp.org is offline Newbie Net Builder
    Join Date
    Jan 2011
    Posts
    62
    Thanks
    5
    Thanked 32 Times in 22 Posts
    Would any one use a android app if one was made?
    I'd make it free, and editable for other sites to costomise to thare site.
    Would any one use this?
    ProxyHelp.org - Free support, coding, active proxy list and more....
    Suffixproxy.com - Start your own or try one out, or submit your proxy to the list.
    Click Thanks if I Helped. and Register to Respond

  11. Thanked by:

    vectro (5 October, 2011)

  12. #37
    vectro's Avatar
    vectro is offline I Like Stuff
    Join Date
    Dec 2008
    Location
    U.S.A.
    Posts
    633
    Thanks
    192
    Thanked 104 Times in 82 Posts
    Quote Originally Posted by ProxyHelp.org View Post
    Would any one use a android app if one was made?
    I'd make it free, and editable for other sites to costomise to thare site.
    Would any one use this?
    I have a Droid. I know if there was a way for me to make money from it, I'd promote it to end users. If there is a way to monetize it while still of course making it useful and quality at the same time, then I think it would be a good idea.

  13. #38
    ProxyHelp.org is offline Newbie Net Builder
    Join Date
    Jan 2011
    Posts
    62
    Thanks
    5
    Thanked 32 Times in 22 Posts
    Well you could add advertisements on it, and the normal adds on your site.
    its a idea, for down the rode.
    ProxyHelp.org - Free support, coding, active proxy list and more....
    Suffixproxy.com - Start your own or try one out, or submit your proxy to the list.
    Click Thanks if I Helped. and Register to Respond

  14. #39
    JohnD is offline Newbie Net Builder
    Join Date
    Sep 2011
    Posts
    12
    Thanks
    12
    Thanked 5 Times in 4 Posts
    I was able to apply the $blockbut to have everything blocked but the ones in the $blockbut array
    everything was working fine till today, where this one specific site still gets blocked by the gov. !!
    all else in the array works fine, this one specific site has been blocked for the past 5 years, and they really hate for it being open.
    is there a way i can over come this ? its still beyond me how they were able to block it again, how can i fix this ?

    edit:
    Tried accessing using Suffixproxy.com and it loads but minus the images on the site, maybe the site has the hotlink protection activated
    tried accessing through vectro's proxy, it gives the same results as mine

    could it be they blocked our host ?
    Last edited by JohnD; 6 October, 2011 at 17:48 PM. Reason: added input

  15. #40
    ProxyHelp.org is offline Newbie Net Builder
    Join Date
    Jan 2011
    Posts
    62
    Thanks
    5
    Thanked 32 Times in 22 Posts
    Images are dew to hotlink protection. nothing i can do about that.
    as for you gov blocking it, it might be they blocked your site like

    Blocked.com.yoursite.com is blocked but not others.

    ---------- Post added at 21:24 PM ---------- Previous post was at 21:11 PM ----------

    Do to the massive talk about this script, and this is getting way off topic im moveing all my support to Proxyhelp.org fourms , i will still respond on this site, but nightly and faster response will be on my site.
    ProxyHelp.org - Free support, coding, active proxy list and more....
    Suffixproxy.com - Start your own or try one out, or submit your proxy to the list.
    Click Thanks if I Helped. and Register to Respond

Page 4 of 6 FirstFirst ... 23456 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •