Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default [PHP] Make a "refresh" proxy

    This is a rather simple way to tricking these automatic filters they have in schools and the technician(s).

    You can use any proxy script, I will use PHProxy (http://sourceforge.net/projects/poxy/). If you wish to use a different proxy script, you can but just remember it will most likely have different file names.

    Please note: Having a URL with the word "proxy" in is just a waste of time. It will be blocked.

    Examples (Made them up):

    proxy.com (bad url)
    ismeh.com/proxy (bad url)

    english-help.com (good url)
    lalaland.com/help/english (good url)

    Firstly, download the PHProxy script. In there you should have:

    index.php
    index.inc.php
    style.css
    plus, other text files that you dont need.

    Rename the index.php to proxy.php

    Make a file called help.html and create some content that is maths/english/science/any other school subject related. You need to include all your head, body, title tags etc.

    Create a new file called index.php and in this file we need the following PHP:
    PHP Code:
    <?php 
    if($_COOKIE[visit] == NULL){ 
    setcookie("visit""1"); 
    require(
    "maths.html"); 

    elseif(
    $_COOKIE[visit] > 2){ 
    require(
    "proxy.php"); 

    else{ 
    $visit $_COOKIE[visit] + 1
    setcookie("visit"$visit); 
    require(
    "maths.html"); 

    ?>
    Upload all your files onto your server, if you have it on a dir remember not to call it /proxy/ call it something like /maths/ etc.

    If you use this snippit of code please post your site here or send me a PM

    If you want to make it less likely to be blocked - you remove all the "proxy" words from the proxy.php but this is not needed.

    Enjoy
    Danny

    Edited By Sunny. (Forum Moderator): Post edited due to request.
    Last edited by Sunny.; 30-09-2007 at 07:18 PM.

  2. #2
    Join Date
    Oct 2005
    Location
    Spain, Valencia
    Posts
    20,492
    Tokens
    3,575
    Habbo
    GoldenMerc

    Latest Awards:

    Default

    Good guide Danny hopefully this will be stuck

  3. #3
    Join Date
    Sep 2005
    Posts
    5,253
    Tokens
    3,625

    Latest Awards:

    Default

    be wiser not to name the .php proxy as the keyword proxy is normally banned anyway

  4. #4
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Lycan View Post
    be wiser not to name the .php proxy as the keyword proxy is normally banned anyway
    PHP is server side. So the file name shouldnt matter.

  5. #5
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    This was released a while back but wasn't posted as a thread.

    Nice idea for the refreshing anyway

  6. #6
    Join Date
    Jun 2007
    Posts
    1,671
    Tokens
    130

    Latest Awards:

    Default

    ohh this is nice, might use this for college hehe

  7. #7
    Join Date
    Dec 2006
    Location
    Nottingham
    Posts
    7,752
    Tokens
    756
    Habbo
    katie.pricejorda

    Latest Awards:

    Default

    I just tried it on my proxy, and it isn't working. I haven't done anything to your code, just changed file names.

    Is anyone else getting the same problems? It just stays on maths.htm after 100s of refreshes.
    PHP Code:
     <?php
    /* Proxy trick */

        
    if(!$COOKIE[visit]){
        
    $_COOKIE[visit] = "1";
        require(
    "maths.htm");
        }

        
    /* If the visit cookie content is 3, we display the proxy */
        
    elseif($COOKIE[visit] == "3"){
        require(
    "proxy.php");
        }
        
        
    /* If its not we add 1 */
        
    else{
        
    $_COOKIE[visit]++;
        require(
    "maths.htm");
        }

    ?>
    Thanks,
    Jordy

  8. #8
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    I am so stupid.

    PHP Code:
    <?php
    if($_COOKIE[visit] == NULL){
    setcookie("visit""1");
    require(
    "maths.html");
    }
    elseif(
    $_COOKIE[visit] > 2){
    require(
    "maths.html");
    }
    else{
    $visit $_COOKIE[visit] + 1;
    setcookie("visit"$visit);
    require(
    "maths.html");
    }
    ?>
    I have coded for like 3-4 weeks :rolleyes:

    Please update mod/tim.

  9. #9
    Join Date
    May 2007
    Location
    Nebo, NC, USA
    Posts
    2,517
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Luckyrare View Post
    I am so stupid.

    PHP Code:
    <?php
    if($_COOKIE[visit] == NULL){
    setcookie("visit""1");
    require(
    "maths.html");
    }
    elseif(
    $_COOKIE[visit] > 2){
    require(
    "maths.html");
    }
    else{
    $visit $_COOKIE[visit] + 1;
    setcookie("visit"$visit);
    require(
    "maths.html");
    }
    ?>
    I have coded for like 3-4 weeks :rolleyes:

    Please update mod/tim.
    That is still wrong? Wouldn't include the proxy?

  10. #10
    Join Date
    Aug 2006
    Location
    United Kingdom
    Posts
    3,843
    Tokens
    1,121

    Latest Awards:

    Default

    Great i will use this on my website

Page 1 of 2 12 LastLast

Posting Permissions

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