PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 07-01-2004, 07:49 AM   #1
slipsy
Green Mole
 
Join Date: Jul 2004
Posts: 2
Multiple forms and limiting searches

Hi there diggers!,

I havent installed yet because i wanted to find the answer to the following;
Is it possible to have multiple phpdig search forms that are limited to specific directories and dynamic urls?

For example I want to be able to ONLY search /news/mediarelease.php?id=MYID
with one form and then only search
/reports/mypdfs
with a another form.

Obviously you have to installand spider the site first.I read the documentation and scanned the forums but couldnt type well enough or no one has asked this before.{unlikely}
cheers
slipsy
slipsy is offline   Reply With Quote
Old 07-01-2004, 05:19 PM   #2
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
Welcome to the forum. slipsy.

Why not just use a drop-down box for the directory choice? To get a sense of how to do that, I'd suggest further reading here and here.
vinyl-junkie is offline   Reply With Quote
Old 07-06-2004, 05:04 AM   #3
slipsy
Green Mole
 
Join Date: Jul 2004
Posts: 2
Thanks for the welcome!

Have it installed and will be replacing cgi search script soon.

However, I still have some questions not answered by the very helpful links you posted.

I have understood creating a custom form to search only specific directories and sites by passing hidden vars to phpdig.

But what happens is that when you go to search again, you are searching site wide.
What i want to do is use php dig to provide directory specific searching that shows results with a search form that will still use the specific directory criteria I supply.

Does this make sense?

slipsy
slipsy is offline   Reply With Quote
Old 07-06-2004, 05:35 AM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
http://www.phpdig.net/showthread.php?s=&threadid=580 (just mod to fit what you want) or check out 1.8.1 alpha (link from home page by dancing chicken thing)
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Reply

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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Separating search forms kfedde Coding & Tutorials 1 06-14-2007 10:46 PM
How to filter your searches yveslebeau How-to Forum 1 05-22-2006 11:01 PM
Limiting Search Areas rgraves How-to Forum 0 01-03-2006 05:36 AM
Totally Limiting Searches to a Particular Filetype elroy How-to Forum 4 11-18-2005 04:59 AM
Limiting the search to certain hosts lighthouse Mod Requests 1 03-11-2004 02:30 PM


All times are GMT -8. The time now is 04:56 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.