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
$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 ($
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
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