Word Cont Script

I am looking for programmer to modify a very simple php script(or you can write your own). This script remove keywords if it got more than x number of words. But it can process one file at one time. I want to make it process all files in a folder and save the files in that folder.

<?php
$keywords = file('keywords.txt');
$maxWords = 3;

foreach($keywords as $keyword) {

if(str_word_count($keyword)

Leave a Reply

Your email address will not be published. Required fields are marked *