mooeypoo Posted March 23, 2009 Posted March 23, 2009 Hi, I'm trying to copy a full folder from one location to another. I've tried using the function described in the top comment of http://us.php.net/copy but i keep getting permission error. I tried creating the destination folder in advance - still no permissions. I tried giving the destination folder permission 777 , and still no permissions. I've verified that the php files of the script are executable, but still not working. Advice, anyone? Scripts do taht all the time, specifically in CMS system installations - where an upload creates a new folder. What do i doooo?
Klaynos Posted March 23, 2009 Posted March 23, 2009 What's the permission of the existing folder and files?
mooeypoo Posted March 24, 2009 Author Posted March 24, 2009 Actually, I found my problem -- it was a particularly nastily hidden variable I just misspelled. Took me a while to figure it out. Now it's working but it's still showing "permissions error" -- and yet, it's just a "notice" and it works.. I'll run it again and post the notices, but it seems to be working now, so.. I guess i'm good.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now