file problems

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

file problems

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

hello,
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 http://www.host.sk it doesn't work, but on windows it does. anyone know why?

best regards,
gemini

Jay

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: Bing [Bot] and 1 guest

cron