PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

How do I add the final search to my site?

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

  • How do I add the final search to my site?

    Hey guys, I just purchased this software, and I indexed my offline site. It created a Search.php, settings.php, search_template.html, and a bunch of .zdat files. How do I put this into my website now? I use dreamweaver 8 if that helps. Thanks.

  • #2
    There is built in FTP software in Zoom. Under the tools menu.

    Or you can use 3rd party FTP software. But if you use 3rd party software make sure you upload the ALL the files and use in FTP BINARY mode and not ASCII mode.

    DW8 also uses FTP for uploading files. I think DW8 is smart enough to get the mode right. So you could probably just use DW8 to do the trasfer.

    -----
    David

    Comment


    • #3
      Originally posted by Wrensoft
      There is built in FTP software in Zoom. Under the tools menu.

      Or you can use 3rd party FTP software. But if you use 3rd party software make sure you upload the ALL the files and use in FTP BINARY mode and not ASCII mode.

      DW8 also uses FTP for uploading files. I think DW8 is smart enough to get the mode right. So you could probably just use DW* to do the trasfer.

      -----
      David
      Thanks for your input. But maybe I should clarify. I know how to upload and everything. But where can I test out the actuall searching? I used this code I found on this site:

      Code:
      <form method="get" action="search.php">
          <input type="text" name="zoom_query" size="20" />
          <input type="submit" value="Search" />
          [size="1"] Results per page&#58; 
          <select name='zoom_per_page'>
              <option selected="selected">10</option>
              <option >20</option>
              <option >100</option>
          </select>
      
      Match&#58; 
          <input type="radio" name="zoom_and" value="0" checked="checked" />any search words 
          <input type="radio" name="zoom_and" value="1" />all search words [/size]     
      </form>
      But when I create a PHP search, and when I test it out. When I hit submit, it prompts me if I want to save the search.php or open it up. Why does it do that?

      Comment


      • #4
        Never mind! I got it! I thought I would be able to test the php file on my computer. But I just realized that I can't test it offline. Thanks for your help. I have another question, sorry! But what is the difference between a PHP search, and a JavaScript search? Which one do you recommend?

        Comment


        • #5
          JavaScript is a client side scripting language. See,
          http://en.wikipedia.org/wiki/Client-side_JavaScript
          http://en.wikipedia.org/wiki/Javascript

          PHP is a sever side scripting language.
          http://en.wikipedia.org/wiki/Php

          In general PHP is a faster more powerful solution, see,
          http://www.wrensoft.com/zoom/benchmarks.html
          But you need PHP support on your server. This is why (as you have discovered) you can't run it on your local PC.

          For the ulimate in performance you would go for the CGI however (which is not a script, it is a pre-compiled executable).

          ----
          David

          Comment


          • #6
            Thank you very much for the quick reply! This software is great, and worth every single penny. Thank you again.

            Comment


            • #7
              For more information, we have a FAQ page here on what PHP, ASP, Javascript and CGI are, and how to decide which scripting platform to use:
              http://www.wrensoft.com/zoom/support/platforms.html
              --Ray
              Wrensoft Web Software
              Sydney, Australia
              Zoom Search Engine

              Comment

              Working...
              X