View Single Post
Old 07-02-2007, 10:49 AM  
Donkey Punch
Confirmed User
 
Join Date: Jun 2007
Location: :: PUNCH ::
Posts: 1,260
Quote:
Originally Posted by J.P. View Post
grep -Ev "^desired_username:" .htpasswd > .htpasswd.tmp;mv -f .htpasswd.tmp .htpasswd

you can use PHP's exec() function to execute this shell command... you will have to use full paths of course
lol, I had the command line earlier and I gave up trying to get it to work!

Thanks for the post though )
__________________
ICQ:407-837-607
Hosting a Problem? Phat Servers = Answer
Donkey Punch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote