[PHP-WIN] Re: Deleting users from htpasswd

2003-06-06 Thread Max Graham
If you want a script that's premade that'll do it for you, I suggest PHPAccess ... http://www.krizleebear.de/phpaccess/dynamisch/ If nothing else, it'll give you some code to look at to see how it's done in case you don't want to use this and would rather customize your own Message-ID: <[EMAIL P

[PHP-WIN] Re: Deleting users from htpasswd

2003-06-06 Thread Cristian MARIN
$user = "bubu"; $file_ht = fopen("path_to_the_htaccess","r+"); if ($file_ht){ $content_file = fread($file_ht, filesize("path_to_the_htaccess")); fclose($file_ht); $content_file = preg_replace("/".$user.".*\n/","",$content_file); $file_ht=fopen("path_to_the_htaccess","w+"); if ($

[PHP-WIN] Re: Deleting users from htpasswd

2003-06-05 Thread Guru P Chaturvedi
Hi Cristian, Well that's right... i wanna do it thru PHP Scrip... but dunno what exactly i should use... any clues...? "Cristian Marin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Remove the line of the user from the .htpasswd. You can do it manually or a php script can do it for

[PHP-WIN] Re: Deleting users from htpasswd

2003-06-04 Thread Cristian MARIN
Remove the line of the user from the .htpasswd. You can do it manually or a php script can do it for you. -- - Cristian MARIN InterAKT Online (www.interakt.ro) +4021 411 2610 [EMAIL PROTECTED] "Guru P Chaturvedi" <[EMAIL PROTECTED]> wrote in