Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General


Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

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.
User avatar
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 5 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.