Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Feb 2005
    Posts
    1,411
    Tokens
    0

    Latest Awards:

    Default Php Help. Ive Read The Tutorial.

    Hey, i have read Toxic-UK's tutorial which i understand but the bit i still dont get is how you get a db to work using php aswell as using a config.php to make it work.

    I know what i mean but you probably wont have a clue but anway! O hang on heres a example! For he radio_stats.php you need a config.php thats what i mean!

    Ty

    -Matt

    P.S Please Help If you Can.
    I owe rep to:

    NintendoNews & Luckyrare

  2. #2
    Join Date
    Aug 2005
    Location
    Webdesign Section
    Posts
    1,032
    Tokens
    0

    Latest Awards:

    Default

    Im no brain @ php but its like erm lets say a Brain we cant live without a brain other wise we woulodnt know what to do, or how to function correctly,

    Just like the config.php the config.php is the brain of the database or script and tells its settings and what to do,

    thats what i think

    Thanks,

    Sygon

  3. #3
    Join Date
    Feb 2005
    Posts
    1,411
    Tokens
    0

    Latest Awards:

    Default

    Yes, the problem is i duno how to link it if that makes sense lol!
    I owe rep to:

    NintendoNews & Luckyrare

  4. #4
    Join Date
    Aug 2005
    Location
    Webdesign Section
    Posts
    1,032
    Tokens
    0

    Latest Awards:

    Default

    I dont think php scripts without a mysql database doesnt need it

  5. #5
    Join Date
    Aug 2005
    Location
    Tunbridge Wells, Kent
    Posts
    5,063
    Tokens
    1,624

    Latest Awards:

    Default

    include('config.php')

    i think thats right i don't really know PHP "/
    Never argue with an idiot, he'll drag you down to his level, and beat you with experience.

    Quote Originally Posted by Recursion
    *oh trust me
    *I would NEVER go ATi
    And 15 mins later...
    Sapphire ATI Radeon HD 5850 1024MB GDDR5 PCI-Express Graphics Card £195.73 1 £195.73
    *ordered.

  6. #6
    Join Date
    Nov 2005
    Posts
    807
    Tokens
    1,335

    Latest Awards:

    Default

    So then in config.php you would place the db details for the script to connect..

  7. #7
    Join Date
    Feb 2005
    Posts
    1,411
    Tokens
    0

    Latest Awards:

    Default

    Okay so far so good. The problem is how could i make it so people register using the db.
    I owe rep to:

    NintendoNews & Luckyrare

  8. #8
    Join Date
    Aug 2005
    Location
    Tunbridge Wells, Kent
    Posts
    5,063
    Tokens
    1,624

    Latest Awards:

    Default

    Ask Splinter hes always correct Grrrr.
    Never argue with an idiot, he'll drag you down to his level, and beat you with experience.

    Quote Originally Posted by Recursion
    *oh trust me
    *I would NEVER go ATi
    And 15 mins later...
    Sapphire ATI Radeon HD 5850 1024MB GDDR5 PCI-Express Graphics Card £195.73 1 £195.73
    *ordered.

  9. #9
    Join Date
    Jun 2005
    Location
    Manchester
    Posts
    3,187
    Tokens
    0

    Latest Awards:

    Default

    Basically add your DB connection details,

    Password, Username, Host, DB Name.

    - Dan

  10. #10
    Join Date
    Nov 2005
    Posts
    807
    Tokens
    1,335

    Latest Awards:

    Default

    Well create a database structure with fields for name, password, email etc.. then you just need to create a registration form.

Page 1 of 2 12 LastLast

Posting Permissions

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