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

file problems

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

file problems

Postby gemini1325 » Mon Aug 12, 2002 12:39 am

i have a little problem with files on a linux system. i built a page with windows and i linked files this way
Code: Select all
$aaa = fopen("data/about.txt","r");
under my host which is it doesn't work, but on windows it does. anyone know why?

best regards,
New php-forum User
New php-forum User
Posts: 4
Joined: Fri Aug 09, 2002 5:38 am

Postby Jay » Mon Aug 12, 2002 2:21 am

Try CHMOD 755 on that file, and if that doesn't work, 777! I suspect it's to do with the file permissions.

Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 2 guests

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