Hi is there a way to code up a php code to search for all the HTML files? I mean the contents not the <tag>
Printable View
Hi is there a way to code up a php code to search for all the HTML files? I mean the contents not the <tag>
uhh. you want to get all the HTML files in a directory? or, what are you searching through?
if you're looking through a directory, you can use glob(). it will store an array of all files matching a certain criteria.
otherwise, I have no idea what you mean.
If you are trying to build a search engine for your website, I strongly suggest you use a database to hold the contents of every page. This makes maintenance and searching much easier.
Yes, I think I am looking for an SEO. But I could not find any tutorials about it in terms of codes. They only have the ones that say about keyword stuff. I want the tutorials, you guys have any?