KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need a PHP script which takes a URL of a web page and then echoes how many times a word is mentioned. Example This is a generic HTML page: <html> <body> <h1> This is the title </h1> <p> some description text here, <b>this</b> is a word. </p> </body> </html> This will be the PHP script: <?php htmlurl="generichtml.com"; the script here echo(result); ?> So the output will be a table like this: WORDS Mentions This 2 is 2 the 1 title 1 some 1 description 1 text 1 a 1 word 1 This is something like the search bots do when they are surfing the web, so, any idea of how to begin, or even better, do you have a PHP script which already does this?
Tags (comma-separated)
Save Edits
Cancel