diff options
-rw-r--r-- | auth/get_uid_and_mysql_pw.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/auth/get_uid_and_mysql_pw.php b/auth/get_uid_and_mysql_pw.php new file mode 100644 index 0000000..fc46f23 --- /dev/null +++ b/auth/get_uid_and_mysql_pw.php @@ -0,0 +1,7 @@ +<?php +$PHP_AUTH_USER = isset($PHP_AUTH_USER) ? $PHP_AUTH_USER : ''; +$PHP_AUTH_FILE = "/home/$PHP_AUTH_USER/webdata/php_passwd"; +$fh = fopen($PHP_AUTH_FILE, 'r'); +$PHP_AUTH_PASS = fread($fh, filesize($PHP_AUTH_FILE)); +fclose($PHP_AUTH_FILE); +?> |