Re: Need login suggestions
| From: | Karl DeSaulniers | Date: | Mon, 03 May 2010 05:43:59 +0000 |
| Subject: | Re: Need login suggestions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-304870@lists.php.net to get a copy of this message | ||
Hi Ashley,
I would have your database that is attached to this part of the website,
verify with another database that stores all your student and parent info for your school
and when they register, you can actually check against a database of students that actually
attend the school and the parents of that student on your server not through a login form.
I believe there is a way to set up a cron or something like that where the check is made at
the server level and no one else can check that way.
I am not a professional at php, but I believe I read about this capability somewhere.
If someone knows the actual term for this please, interject.
Also, I would probably ask how to do that on the PHP-Database list
Databases and PHP - choose this one
http://www.php.net/mailing-lists.php
HTH,
On May 2, 2010, at 9:09 PM, Ashley M. Kirchner wrote:
Slightly OT, but I can't think of a better forum to ask this in. I'm sure a lot of us here have at some point or another built a system that requires registration to gain access. What I'm trying to figure is how to set different levels of access. We're building a large site for a school district, to be used by both students and parents. When a student logs in, they gain some access to the site, and when a parent logs in, they gain access to other sections on the site. That's all fine and dandy, it's the actual registration process that I'm having a hard time with. How to determine if a registration is a student or a parent. Do I simply give them a check box (or other method) to pick from (student or parent) and hope they're being honest? Has anyone here have to deal with that in the past, and would you be willing to give me some ideas of what you did? Thanks!Karl DeSaulniers Design Drumm http://designdrumm.com