I need this PHP script ASAP.
1. To extract all words from a web page [ .php or .html ]
2. Sort all words in ascending order based on their frequency of occurence in that page.
3. Add all words and their frequency in a 2 column array.
4. Save array as a text file on the server in a specific directory.