Hi everybody
My idea was to create a folder with some files per each new section created with the cms. For example...if my website is a blog...each article should be something like:
..[dir] article_id
....[file] text
....[file] image
Now, the problem is that I created the directory using the mkdir() with 0777 perms and then used the copy() for the other two files. I used dreamweaver via ftp to edit all files but when I tried to save the " [file] text " it told that there was a problem. I figured out that maybe it was about perms...
When I used the file manager I saw that each folder or file created by the php code was owned by "99"...what is this?
PS: a tried to used:
chown() ->it says "not permitted"?
chgrp() -> first function disabled
what can i do to make the same process: create the folder and copy the files but still could edit them? any suggestions?