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.
Announcement
Collapse
No announcement yet.
How do I add the final search to my site?
Collapse
X
-
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
-
Originally posted by WrensoftThere 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
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: <select name='zoom_per_page'> <option selected="selected">10</option> <option >20</option> <option >100</option> </select> Match: <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>
Comment
-
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
-
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
-
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
Comment
Comment