Results 1 to 4 of 4

Thread: php search

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,170

    php search

    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>

  2. #2
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: php search

    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.

  3. #3
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: php search

    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.

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,170

    Re: php search

    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width