Computing.Net > Forums > Web Development > PHP Search text box

PHP Search text box

Reply to Message Icon

Original Message
Name: Ledzeplinboy0314
Date: April 30, 2005 at 16:30:51 Pacific
Subject: PHP Search text box
OS: windows
CPU/Ram: 512
Comment:

Hey!
I havent posted in a while, so have a heart..
Ok, I need help with a search text box form on my site.
Basically, i made the search box, but how do i get the dang thing to just search my site!!! and then list the results in a seperate page?
Let me know if any one knows how, or if they can point me in the right direction!
Thanks alot,
-Led Zep


Report Offensive Message For Removal


Response Number 1
Name: SN
Date: April 30, 2005 at 21:27:06 Pacific
Subject: PHP Search text box
Reply: (edit)

Is this hosted on a machine you have control over? I think IIS has this feature built in, although I've never used it myself.

Personally, I just tack on site:mysite.com to the query string and send it to google...You could use the google API if you wanted to get fancy. See how mine works at Sharing Down Syndrome Arizona's homepage. The code is in javascript, so you should be able to see it in the source.

-SN


Report Offensive Follow Up For Removal

Response Number 2
Name: fambi
Date: April 30, 2005 at 23:57:07 Pacific
Subject: PHP Search text box
Reply: (edit)

The easiest solution is the Google way.

Visit tm4b.com if you would like to send sms or bulk sms.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: PHP Search text box

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 3 Days.
Discuss in The Lounge