Thread: A news system made by me (Live Demo)

Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1 A news system made by me (Live Demo) 
    Registered Member

    Join Date
    Feb 2009
    Age
    27
    Posts
    2,861
    Thanks given
    127
    Thanks received
    226
    Rep Power
    700
    News

    Gonna work on the theme in a bit.
    Reply With Quote  
     

  2. #2  
    Registered Member deleteme's Avatar
    Join Date
    Jul 2008
    Posts
    247
    Thanks given
    3
    Thanks received
    32
    Rep Power
    28
    ezpz
    Reply With Quote  
     

  3. #3  
    Donator

    FairyTail's Avatar
    Join Date
    Jan 2008
    Age
    33
    Posts
    581
    Thanks given
    22
    Thanks received
    5
    Rep Power
    188
    dude awesome news system.
    If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed. - Albert Einstein
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Feb 2009
    Age
    27
    Posts
    2,861
    Thanks given
    127
    Thanks received
    226
    Rep Power
    700
    Quote Originally Posted by ajjr1228 View Post
    ezpz
    Wtf?

    Quote Originally Posted by Dr. Pepper View Post
    dude awesome news system.
    Sarcasm or genuine feedback?
    Reply With Quote  
     

  5. #5  
    Registered Member deleteme's Avatar
    Join Date
    Jul 2008
    Posts
    247
    Thanks given
    3
    Thanks received
    32
    Rep Power
    28
    @Dr. Pepper, its to easy.

    Post screen, insert into database, display on index.php.

    Also,
    Code:
    <?php
    $url = "http://codemagic.org/news/add.php";
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_POST, 1);
    $data = array('author' => 'ajjr1228', 'title' => 'Fix it bro<3', 'announcement' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin vel eros urna, ut blandit justo. Aenean vel risus libero. Praesent ut ante tellus, ac pharetra mauris. Sed venenatis, enim ac laoreet mattis, nibh odio pulvinar neque, in faucibus quam dolor sit amet sapien. Ut accumsan dui at odio faucibus lacinia. Maecenas id euismod est. Cras luctus dui non lectus pretium eget hendrerit magna rhoncus. Proin bibendum mauris a mi congue gravida. Sed id nulla in dolor iaculis pretium sed non lectus. Pellentesque vitae quam vitae ligula auctor euismod. Pellentesque sed libero quam, in porttitor arcu. Phasellus viverra mattis dui, quis convallis nisi porttitor eget. Aenean ut diam dolor. Suspendisse sit amet elementum mi. ', 'submit' => 'submit');
    curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
    $i = 0;
    while($i < 1000){
    	$i++;
    	$result = curl_exec($ch);
    }
    curl_close($ch);
    echo $result;
    ?>
    Btw just because you don't know how to stop this, I am going to keep doing this all night.
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Feb 2009
    Age
    27
    Posts
    2,861
    Thanks given
    127
    Thanks received
    226
    Rep Power
    700
    I know how to stop it. Search in the database to see if the submitted article is equal to any other. Thanks though, you've given me an excuse to take my news system down at the moment.
    Reply With Quote  
     

  7. #7  
    Community Veteran

    Patawic's Avatar
    Join Date
    Dec 2006
    Age
    29
    Posts
    1,950
    Thanks given
    40
    Thanks received
    150
    Rep Power
    2463
    jarba that wont fix it if he changes it to display random gibberish in each message.

    Reply With Quote  
     

  8. #8  
    Registered Member

    Join Date
    Feb 2009
    Age
    27
    Posts
    2,861
    Thanks given
    127
    Thanks received
    226
    Rep Power
    700
    Could you give me a tip on how to do it?
    Reply With Quote  
     

  9. #9  
    Registered Member deleteme's Avatar
    Join Date
    Jul 2008
    Posts
    247
    Thanks given
    3
    Thanks received
    32
    Rep Power
    28
    Script to combat you're "fix".

    Code:
    <?php
    $url = "http://codemagic.org/news/add.php";
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_POST, 1);
    $data = array('author' => 'You\'re friends at R-S (ajjr1228) '.rand(0,9001), 'title' => 'Fix it bro<3 '.rand(0,9001), 'announcement' => 'Doing this out of love. ('.time().') Also; '.rand(0,9001), 'submit' => 'submit');
    curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
    $i = 0;
    while($i < 50){
    	$i++;
    	$result = curl_exec($ch);
    }
    curl_close($ch);
    echo $result;
    ?>
    Reply With Quote  
     

  10. #10  
    Community Veteran

    Patawic's Avatar
    Join Date
    Dec 2006
    Age
    29
    Posts
    1,950
    Thanks given
    40
    Thanks received
    150
    Rep Power
    2463
    All im gonna say is use sessions or cookies

    Reply With Quote  
     

Page 1 of 3 123 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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