php searching

This is a discussion on "php searching" within the PHP Forum section. This forum, and the thread "php searching are both part of the Program Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Jul 19th, 2006, 12:40
New Member
Join Date: Jun 2006
Location: middlesbrough
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
php searching

does anyone know of any good tutorials to help setting up a search tool on a website, to search only within the website also

cheers

Corinne
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jul 19th, 2006, 21:47
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: php searching

What kind of searching are you talking about?

- Database searching.

- Full text searching of a given web page.

- Full text searching of the entire site.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jul 20th, 2006, 08:00
New Member
Join Date: Jun 2006
Location: middlesbrough
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: php searching

Well basically i want two separate searches, one for the content so i think a text search for the website might be the best way to do that ?

and i also want a document search because we hold olot of documents so im thinking maybe some sort of database for that ?

I think im on the right track
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jul 20th, 2006, 11:30
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: php searching

I'm not exactly clear about something.

You say a database might be a good idea as you have lots of documents. What sort of documents, html, pdf, what?
Do you want to find it/them based on its content or by some other means such as document name?

Then you also indicate you wnat a seperate search facility that just searches a given page. Is that right and is that the page being viewed at that time?

There are a number of pluin solutions around but you need to have a clear idea of what it is you are trying to do.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Jul 20th, 2006, 12:15
masonbarge's Avatar
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Re: php searching

I dont see how you could get a tutorial just in searching. You either need to learn a scripting language (PHP would be best) and a database language (some brand of SQL most likely) or else get a canned package.

Searching for database documents and text terms is not hard as far as the database goes - you could learn it in a day or two -- but the interface for the web is a little harder.

Luckily you can probably find a canned PHP and/or ASP script for both of these although there are big limits on maintenance, debugging, and customization with that approach. With the database, you are going to have to learn it, but basic SQL is really quite easy and there is a great GUI interface for MySQL called php MyAdmin, which makes it very intuitive.

For the document search, you might be able to do a menu instead.

Another choice is to use Google search, which will involve allowing people to search outside your site, but also has a button to restrict the search inside your site.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Jul 21st, 2006, 09:48
New Member
Join Date: Jun 2006
Location: middlesbrough
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: php searching

Hello

the first search - Basically we have a reports section on the website - i would like our users to be able to search only for the reports rather than the whole site, the reports are .docs or .pdf's . I would like the users to be able to search by maybe key word (to be honest im open to sujestions on the best way to do this)

the second search - Would allow the users to search th ewhole site ( content of the site ) - not just the page they are in

when i said tutorial i just ment something which might aid me in setting it up.

thanks for your help so far

corinne
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Jul 23rd, 2006, 21:44
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: php searching

Google this: +website +search +software +free

Have a look at what's available and see what you can work with.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
php, searching

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with array searching womble JavaScript Forum 2 Nov 25th, 2007 01:31
Searching Blog alexgeek PHP Forum 2 Oct 27th, 2007 22:31
Searching my site simonb Scripts and Online Services 1 Feb 10th, 2007 08:55
searching help corinne Web Page Design 5 Jun 15th, 2006 11:00
Film Student Searching for help chinoxl Job Opportunities 4 Dec 20th, 2005 17:15


All times are GMT. The time now is 15:59.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42