problem with file access

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

problem with file access

Postby gemini1325 » Fri Sep 27, 2002 3:15 am

i seem to have a problem accessing the files on my server. currently this is how i do it:

Code: Select all

$qwert = fopen("logo.txt","r+");


$linia = fgets($qwert);
$linia = chop($linia);
echo "$linia";
echo "\n";


the strange thing is that this worked perfectly on my apache + php 4.2.3 and on the server. when i switched to lycos this stopped working.
BTW: the phpbb board seems to work on lycos' acount


Postby Jay » Fri Sep 27, 2002 12:50 pm

Check the file permissions on the file on your server

Return to “PHP coding => General”

Who is online

Users browsing this forum: Bing [Bot] and 9 guests