Password protected site/admin page to update MySQL db
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.
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
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