Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > Server Side Programming > PHP Programming
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 01-28-2003, 09:20 PM
  #1
x-statik
Adept (Level 5)
 
x-statik's Avatar
 
Join Date: Nov 2002
Location: Wichita Falls, Texas
Posts: 46
iTrader: (0)
x-statik is on a distinguished road
PHP search form

I know this is a stupid question but Im a beginner in PHP and know nothing. I need to know how to create a search form that will search a website and return the results. Can anyone give me any sample script? PLEASE?
x-statik is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 01-29-2003, 09:32 AM
  #2
scoutt
Mister Admin to you
 
scoutt's Avatar
 
Join Date: Jul 2001
Posts: 30,851
iTrader: (0)
scoutt is a jewel in the roughscoutt is a jewel in the roughscoutt is a jewel in the rough
what are you seaching? html files or stuff in a db?
__________________
Have a Script or Snippet you want to share?

WWW Standards: HTML 4.01, CSS2.1, CSS3, XHTML 1.0
PHP Standards: PHP Standards
scoutt is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 01-29-2003, 11:54 AM
  #3
x-statik
Adept (Level 5)
 
x-statik's Avatar
 
Join Date: Nov 2002
Location: Wichita Falls, Texas
Posts: 46
iTrader: (0)
x-statik is on a distinguished road
html....
x-statik is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 01-29-2003, 12:02 PM
  #4
scoutt
Mister Admin to you
 
scoutt's Avatar
 
Join Date: Jul 2001
Posts: 30,851
iTrader: (0)
scoutt is a jewel in the roughscoutt is a jewel in the roughscoutt is a jewel in the rough
that is where it will get difficult. you will have to open every single document to search it, then close it and open the next one.

your best bet is to have it in the db. a lot easier
__________________
Have a Script or Snippet you want to share?

WWW Standards: HTML 4.01, CSS2.1, CSS3, XHTML 1.0
PHP Standards: PHP Standards
scoutt is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 01-29-2003, 06:41 PM
  #5
x-statik
Adept (Level 5)
 
x-statik's Avatar
 
Join Date: Nov 2002
Location: Wichita Falls, Texas
Posts: 46
iTrader: (0)
x-statik is on a distinguished road
ok thanks. how exactly would i do that though?
type in every keyword and tell which html file it is in?
x-statik is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 01-29-2003, 06:59 PM
  #6
scoutt
Mister Admin to you
 
scoutt's Avatar
 
Join Date: Jul 2001
Posts: 30,851
iTrader: (0)
scoutt is a jewel in the roughscoutt is a jewel in the roughscoutt is a jewel in the rough
well since you are a beginner all I can tell you is to read the php manual at www.php.net

if I just gave you the code you wouldn't know what to do with it. no offense but you need to learn first. if not there are plenty of already made scripts at www.hotscripts.com . take your choice.
__________________
Have a Script or Snippet you want to share?

WWW Standards: HTML 4.01, CSS2.1, CSS3, XHTML 1.0
PHP Standards: PHP Standards
scoutt is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart



 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 05:11 AM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.