Hello, I am trying to open my first text file using PHP and my PC almost freezed... please don't laught. Here's my script:
function welcometext() { $fp = fopen("../files/welcome.txt", "a+"); while (!feof($fp, 100)) { $text = fgets($fp, 100); echo $text; } fclose($fp); } What can be wrong? Thanks in advanced, Cesar Aracena -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php