|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
I am trying to find a script that allows a user to come to my website, register and create their own user name and password. Then that info is emailed to me and verified that they are a dealer. Once it has been verified I can add their username and password and they can access my e-commerce store for dealers only. I still need a regular store with retail prices and then a protected one with dealer prices. Any idea how to do that? Any help is greatly appreciated!
![]() |
|
#2
|
||||
|
||||
|
Add a 'Rank' column to your database. Users of rank 1 can see the normal store, and once they're approved by you, they become rank 2 and can see the rest.
Just put an 'if($rank==2) { }' around the parts you don't want regular customers to see. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Dual Log in script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|