View Single Post
Old 05-03-2009, 09:31 PM  
qwe
Confirmed User
 
Join Date: Jul 2003
Posts: 2,109
Quote:
Originally Posted by ProG View Post
PHP Code:
<?php
if ( ( $file file"file.txt" ) ) !== false )
{
    foreach( 
$file as $line )
    {
        
$words explode" "trim$line ) );
        foreach( 
$words as $word )
        {
            if ( 
strlen$word ) > )
            {
                echo 
$word "\n";
            }
        }
    }
}
?>
thanks, is there anyway I can run it in windows ? sorry for stupid questions
qwe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote