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!


Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2007
    Location
    UK
    Posts
    3,955
    Tokens
    424

    Latest Awards:

    Default Easy Coding - NEED HELP +REP+

    Okay so far I have this html code:

    Code:
    <div id="content">
    <div id="realcontent">
    <div id="truecontent">
    <!-- Begin Content -->
    <script type="text/javascript">
    function setimg (imagename, source){
     if(document.images && document.images[imagename] && source != "!group") {
      document.images[imagename].src = "RSHiLib/signatures/" + source + ".png";
     }
    }
    </script><form method="get" action="make.php">
       <div class="box">
        <div class="header">
         :: Make stat signature ::
        </div>
        <div class="body">
         Habbo Name (UK only for now):
         <input type="text" name="name" size="20" />
    <br />
         <br />
         <div class="center">
       Select type:
       <select class="sigselect" name="image" onchange="setimg('sigimg', options[selectedIndex].value)">';
        <option value="original">Original</option>
       
    </select><br />
    <br><br><center><img src="http://edhaw.freehostia.com/sig/profile.png?" alt="signature image" name="sigimg" /></center><br />
      </div>
      <br />
    <input type="submit" value="Create Signature" />
        </div>
       </div>
      </form>
    <!-- End Content -->
    </div>
    </div>
    I want it - when the person clicks submit to go to:

    http://edhaw.freehostia.com/sig/habb...ETHATTHEYWROTE


    Can someone code this for me so when they click submit it goes to this link?

    Thanks

    +REP+ to all help
    2110 Reputation thanks to: Intersocial
    If you Rep, please leave your name.

  2. #2
    Join Date
    Apr 2006
    Location
    Leamington Spa
    Posts
    1,375
    Tokens
    72

    Latest Awards:

    Default

    If they haven't submitted the form, it'll show it.
    Otherwise it redirects them to their signature.
    PHP Code:
    <?php
    if(!$_POST['make']){
    ?>
    <div id="content">
    <div id="realcontent">
    <div id="truecontent">
    <!-- Begin Content -->
    <script type="text/javascript">
    function setimg (imagename, source){
     if(document.images && document.images[imagename] && source != "!group") {
      document.images[imagename].src = "RSHiLib/signatures/" + source + ".png";
     }
    }
    </script><form method="get" action="make.php">
       <div class="box">
        <div class="header">
         :: Make stat signature ::
        </div>
        <div class="body">
         Habbo Name (UK only for now):
         <input type="text" name="name" size="20" />
    <br />
         <br />
         <div class="center">
       Select type:
       <select class="sigselect" name="image" onchange="setimg('sigimg', options[selectedIndex].value)">';
        <option value="original">Original</option>
       
    </select><br />
    <br><br><center><img src="http://edhaw.freehostia.com/sig/profile.png" alt="signature image" name="sigimg" /></center><br />
      </div>
      <br />
    <input type="submit" name="make" value="Create Signature" />
        </div>
       </div>
      </form>
    <!-- End Content -->
    </div>
    </div>
    <?php
    }else{
    $habboname $_POST['name'];
    header("Location: http://edhaw.freehostia.com/sig/habboProfile_uk.php?name=" $habboname "");
    }
    ?>
    i've been here for over 8 years and i don't know why

  3. #3
    Join Date
    Jan 2007
    Location
    UK
    Posts
    3,955
    Tokens
    424

    Latest Awards:

    Default

    Doesn't work

    it just goes back to the freehostia homepage
    2110 Reputation thanks to: Intersocial
    If you Rep, please leave your name.

  4. #4
    Join Date
    Apr 2006
    Location
    Leamington Spa
    Posts
    1,375
    Tokens
    72

    Latest Awards:

    Default

    Make sure the page is called make.php
    OR: take the action="make.php" out of the <form> tag
    Freehostia's homepage redirection probably means it's a 404.
    i've been here for over 8 years and i don't know why

  5. #5
    Join Date
    Oct 2006
    Posts
    2,918
    Tokens
    946
    Habbo
    Verrou

    Latest Awards:

    Default

    redownload the status sig package from HabboRing it has a page in it.
    Quote Originally Posted by Special-1k View Post
    How do you uninstall an internet? I want to uninstall my Google Chrome and
    get firefox but I never really got rid of an internet my dad usually did it for me.
    If you know how post below so I can do this.

  6. #6
    Join Date
    Jan 2007
    Location
    UK
    Posts
    3,955
    Tokens
    424

    Latest Awards:

    Default

    i kno i tried but it is sig
    2110 Reputation thanks to: Intersocial
    If you Rep, please leave your name.

  7. #7
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default

    Quote Originally Posted by EdHawks View Post
    i kno i tried but it is sig
    If you're having problems with the status sig form that comes with the habbo ring package then check that you've configured your .htaccess file properly
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


Posting Permissions

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