/    Sign up×
Community /Pin to ProfileBookmark

pls help in php mkdir

Hi friends, I am doing a project that works with directory in my linux server. I am using mkdir() to create directories.

Now I am having an error. In one directory I have created 43 subdirectories. Now if create more dirs, I cannot read them. I am getting read error on them. But I can delete them. any one know what the problem it is…???? ????

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@ratcatemeNov 30.2008 — check what chmod is being applied to the directory

you might need to use [url=php.net/chmod]chmod()[/url] to set it up so you can read/write files inside the directory.

Scott.
Copy linkTweet thisAlerts:
@firebladeauthorNov 30.2008 — yes, already I am using this,

This permission is applied to the folders what i have created already using the script. Now 43 folders are there. from now on, when i create folder, it is not applied.
×

Success!

Help @fireblade spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...