This is a noob PHP writing to system question. Are there restrictions to php’s copy() function writing within a password protected directory?
I’m trying to write the generated html content from a template page. I’m getting:
“401 Unauthorized
The requested page requires authentication”
File permissions for the template file, destination (to be replaced file) and the generating file are all 755. The .htaccess password was alread entered when the siteadmin directory was accessed to run the generation scriptie.
Is there a simple answer?
Chris