ive been looking around for a script to create/manage htaccess & htpasswd files for user authentication and havent found anything useful...
im want it to interface with my linux backend (not just dump info the screen for copy/paste) to read/write/control files
ive tried putzing around and only really come up with this:
<?php
$output = shell_exec('htpasswd');
echo "<pre>$output</pre>";
?>
i know its "nothing" but i cant even capture CLI interaction (it outputs NOTHING)
if anyone can give me some pointers on how to start this id appreciate the help please