Need a little PHP help please

Discussion in 'Archives' started by jdcx95, Mar 1, 2009.

Thread Status:
Not open for further replies.
Need a little PHP help please
  1. Unread #1 - Mar 1, 2009 at 1:30 PM
  2. jdcx95
    Joined:
    Feb 17, 2009
    Posts:
    7
    Referrals:
    0
    Sythe Gold:
    0

    jdcx95 Newcomer

    Need a little PHP help please

    I need a little help with PHP. I have code like this:

    tl;dr need to enter info in forms into text file

    index.html
    Code:
    <form action="login.php" method="get">
    <input type="text" name="username" /><br />
    <input type="password" name="password" /><br />
    <input type="submit" value="Login" />
    </form>
    
    login.php
    Code:
    <?php
    
    	if ($_GET['username'] == "hi" AND $_GET['password'] == "bye") {
    		echo ("hi");
    	}
    	else {
    		echo ("bye");
    	}
    
    ?>
    
    I need to enter this into a form. I'm setting up a site so my friends can use things at school (like proxies) to get past the web blocks. But I'm too lazy to create a proper registration system, and there won't be that many. So they put the name/pass in the form, and it goes into a text file. That's the part i'm stuck on. I'll also implement IP later =/

    Sorry that's sorta disorganized, just read the tl;dr at the top if it made no sense
     
  3. Unread #2 - Mar 1, 2009 at 4:55 PM
  4. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    Need a little PHP help please

  5. Unread #3 - Mar 1, 2009 at 5:02 PM
  6. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,212
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    Need a little PHP help please

    whats tl:dr????


    And why must you put the stuff from the post into a text file? are you making a phisher or something? >.<
     
  7. Unread #4 - Mar 1, 2009 at 6:40 PM
  8. cp
    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0

    cp an cat
    Banned

    Need a little PHP help please

    tl;dr = too long; didn't read

    Looks like a phisher! You don't need to log information if you know the data and they are just authentificationating!
     
  9. Unread #5 - Mar 3, 2009 at 9:54 AM
  10. draggin pure
    Joined:
    Apr 7, 2008
    Posts:
    1,429
    Referrals:
    0
    Sythe Gold:
    0

    draggin pure Guru
    Banned

    Need a little PHP help please

    or... hes making........

    yup its a phisher...
     
  11. Unread #6 - Mar 3, 2009 at 10:04 AM
  12. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,212
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    Need a little PHP help please

    Locked since we thinks he is trying to make a phisher........
     
< May trade my main for a level 3 skiller | How do I get rsbot to work? >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site