Jump to content

jake2624

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Posts posted by jake2624

  1. first thing i noticed is that when i go to /profile.php and there is no id set, it should default to my id, example /profile.php?id=17

     

    xss -> /profile.php?id=17

     

    open directory http://facepalmz.comli.com/memberFiles/

     

    http://facepalmz.comli.com/search.php not displaying anything :D

     

    There Fixed all of those problems, except search.php ? i dont get what u mean it doesn't work it works perfectly fine? if you dont enter anyone's name itl show random first 30 results... but if it doesn't have that name in database it wont show anyone in the results list.

  2. I's was bored so decided to start a FB clone for learning purposes mostly :) check it out so far tell me what ya think :D .

     

    http://facepalmz.comli.com

     

    So far have upload photos, edit info, post on your own and others walls... more to come.

    NOTE: All accounts will be automatically activated no need to email activate it quiet yet in time. (Done for convenience)

  3. Heyyzarrh, iv been having troubles trying to make it so my PHP script will echo out the username by corresponding the posters ID with the ID in the members table. Heres what iv got so far:

     

    <?php
    if ($urlid == "") {
    }
    
    $sql = mysql_query("SELECT members.username,
    posts.mem_id,
    posts.post_date,
    posts.post
    FROM members
    JOIN posts
    ON members.id = posts.mem_id
    WHERE posts.mem_id='$urlid' ORDER BY post_date DESC LIMIT 20");
    
    while ($row = mysql_fetch_array($sql)){	
        echo '<b>' .$row['$username']. ':</b> '.$row['post'].'<br />At: '.$row['post_date'].'<br /><br />';
    }
    ?>

     

    Please help!! :S so far only the actual posts data comes out not the username from the table "members"...  :confused:

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.