1.
Full path to this dir: " . $dir . "
";
echo "
Full path to a .htpasswd file in this dir: " . $dir . "/.htpasswd" . "
";
?>
and get the url that you need,
2. 
2. Create a .htaccess file and place this file in the root directory. 
Write the following in the file.
php_flag  log_errors on
php_value error_log  C:\wamp\www\errors\php_error.log
This will then create a readable file in the errors folder (create this) which identifies any errors in code that would appear in a browser window. For security this should be turned OFF so as not to let any would-be hacker see a file structure to attack.
 
								 
								 
															











