/    Sign up×
Community /Pin to ProfileBookmark

Permission problem

Hi every body
sorry for bothering you all .but this is an important issue to me .i have a problem with my image upload script .actually I already read almost every thing in this forum about image upload and i know you may abhore the whole matter about images .. but i wrote a script and it is working perfect on my localhost..and when i upload the files to the server i have a permission problem . i tried to chmod the directory to 0777 and to 6444 but it is not working .. i donot want you to bother yourself by writing or correcting code for me .but i just need a good resource to teach me every single detail about file and directory permissions with examples .. so please any one has any idea about this ,send me a link or a book or somehting .
thanx ?

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@geomirMar 05.2006 — Please bother us, that's what we are here for :p

Put [code=php]error_reporting(E_ALL); [/code] before the rest of your code in order php to report all errors/warnings

Also please include
[code=php]
echo getcwd();
[/code]

in your PHP script which will show you exactly where PHP thinks you are at that point. 'cwd' stands for 'current working directory'.
Copy linkTweet thisAlerts:
@m_sahalyauthorMar 05.2006 — thanx for your help .. will do it then will let you know ..
×

Success!

Help @m_sahaly 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 6.17,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...