When the script is in the root
Code: Select all
$fh=fopen("../.htpasswd",w);When the script is in the next directory down
Code: Select all
$fh=fopen("../../.htpasswd",w);Any idea why???
Moderator: General Moderators
Code: Select all
$fh=fopen("../.htpasswd",w);Code: Select all
$fh=fopen("../../.htpasswd",w);