Results 1 to 9 of 9
  1. #1
    Newbie Affiliate Ian's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,540
    I was wondering if anyone can help me out with a web site search function (searching pages within my own webstie). I am running a cgi version and do not have the skills to customize the results page to look like the rest of my site. Perhaps PHP has an alternate solution. Can anyone share a search script where a beginner PHP person can install?

    Ian Lee, M.Sc.

    Internet Marketing Strategist / Affiliate Manager
    EYI, Inc.
    ilee_NO_SPAM@eyi.us
    http://www.eyiproducts.com/affiliate.html
    604-596-9766

    Personal Sites: ADS-Links.com | HealthCastle.com

  2. #2
    ABW Ambassador sjangro's Avatar
    Join Date
    January 18th, 2005
    Location
    Boston
    Posts
    1,529
    Ian,

    There's no canned search engine, per se, provided by PHP, but you could write a search function depending on what you were searching IN. (text files, database etc.)

    How is your site designed? Is it database driven? What database, mySql?

    --
    scott@befree.com
    AOL/Yahoo: sjangro

  3. #3
    Just Lurking
    Join Date
    January 18th, 2005
    Posts
    1,263
    Hi Ian,

    First place to start looking for scripts is: www.hotscripts.com

    I've been looking through them but really can't recommend any because I haven't put them to the test.

    I'm actually in the middle of working on one of my own. Rewritting it right now to allow keyword analysis. But it's not standalone it's part of content management system.

    There's not a lot of useful info out there on writting your own search engine. But it's not difficult.

    Here are a couple of useful articles:

    Biulding a Simple Search Engine with PHP

    Slapping together a search engine for your database is easy with PHP and MySQL.

    A Simple Web Search Engine

    ------------------------------
    "A man is but the product of his thoughts. What he thinks, he becomes." -- Mahatma Gandhi

  4. #4
    Newbie Affiliate Ian's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,540
    Scott: It is not a databse driven site. No way I can even make this happen hahaha. Newbie PHP. I was looking for a search function for my .html pages on my domain. Wanted to give users a search function to help them locate relevant information.

    Buddha: Thanks for the encourgament and urls. I did a quick read of it and it looks intimidating to me. I will just have to try it and see what happens. btw, I won't know how to create a table using PHP, I use MySQLFront.

    Thanks for the replies to a newbie in PHP.

    Ian Lee, M.Sc.

    Internet Marketing Strategist / Affiliate Manager
    EYI, Inc.
    ilee_NO_SPAM@eyi.us
    http://www.eyiproducts.com/affiliate.html
    604-596-9766

    Personal Sites: ADS-Links.com | HealthCastle.com

  5. #5
    ABW Ambassador CrazyGuy's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,463
    Ian

    I've in the past used csSearch Pro from:

    http://www.cgiscript.net/

    It's cgi, but has a full admin front end so you shouldn't have to get involved with the scripting as such. Basically it indexes your html pages for you so you can provide search to visitors (you can include/exclude folders and files as desired).

    I think you just have to put a single tag into a page, so if you know your way around your own site html, you should be able to make your search results look like th erest of the site.


    --------------
    Are you Crazy?

  6. #6
    Member
    Join Date
    January 18th, 2005
    Posts
    58
    Hello all,

    I have a database driven site, and I was wondering if there were any scripts that you recommend I try to query just my database? Something fast because the database is huge.

    If you feel like you're in control you're not going fast enough - Mario Andretti

  7. #7
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    sTrl
    Posts
    1,372
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by AcuraImport:
    Something fast because the database is huge.
    <HR></BLOCKQUOTE>
    I'd be looking at creating word, index and search tables.
    each unique word is added to the word table & given a unique id#. then take that unique word id# and xref it with each row in your database.

    It is quite common that the search word and index tables will be more than the size of your current database.. But it's quick if done correctly.

  8. #8
    Member
    Join Date
    January 18th, 2005
    Posts
    58
    Thanks pete

    If you feel like you're in control you're not going fast enough - Mario Andretti

  9. #9
    Newbie Affiliate Ian's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,540
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by CrazyGuy™:
    Ian

    I've in the past used csSearch Pro from:

    http://www.cgiscript.net/

    It's cgi, but has a full admin front end so you shouldn't have to get involved with the scripting as such.<HR></BLOCKQUOTE>
    Hey Crazy, it's not the first time you have come through for me. I already run a simple cgi search and from your description, this one looks like it's similar enough that even I can install it and I just might be able to get it to look like the rest of my site.

    Thanks buddy! I will check it out tonight when I get home!

    Ian Lee, M.Sc.

    Internet Marketing Strategist / Affiliate Manager
    EYI, Inc.
    ilee_NO_SPAM@eyi.us
    http://www.eyiproducts.com/affiliate.html
    604-596-9766

    Personal Sites: ADS-Links.com | HealthCastle.com

  10. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Search Function
    By AdamlCasey in forum PopShops
    Replies: 7
    Last Post: January 19th, 2010, 10:40 AM
  2. PHP Function
    By Doug247 in forum Programming / Datafeeds / Tools
    Replies: 31
    Last Post: May 23rd, 2008, 03:53 AM
  3. Can't send email via php mail function
    By oscar in forum Programming / Datafeeds / Tools
    Replies: 9
    Last Post: August 20th, 2004, 11:25 PM
  4. Search Function Deactivated?
    By Nordie in forum Midnight Cafe'
    Replies: 2
    Last Post: March 17th, 2004, 03:37 AM
  5. The #@!%&* Search Function
    By Cedric in forum Rakuten LinkShare - LS
    Replies: 5
    Last Post: September 17th, 2002, 03:27 PM

Posting Permissions

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