iNET Interactive - Online Advertising Agency
          
   Home    Authors    About    Login    Contact Us
   Search:   
Advanced Search     
  Articles

  ASP (26)
  ASP.NET (19)
  C and C++ (4)
  CFML (2)
  CGI and Perl (16)
  Flash (2)
  Java (7)
  JavaScript (28)
  PHP (92)
  MySQL (13)
  MSSQL (3)
  HTML (34)
  SEO (9)
  Visual Basic (12)
  CSS (13)
  SSI (5)
  XML (12)
  C# (14)

  Developer News

Courtesy of moreover.com
 
Want to receive new articles via e-mail? Click here!
Comments for PHP/MySQL Search Engine script

make code more simple and clean
by Martin Sarsini on 3/18/08 07:21 AM   Message # 8240
a good base to start a search in php and mysql database but....

//store record id of every item that contains the keyword in the array we need to do this to avoid display of duplicate search result.
....
$adid_array[] = $row[ 'fieldid' ];

Why not just perform the query with a "GROUP BY fieldid" so then you don't need to store everything in an array and check for repeated results...
[ Reply to This ] Report inappropriate comment
Lookout
by MR.READER on 1/07/08 07:25 PM   Message # 8236
It's completely unsafe script. For sure it's XSS and SQL Injection vulnerable.
[ Reply to This ] Report inappropriate comment
...what about sql injections is this script secure ?? [fixed]
by Jonothan Samsung on 10/03/07 04:05 PM   Message # 8225
i did a small mistake before :Ppp

..i wanted to say "this script" and not "this web site" :P
[ Reply to This ] Report inappropriate comment
...what about sql injections is this script secure ??
by Jonothan Samsung on 10/03/07 04:02 PM   Message # 8224
Is this web site secure enought from SQL injections, since is executing queries with OR AND etc ..???
[ Reply to This ] Report inappropriate comment
Bill
by Bill on 6/03/07 08:29 AM   Message # 8201
Nice site. Thanks:
<a href="http://www.volny.cz/clenbuterol">clenbuterol</a> <a href="http://www.volny.cz/winstrol">winstrol</a>
[ Reply to This ] Report inappropriate comment
Multi Keyword PHP MySQL Search Engine Script
by Jerry Collins on 1/24/07 08:43 PM   Message # 8174
Hey there,
Great tutorial article, however, your script seems to be rigid in searching only single search keywords.
There's a script I found at:
http://www.addedworth.com/welcome/MySearchParser.php
that allows AND, OR, NOT and Phrase Searches with search term highlighting too.
I think that's a much better way of performing a database search.
[ Reply to This ] Report inappropriate comment
temple
by Anand Kumar on 1/02/07 10:56 PM   Message # 8166
Official Website of Shri Srinivasa Ragavaswamy charitable Trust in South India working towards constructing a temple for Sri Srinivasa Perumal (balaji) with Raja Gopuram which is named as Kovai Thiruppathy.
[ Reply to This ] Report inappropriate comment
Piano Teacher
by Brand Name Perfume on 4/06/06 06:26 PM   Message # 8125
http://pianisto.sbn.bz/piano-instrument.html
http://pianisto.sbn.bz/electric-piano.html
http://gunskiy.netfirms.com/classical-piano.html
http://milkus.kazan.bz/milk-product.html
http://milkus.kazan.bz/goat-milk-soap.html
http://www.geocities.com/road2006map/caribbean-map.html
http://www.geocities.com/road2006map/map-driving-direction.html
http://www.geocities.com/road2006map/map-of-south-america.html
http://www.geocities.com/road2006map/satellite-map.html
http://www.geocities.com/road2006map/middle-east-map.html
http://women2007.sbn.bz/brand-name-perfume.html
http://women2007.sbn.bz/britney-perfume-spear.html
http://women2007.sbn.bz/designer-discount-perfume.html
http://www.geocities.com/perfumana/index.html
http://www.geocities.com/perfumana/cheap-perfume.html
http://www.geocities.com/perfumana/fragrance-perfume.html
http://www.geocities.com/perfumana/free-perfume-sample.html
http://www.geocities.com/perfumana/perfume-society.html
[ Reply to This ] Report inappropriate comment
Danger of ativan
by Ativan on 4/01/06 02:29 PM   Message # 8124
http://www.geocities.com/ambienus/index.html
http://www.geocities.com/ambienus/order-ambien.html *
http://bromberg2006.narod.ru/index.html *
http://bromberg2006.narod.ru/danger-of-ativan.html *
http://alaska2006.sbn.bz/index.html *
http://alaska2006.sbn.bz/generic-ativan.html
[ Reply to This ] Report inappropriate comment
http://geonet.netfirms.com/index.html
by Johnny Milk on 4/01/06 02:27 PM   Message # 8123
http://stroncer.netfirms.com/index.html Milk
http://stroncer.netfirms.com/breast-milk.html
http://stroncer.netfirms.com/milk-thistle.html
http://stroncer.netfirms.com/muscle-milk.html
http://stroncer.netfirms.com/got-milk.html
http://stroncer.netfirms.com/milk-shake.html
http://www.geocities.com/gottymilk/index.html Neutral Milk Hotel
http://www.geocities.com/gottymilk/tit-milk.html
http://www.geocities.com/gottymilk/chocolate-milk.html

http://www.geocities.com/gottymilk/map.html Coconut Milk
http://www.geocities.com/gottymilk/silk-soy-milk.html
http://www.geocities.com/gottymilk/boob-milk.html
http://www.geocities.com/gottymilk/milk-bottle.html
http://www.geocities.com/gottymilk/baby-milk.html
http://www.geocities.com/gottymilk/milk-cow.html
http://milkus.kazan.bz/index.html Milk of Magnesia
http://milkus.kazan.bz/milk-diet.html
http://milkus.kazan.bz/milk-allergy.html
[ Reply to This ] Report inappropriate comment
Pages: firstback2 forwardlast
Subscribe to Comments
Add a comment
Name*:
E-mail*:
Subject*:
Message*:
Security word*: Enter the text you see from the image
Enter the text you see from the image
 
 
  Sponsors