1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Linking a mySQL database with a PHP website

Discussion in 'Web Development & Web Hosting' started by cf2swa, Mar 25, 2006.

  1. cf2swa

    cf2swa New Member

    7
    0
    8
    Has anyone got any good sources of help on how I can link my PHP website to my database created in mySQL? Especially password protection methods?

    Thanks
    Sarah
     
    WIP: BSc Computing
  2. simongrahamuk
    Honorary Member

    simongrahamuk Hmmmmmmm?

    6,199
    125
    199
    I just Googled and found these results. Don't know if it's any help to you but google is always my first point of call.

    Welcome to CF by the way, why not pop over to the new members forums and introudce yourself properly. We like to get to know our new 'victims'! :twisted:
     
  3. hbroomhall

    hbroomhall Petabyte Poster Gold Member

    6,623
    115
    224
    PHP includes funtions to work with MySQL. Why not check the docs?

    And what do you mean by 'password protection methods'?

    Harry.
     
    Certifications: ECDL A+ Network+ i-Net+
    WIP: Server+
  4. cf2swa

    cf2swa New Member

    7
    0
    8
    Hi,

    Thanks for the advice.

    I mean I have created a login page on my website but need to link it up with the username and password fields in my database to check whether they are correct.

    I will have a look at the site posted in the first reply.

    Thanks very much

    Sarah

    p.s. not sure where you mean by the new users forum as it was my dad who told me to try this site.
     
    WIP: BSc Computing
  5. Jakamoko
    Honorary Member

    Jakamoko On the move again ...

    9,915
    60
    229
    Certifications: MCP, A+, Network+
    WIP: Clarity
  6. d-Faktor
    Honorary Member

    d-Faktor R.I.P - gone but never forgotten.

    810
    0
    39
    phpmyadmin is not a user management system, it's a database management system.

    [edit] really, cf2swa, there are tons of references on the internet, easily googleable. you can find tutorials, scripts, howto's, tools, etc. for the exact same thing that you are looking for.
     
  7. Jakamoko
    Honorary Member

    Jakamoko On the move again ...

    9,915
    60
    229
    Sure, no probs, d. Note my use of the word "might" - I proclaim no real knowledge in the area - my only involvement would be creating mysql db's for customers at work, then pointing them generally to use phpmyadmin to administer them. As such, I know that the above site that I linked to has many helpful resources and sources of information. I simply suggested it as another place to look. :)
     
    Certifications: MCP, A+, Network+
    WIP: Clarity
  8. d-Faktor
    Honorary Member

    d-Faktor R.I.P - gone but never forgotten.

    810
    0
    39
    and as for me, i had no intention to slam your post. :beers2
     
  9. tech291083

    tech291083 Bit Poster

    47
    0
    14
    hi sarah,

    php is easy to learn if you are determined as said by many people on this planet.but i hope that the following site might be of some help to you.it is an online forum just like this which also covers php and mysql.hope this helps.

    http://forums.devshed.com/

    here are a few links that have the basic php scripts/code that allow you to connect mysql to a php script.

    http://www.databasejournal.com/features/mysql/article.php/1469211

    http://www.thescripts.com/serversidescripting/php/tutorials/phpandaccessingmysqldatabases/index.html


    for database security please read the following article

    http://uk2.php.net/manual/en/security.database.php


    good luck with it.
     

Share This Page

Loading...