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

problem with file access

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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
gemini1325
New php-forum User
New php-forum User
 
Posts: 4
Joined: Fri Aug 09, 2002 5:38 am

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

Check the file permissions on the file on your server
Jay
 


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.