Anyone has a site content search script?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Anyone has a site content search script?

    The one that searches contents to your site only and not by other sites, just like this one http://wapstack.mobi/search.php

    It does not need any mysql but flat php script all you need to do is add the directory path which the site will search.

    #2
    i just have this.. sory for bad english

    <?php $searchString = \"anyfolder\"; // folder who search.. KUKI NGD... $path = \"path_to_files/*.htm\"; // // do not change anything below this line $searchString = \"#\".$searchString.\"#\"; $globarray = glob($path); if ($globarray) foreach ($globarray as $filename) { $source = file_get_contents($filename); if (preg_match($searchString,$source)) echo \"$filename <br>\"; $count++; } echo \"Done - processed $count files\"; ?>
    http://www.youtube.com/watch?v=vsLkpcFKbOk

    Comment


      #3
      Hey thanks but, I already hired someone to code it for me and it's already finished. But your effort wasn't wasted anyways this might be a good help to anyone.

      Comment


        #4
        here is the script you want

        Script to search Within the site
        Attached Files

        Comment


          #5
          thanks for that i will try this

          Comment


            #6
            u are forgot to add set.php file in rar arhive
            http://www.youtube.com/watch?v=vsLkpcFKbOk

            Comment


              #7
              set.php missing please add it

              Comment


                #8
                search.php is returing nothing even by changing permisions of download dir to 777... and moreover set.php is missing..

                Comment

                Working...
                X