You don't have an account yet?
Become part of our PHP community and register now...
$strFile = "./.htpasswd"; if ( is_file($strFile) ) { $fp = fopen($strFile, 'a'); if ( $fp ) { fputs($fp, "user:\pass"); fclose($fp); } }
Comment