extract all the word into php file