Results 1 to 6 of 6
  1. #1
    Join Date
    May 2005
    Location
    Burgessville
    Posts
    806
    Tokens
    0

    Default mysql to flatfile

    <?
    ob_start(); // allows you to use cookies
    $conn = mysql_connect("localhost","madc6349_madchil","coco co");
    mysql_select_db(madc6349_mad) or die(mysql_error());
    //fill in the above lines where there are capital letters.
    $logged = MYSQL_QUERY("SELECT * from users WHERE id='$_COOKIE[id]' AND password = '$_COOKIE[pass]'");
    $logged = mysql_fetch_array($logged);
    //the above lines get the user's information from the database.
    ?>

    at the mysql table has following
    id
    username
    pass
    email
    location
    aim
    msn
    is there anyway i can make this mysql script into a flatfile instead
    as my mysql is stable (bad uptime)

    Originally Posted by bananasislegend
    this thread might be better than sex..

  2. #2
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    You shouldn't of given your password out.
    kinda quit.

  3. #3
    Join Date
    Apr 2005
    Posts
    265
    Tokens
    0

    Default

    sped -_- :8
    CLICK HERE TO GET FREE VIP AND COINS
    Baving (Super Moderator),
    Please do not have a image which exceeds 150 pixels in height.

  4. #4
    Join Date
    May 2005
    Location
    Burgessville
    Posts
    806
    Tokens
    0

    Default

    lol its password to mysql big deal it doesn't matter

    Originally Posted by bananasislegend
    this thread might be better than sex..

  5. #5
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    Can't you just paste all the data from your database into a text file, separating it with ||?
    kinda quit.

  6. #6
    Join Date
    May 2005
    Location
    Burgessville
    Posts
    806
    Tokens
    0

    Default

    ya but like how to i get it to send the data to flatfile
    what i change the config file to so it sends it to flatfile instead of database
    oh and how u make that linE?

    Originally Posted by bananasislegend
    this thread might be better than sex..

Posting Permissions

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