|
#1
|
||||
|
||||
|
I know that cpanel has a feature to add/edit users for directories, but is there a file I can minipulate with php so I can set up my own add/edit users page?
__________________
Princom: Central Florida Computer and Web Solutions More Words of Wisdom to Live By from Homer J. Simpson: "Kids, you tried your best and you failed miserably. The lesson is, never try." - "Beer. Now there's a temporary solution." - "Internet! Is that thing still around?" - "D'oh!" - "Spider Pig, Spier Pig. Does whatever a Spider Pig does. Can he swing, from a web? No he can't, he's a pig. Look oooouuuutt!!! He is a Spider Pig!!" |
|
#2
|
|||
|
|||
|
Should be in the .htpasswd directory under your root home directory somewhere.
__________________
|
|
#3
|
||||
|
||||
|
Turns out that when you password protect a directory through cpanel it creates an .htaccess file in the directory you password protect which in turn points to a passwd file through the root directory of your server (just outside of public_html) and if that's not enough to work around, although the usernames aren't encrypted the passwords are. I think it will be easier just using a login with a session.
Example of .htaccess file: ----------------------------------------------------- AuthType Basic AuthName "Enter Password" AuthUserFile "/home/princom/.htpasswds/ebay/passwd" require valid-user ----------------------------------------------------- Example of passwd file -------------------- test:tMTnlIEQmU3RY -------------------- Even if I did find a way to set up my own user management it would be less work just scripting one up myself.
__________________
Princom: Central Florida Computer and Web Solutions More Words of Wisdom to Live By from Homer J. Simpson: "Kids, you tried your best and you failed miserably. The lesson is, never try." - "Beer. Now there's a temporary solution." - "Internet! Is that thing still around?" - "D'oh!" - "Spider Pig, Spier Pig. Does whatever a Spider Pig does. Can he swing, from a web? No he can't, he's a pig. Look oooouuuutt!!! He is a Spider Pig!!" |
|
#4
|
||||
|
||||
|
Quote:
Actually, scripting a user management isn't that much work using sessions. I found it was much easier than I expected. |
|
#5
|
||||
|
||||
|
Quote:
__________________
Princom: Central Florida Computer and Web Solutions More Words of Wisdom to Live By from Homer J. Simpson: "Kids, you tried your best and you failed miserably. The lesson is, never try." - "Beer. Now there's a temporary solution." - "Internet! Is that thing still around?" - "D'oh!" - "Spider Pig, Spier Pig. Does whatever a Spider Pig does. Can he swing, from a web? No he can't, he's a pig. Look oooouuuutt!!! He is a Spider Pig!!" |
|
#6
|
|||
|
|||
|
LOL, you just quoted yourself. =)
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT -5. The time now is 03:46 AM.




Even if I did find a way to set up my own user management it would be less work just scripting one up myself.




