Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
andreybs11 is on a distinguished road
 
Posts: 1
Join Date: Dec 2008
Lightbulb Problem with the copy() - 12-02-2008, 04:14 AM

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?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
vBulletin Skin developed by: vBStyles.com