SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Zealot
    Join Date
    Jul 2002
    Location
    New Zealand
    Posts
    168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    file search engine

    Hi there,

    I am currently just working through our works online archive directory and was thinking of creating a search engine for it.

    all the files are currently located in D:\Jobs\

    and the documents reside in the parent directory or sub directory... from the Jobs folder...

    how could i create a directory search?

    obviously the results will be links...so how would i go about doing it?

    or better yet, would you know of a tutorial which explains on how to do this?

    Any help with the problem would be much appreciated.

  2. #2
    SitePoint Wizard swdev's Avatar
    Join Date
    Oct 2004
    Location
    UK
    Posts
    1,053
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try looking at the opendir, readdir and closedir functions and their associated user notes.
    That should be enought to get you what you want.

  3. #3
    Umm. PHP Guru....Naaaah jaswinder_rana's Avatar
    Join Date
    Jul 2004
    Location
    canada
    Posts
    3,193
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this page might help. it has different tutorialls related to creating search engines.
    http://www.tutorialized.com/tutorials/PHP/Searching/1


Bookmarks

Posting Permissions

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