Permissions?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

User avatar
Redcircle
Moderator
Moderator
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Postby Redcircle » Sat Mar 01, 2003 1:17 pm

your script is fine it's the test.file that does not have the correct permissions. You are opening test.file to write to it. So test.file needs write permissions on it. if the file does not exist yet you will need to create it and change the permissions of the output file to 777. another thing you can do is chown the directory to use the webserver user. usually nobody.

Let me know if you don't understand

User avatar
WiZARD
Moderator
Moderator
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: Permissions?

Postby WiZARD » Sun Mar 02, 2003 12:33 am

Hi Etic!
permission 644 for root.....
for all different users 777 but some hakers may use this.


Return to “PHP coding => General”

Who is online

Users browsing this forum: Google [Bot] and 3 guests