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 5 of 6 FirstFirst 123456 LastLast
Results 41 to 50 of 54

Thread: Please Help

  1. #41
    Join Date
    Aug 2006
    Location
    United Kingdom
    Posts
    207
    Tokens
    0

    Default

    PHP Code:
    <?php 

    $name 
    $_POST['name']; 
    $website $_POST['website']; 
    $message $_POST['message']; 

    if(empty(
    $name) OR empty($message)) 

    echo 


    <script language='javascript'> 

    alert('You need to fill out both of the form fields...'); 

    </script> 
    "



    else 


    echo 


    <script language='javascript'> 

    alert('Thanks for your message 
    $name...'); 

    </script> 
    "

    $name htmlspecialchars($name); 
    $message htmlspecialchars($message); 
    $tag = ("<font size=\"1\" face=\"Verdana\"> 
    <b>
    $name</b>: $message </font><br><br>"); 
    function 
    filter($tag

    $bad_words explode(','"tomato,lettuce,carrot,potato,broccoli,cucumber,pea" ); 
    foreach (
    $bad_words as $naughty

    $tag eregi_replace($naughty"****"$tag); 

    return 
    $tag

    function 
    filter2($contents

    $bad_words explode(','"tomato,lettuce,carrot,potato,broccoli,cucumber,pea" ); 
    foreach (
    $bad_words as $naughty

    $contents eregi_replace($naughty"****"$contents); 

    return 
    $contents


    $read fopen("content.txt""r"); 
    $contents fread($readfilesize('content.txt')); 
    fclose($read); 

    $write fopen("content.txt""w"); 
    fwrite($write"$tag $contents $input = $contents$output = filter($input)"); 
    fclose($write); 
    }   

    print 
    "<meta http-equiv=\"refresh\" content=\"0;index.php\">"

    // Copyright 2006 - 2007 PixelResources 

    ?>
    Last edited by Fujitsu; 09-08-2006 at 02:45 PM.
    PHP Code:
    [LEFT]<?[/LEFT]
    [
    LEFT]$name $_GET['name'];[/LEFT]
    [
    LEFT]echo "Hi, your name is $name";[/LEFT]
    [
    LEFT]?>[/LEFT]
    [LEFT][/LEFT]

  2. #42
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default

    still doesnt work

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


  3. #43
    Join Date
    Aug 2006
    Location
    United Kingdom
    Posts
    207
    Tokens
    0

    Default

    Well done for pointing out the obvious. Anyway we're working on admin panel at the moment.
    PHP Code:
    [LEFT]<?[/LEFT]
    [
    LEFT]$name $_GET['name'];[/LEFT]
    [
    LEFT]echo "Hi, your name is $name";[/LEFT]
    [
    LEFT]?>[/LEFT]
    [LEFT][/LEFT]

  4. #44
    Join Date
    Sep 2005
    Posts
    1,604
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Fujitsu View Post
    Well done for pointing out the obvious. Anyway we're working on admin panel at the moment.
    We're or you are? Lol

    A4AOwen (Forum Moderator) - Please do not post off topic.
    Last edited by A4AOwen; 09-08-2006 at 05:53 PM.

  5. #45
    Join Date
    Aug 2006
    Location
    United Kingdom
    Posts
    207
    Tokens
    0

    Default

    I'm doing admin, Ryan's doing Mod.

    A4AOwen (Forum Moderator) - Please do not post off topic.
    Last edited by A4AOwen; 09-08-2006 at 05:54 PM.
    PHP Code:
    [LEFT]<?[/LEFT]
    [
    LEFT]$name $_GET['name'];[/LEFT]
    [
    LEFT]echo "Hi, your name is $name";[/LEFT]
    [
    LEFT]?>[/LEFT]
    [LEFT][/LEFT]

  6. #46
    Join Date
    Sep 2005
    Posts
    1,604
    Tokens
    0

    Latest Awards:

    Default

    Kay Lol

    A4AOwen (Forum Moderator) - Please do not post off topic.
    Last edited by A4AOwen; 09-08-2006 at 05:55 PM.

  7. #47
    Join Date
    Aug 2006
    Location
    United Kingdom
    Posts
    207
    Tokens
    0

    Default

    Whats you LOLing about?

    A4AOwen (Forum Moderator) - Please do not post off topic.
    Last edited by A4AOwen; 09-08-2006 at 05:55 PM.
    PHP Code:
    [LEFT]<?[/LEFT]
    [
    LEFT]$name $_GET['name'];[/LEFT]
    [
    LEFT]echo "Hi, your name is $name";[/LEFT]
    [
    LEFT]?>[/LEFT]
    [LEFT][/LEFT]

  8. #48
    Join Date
    Sep 2005
    Posts
    1,604
    Tokens
    0

    Latest Awards:

    Default

    That you doing all the work for him. Are you getting anything out of it?

    A4AOwen (Forum Moderator) - Please do not post off topic.
    Last edited by A4AOwen; 09-08-2006 at 05:55 PM.

  9. #49
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default

    fujitsu is a nice guy unliek you chris.

    Edited by ---MAD--- (forum moderator): Please stay on topic, thanks .
    Last edited by ---MAD---; 09-08-2006 at 09:14 PM.

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


  10. #50
    Join Date
    Aug 2006
    Location
    United Kingdom
    Posts
    207
    Tokens
    0

    Default

    I've had 3 infractions so far FGS. Mods are going power mad now. And like loads of my posts have been edited.

    Edited by ---MAD--- (forum moderator): Please stay on topic, thanks . Read the forum rules if you are not sure why you are getting infractions/post edits. If you still think a moderator has done something wrong, contact Baving the forum manager, thanks again .
    Last edited by ---MAD---; 09-08-2006 at 09:15 PM.
    PHP Code:
    [LEFT]<?[/LEFT]
    [
    LEFT]$name $_GET['name'];[/LEFT]
    [
    LEFT]echo "Hi, your name is $name";[/LEFT]
    [
    LEFT]?>[/LEFT]
    [LEFT][/LEFT]

Page 5 of 6 FirstFirst 123456 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
  •