www.webdeveloper.com
Results 1 to 4 of 4

Thread: Password protected site/admin page to update MySQL db

Hybrid View

  1. #1
    Join Date
    Jan 2003
    Location
    UK
    Posts
    267

    Password protected site/admin page to update MySQL db

    Hello,

    I'm wondering if you'd be able to help me, I'm just looking for a noob-and-efficient way to do the following:

    1. Make my site password protected - username should be the same for each user. A guest password that can be changed. Other users can sign up to receive their own password by email, but only if they sign up with an email address that matches a specific domain (i.e. @mycompany.com). Anti-robot checker built into this sign up process.

    2. Whenever a user designated as an 'admin' signs in, they have permission to access a page where they can edit a MySQL database, whereas non-admin users can't get to the page.

    3. How the heck do I make a page that can allow admins to edit a database!

    My web host has a one-click installer for password protecting my site, but I'm trying not to cobble together several things and then after hours of work, find out they're all incompatible with each other and then be back at square one.

    I recently tried uploading a search engine script and my host wouldn't accept the .htaccess and .php files so if I need to approach this from the ground up I don't mind reading guides, just need to know where to start.

    thanks guys

  2. #2
    Join Date
    Nov 2012
    Posts
    4
    take a look at my site, i am playing with this stuff now. look under War Metal, and the The UNTOUCHABLES will bring up a login box, and when it its submitted is supposed to validate. havnt finished because something is wrong with my logic, and i need to do more before form submission. anything useful rip it, i use soem code from other places but always put comments in so please respect their rights

    ________________________________________

    Roy Lister - http://www.reallymisfit.com
    ________________________________________
    Adelaide, South Australia
    all things Photography & Linux

  3. #3
    Join Date
    Jan 2003
    Location
    UK
    Posts
    267
    Hi Roy,

    Thanls, sorry but can't seem to rip server side code.

  4. #4
    Join Date
    Nov 2012
    Posts
    4
    Quote Originally Posted by W8 4me View Post
    Hi Roy,

    Thanls, sorry but can't seem to rip server side code.
    try going to www.reallymisfit.com/reallymisfit.tar.gz it is all bundled up. Everything is just a shell at the moment, i am teaching myself this stuff. used to be in IT, UNIX admin, comms, networking, and stuff. my area of coding was basic, cobol, c, assembler, and stuff like that so it is a struggle trying to think different. some code i got from other places and adapted so if you use their stuff please give them credit

    if i can help just shoot a question, i don't mind googling or reading docs

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles