+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 21 to 35 of 35

Thread: *The Art of Freepost* pt. 2

  1. #21
    Member Rap Dog Level III PP412's Avatar

    Join Date
    Jul 2006
    Posts
    396
    Thanks
    38
    Thanked 7 Times in 7 Posts

    Default Re: *The Art of Freepost* pt. 2

    Who's on who's dick?
    Why you follow MY EVERY POST?
    I hold the key to the bottomless pit
    and the
    beast is locked
    I'm the priest in PAC
    words sharper than the 3's in MACH
    http://forum.rapdogs.com/showthread....e-and-AlyBlaze

  2. #22
    Super Moderator Moderator
    Rap Dogs Battle Master


    Join Date
    Jul 2006
    Location
    MidWest
    Posts
    10,375
    Thanks
    293
    Thanked 239 Times in 198 Posts

    Default Re: *The Art of Freepost* pt. 2

    ^why do u say my name in every post and have ur idol advertised in ur sig?

    so the answer to ur question is you've been on my dick. glad we got that cleared up

    -1-
    LyriCaLLy StAyInG aBoVe tHeSe pEaSaNtZ
    ..::{BEL HW CHAMP 2010}::..


    :::Chekk My Accolades iN The: -Rapdogs Hall Of Fame-
    2009 Best Overall Battler
    -(WuN)-

  3. #23
    Member Rap Dog Level IX Brinks's Avatar

    Join Date
    Sep 2006
    Location
    True To Death Hip Hop
    Posts
    1,689
    Blog Entries
    1
    Thanks
    77
    Thanked 44 Times in 36 Posts

    Default Re: *The Art of Freepost* pt. 2

    Sounds like an orgy to me....
    True Hip Hop Guru Of Love

  4. #24
    Super Moderator Moderator
    Rap Dogs Battle Master


    Join Date
    Jul 2006
    Location
    MidWest
    Posts
    10,375
    Thanks
    293
    Thanked 239 Times in 198 Posts

    Default Re: *The Art of Freepost* pt. 2

    ^no, sorry to get ur hopez up tho

    -1-
    LyriCaLLy StAyInG aBoVe tHeSe pEaSaNtZ
    ..::{BEL HW CHAMP 2010}::..


    :::Chekk My Accolades iN The: -Rapdogs Hall Of Fame-
    2009 Best Overall Battler
    -(WuN)-

  5. #25
    Member RD BATTLE MASTER MC Skittlez's Avatar

    Join Date
    Oct 2005
    Posts
    2,832
    Blog Entries
    12
    Thanks
    50
    Thanked 113 Times in 97 Posts

    Default Re: *The Art of Freepost* pt. 2

    Yay!!!! Lotsa lovin'!!!!
    MF Bring DOOM Like We Wear Metal Masks
    "I'm White, Light, Creamy, N' Ya Girl Like Me,
    Call Me Yoplait."

  6. #26
    Member Rap Dog Level V DIM3's Avatar

    Join Date
    Dec 2009
    Posts
    739
    Thanks
    6
    Thanked 25 Times in 22 Posts

    Default Re: *The Art of Freepost* pt. 2

    I thought skit was gone??!!

    ∞These hot summer days, I keep gettin' stepped on,
    Gods favorite bastard, so I stay gettin' wept on∞...™

  7. #27
    Member RD BATTLE MASTER MC Skittlez's Avatar

    Join Date
    Oct 2005
    Posts
    2,832
    Blog Entries
    12
    Thanks
    50
    Thanked 113 Times in 97 Posts

    Default Re: *The Art of Freepost* pt. 2

    Nope, I Still Cruise... Gotta Busy Life, Just Started Up An Independent Label Here In Kamloops, Takin' Up My Time, N' Still Gotta Finish My Albums, Get Ready For My Show In Two Weeks, Study For My Exam, Work On My Novel, Get My Essays Done... Oh, N' Start Dealing.
    MF Bring DOOM Like We Wear Metal Masks
    "I'm White, Light, Creamy, N' Ya Girl Like Me,
    Call Me Yoplait."

  8. #28
    Super Moderator Moderator
    Rap Dogs Battle Master


    Join Date
    Jul 2006
    Location
    MidWest
    Posts
    10,375
    Thanks
    293
    Thanked 239 Times in 198 Posts

    Default Re: *The Art of Freepost* pt. 2

    LOL dealing what? gay rightz pamphletz?

    -1-
    LyriCaLLy StAyInG aBoVe tHeSe pEaSaNtZ
    ..::{BEL HW CHAMP 2010}::..


    :::Chekk My Accolades iN The: -Rapdogs Hall Of Fame-
    2009 Best Overall Battler
    -(WuN)-

  9. #29
    Member RD BATTLE MASTER MC Skittlez's Avatar

    Join Date
    Oct 2005
    Posts
    2,832
    Blog Entries
    12
    Thanks
    50
    Thanked 113 Times in 97 Posts

    Default Re: *The Art of Freepost* pt. 2

    Har-De-Har-Har, Buddy... No, Just Made Five Hundred Dollars Yesterday With Weed.
    MF Bring DOOM Like We Wear Metal Masks
    "I'm White, Light, Creamy, N' Ya Girl Like Me,
    Call Me Yoplait."

  10. #30
    Member Rap Dog Level V DIM3's Avatar

    Join Date
    Dec 2009
    Posts
    739
    Thanks
    6
    Thanked 25 Times in 22 Posts

    Default Re: *The Art of Freepost* pt. 2

    I juss saved money by switchin to Geico yesterday, an Allstate says im not in good hands, an statefarm said like a grimy neighbor there here waitin....

    ∞These hot summer days, I keep gettin' stepped on,
    Gods favorite bastard, so I stay gettin' wept on∞...™

  11. #31
    Member RD BATTLE MASTER MC Skittlez's Avatar

    Join Date
    Oct 2005
    Posts
    2,832
    Blog Entries
    12
    Thanks
    50
    Thanked 113 Times in 97 Posts

    Default Re: *The Art of Freepost* pt. 2

    You Americans Are Awfully Uncivilised, Aren't You?
    MF Bring DOOM Like We Wear Metal Masks
    "I'm White, Light, Creamy, N' Ya Girl Like Me,
    Call Me Yoplait."

  12. #32
    Member Rap Dog Level V DIM3's Avatar

    Join Date
    Dec 2009
    Posts
    739
    Thanks
    6
    Thanked 25 Times in 22 Posts

    Default Re: *The Art of Freepost* pt. 2

    We dont suck cock, or take it in the ass if dats what ya mean...

    ∞These hot summer days, I keep gettin' stepped on,
    Gods favorite bastard, so I stay gettin' wept on∞...™

  13. #33
    Member Rap Dog Level V DIM3's Avatar

    Join Date
    Dec 2009
    Posts
    739
    Thanks
    6
    Thanked 25 Times in 22 Posts

    Default Re: *The Art of Freepost* pt. 2

    $latest = $DOCUMENT_ROOT . "/temp/minichat2.latest";
    $archive = $DOCUMENT_ROOT . "/temp/minichat2.archive";
    $size = 20;
    $nick_size = 20;
    $message_size = 256;
    $max_word_size = 20;

    ?>

    <table width="120" align="center" border="0">
    <tr>
    <td>
    <p align="center">
    <font face="arial,sans-serif"><b><a href="http://www.jibble.org/chatbox.php">minichat 2</a></b></font>
    </p>
    <p align="center">
    <form name="minichat_form" method="POST" action="<? echo $_SERVER['PHP_SELF']; ?>">
    <font face="arial,sans-serif" size="2">
    <input type="hidden" name="minichat_md5" value="<? if (isset($minichat_message)) {echo md5($minichat_message);} ?>">
    Nick:<br>
    <input type="text" name="minichat_nick" maxlength="<? echo $nick_size; ?>" size="15" style="font-family: Verdana, Arial, Helvetica, Sans-serif; font-size: 10px"><br>
    Message:<br>
    <textarea name="minichat_message" cols="16" rows="3" style="font-family: Verdana, Arial, Helvetica, Sans-serif; font-size: 10px"></textarea><br>
    <input type="submit" name="minichat_submit" value="Submit">
    </font>
    </form>
    </p>
    <p>
    <font face="arial,sans-serif" size="1">

    <?

    // Check to see if the user is trying to post something.
    if (isset($minichat_md5) && isset($minichat_nick) && isset($minichat_message)) {

    // Replace any new line stuff with a space.
    $nick = strtr($nick, "\r\n", " ");
    $message = strtr($message, "\r\n", " ");

    // Trim leading and trailing whitespace where necessary and remove slashes.
    $nick = trim(stripslashes($minichat_nick));
    $message = trim(stripslashes($minichat_message));

    // Only proceed if the md5 hash of message is not repeated.
    if (md5($message) != $minichat_md5) {

    // Only proceed if the user actually filled in both fields.
    if (strlen($nick) > 0 && strlen($message) > 0) {

    // If the fields are too long, then chop them to the limits.
    if (strlen($nick) > $nick_size) {
    $nick = substr($nick, 0, $nick_size);
    }
    if (strlen($message) > $message_size) {
    $message = substr($message, 0, $message_size);
    }

    // Remove new line characters from the input.
    $nick = str_replace("\n", " ", $nick);
    $message = str_replace("\n", " ", $message);

    // Enforce the maximum word size by breaking up $message into lines.
    $message = preg_replace("/([^\s]{20})/", "$1\n", $message);

    // Now we can encode the nick and message into HTML.
    $nick = htmlentities($nick);
    $message = htmlentities($message);

    // Now replace the new line characters in $message.
    $message = str_replace("\n", "<br>", $message);

    // The IP address of the poster, web cache or whatever.
    $ip = $_SERVER['REMOTE_ADDR'];
    $time = date("j M Y - G:i:s T");

    // Check to see if the 'latest' and 'archive' files exist and can be written to.
    if (!is_writable($latest) || !is_writable($archive)) {
    // Touch both files.
    touch($latest);
    touch($archive);
    if (!is_writable($latest) || !is_writable($archive)) {
    exit("$latest or $archive is not writable. Please check your permissions and try again.");
    }
    }

    // Read every line of the 'latest' file into an array.
    $lines = file($latest);
    $bottom_index = count($lines);

    // Note that each entry takes up 4 lines.
    $line_ip = "<!-- $ip -->\n";
    $line_nick = "* <font color=\"#9999ff\">Posted by $nick\n";
    $line_time = "on $time</font><br>\n";
    $line_message = "$message<br><br>\n";

    $entry = $line_ip . $line_nick . $line_time. $line_message;

    $already_posted = 0;
    for ($i = 3; $i < $bottom_index; $i += 4) {
    if ($lines[$i] == $line_message) {
    $already_posted = 1;
    break;
    }
    }

    if ($already_posted == 0) {
    // Now rebuild the 'latest' file.
    // Start by entering the new entry at the top.
    $out = fopen($latest, "w");
    fwrite($out, $entry);

    // Then write all other entries except the oldest.
    if ($bottom_index >= $size * 4) {
    $bottom_index = $size * 4 - 4;
    }
    for ($i = 0; $i < $bottom_index; $i++) {
    fwrite($out, $lines[$i]);
    }
    fclose($out);

    // Also append the entry to the archive file.
    $out = fopen($archive, "a");
    fwrite($out, $entry);
    fclose($out);
    }
    else {
    // This avoided a "probably accidental" repost.
    }

    }
    else {
    echo "<font color=\"red\">You must fill in both fields</font><br><br>";
    }
    }
    else {
    // This avoided a deliberate repost, maybe we should say something?
    }


    }

    // include the latest comments on the page.
    if (file_exists($latest)) {
    include($latest);
    }

    ?>

    </font>
    </p>
    </td>
    </tr>

    ∞These hot summer days, I keep gettin' stepped on,
    Gods favorite bastard, so I stay gettin' wept on∞...™

  14. #34
    Member Rap Dog Level V DIM3's Avatar

    Join Date
    Dec 2009
    Posts
    739
    Thanks
    6
    Thanked 25 Times in 22 Posts

    Default Re: *The Art of Freepost* pt. 2

    ^Chat Box For PHP now someone implement dat shit!

    ∞These hot summer days, I keep gettin' stepped on,
    Gods favorite bastard, so I stay gettin' wept on∞...™

  15. #35
    Member RD BATTLE MASTER MC Skittlez's Avatar

    Join Date
    Oct 2005
    Posts
    2,832
    Blog Entries
    12
    Thanks
    50
    Thanked 113 Times in 97 Posts

    Default Re: *The Art of Freepost* pt. 2

    Pharcyde KIX ASSS!!!!
    MF Bring DOOM Like We Wear Metal Masks
    "I'm White, Light, Creamy, N' Ya Girl Like Me,
    Call Me Yoplait."

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2

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