Quote:
Originally Posted by ProG
PHP Code:
<?php
if ( ( $file = file( "file.txt" ) ) !== false )
{
foreach( $file as $line )
{
$words = explode( " ", trim( $line ) );
foreach( $words as $word )
{
if ( strlen( $word ) > 3 )
{
echo $word . "\n";
}
}
}
}
?>
|
thanks, is there anyway I can run it in windows ? sorry for stupid questions
