problem with file access

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

problem with file access

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

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

Code: Select all

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

while(!feof($qwert))
{

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


fclose($qwert);

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

Jay

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 2 guests