...

View Full Version : PHP Permissions Errors!!



Spudster
08-20-2012, 02:07 PM
Another question php is so stupid im starting to get bored with it...

Anyway i want this script to say
if the maintenance==yes then if the user is the site administrator or the page owner or page admin (page admins are installed on a seperate table by a while loop)
Then they will be echoed a maintenance notice
otherwise if they are only a user then they will be echoed with the maintenance error if the page is down.
the current codes here
http://admintalk.net/learn/pages/checkblock.txt
Please someone help edit this too frustrated to bother..
Thanks,
Spudster ;.)

Spudster
08-20-2012, 11:10 PM
I need help asap?

DrDOS
08-20-2012, 11:28 PM
This isn't really the place to post questions. But on the server, the server owns all the files. You can use php chmod to get permissions for all the users.

chmod($file,0777);

You also need to chmod the folder in question.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum