![]() |
|
|||||||
| Notices |
| Search Engines Search Engines Forum & SEO Forum |
![]() |
|
|
LinkBack (1) | Thread Tools | Display Modes |
|
||||
|
Just written a PHP search engine script for use by developers so that they can put a keyword based search engine on their sites.
I've posted it as a tutorial on the GDF blog. Hope you like it :)
__________________
Standards Compliant Web Consulting and Development | Labs - Free Snippets and Codes | CSS Wizardry |
|
||||
|
Another useful function for you is str_replace.
You can use it to remove whitespace (you'll need to do that), carriage returns and new line characters ('\n' and '\r')
__________________
Subtlety is my middle name... and first and last in case you didn't get the point. |
|
||||
|
Ahem, wow. I've only just started to scratch the surface of PHP and was just trying to put some use to the switch function. I'll take a look at that though. Thanks.
__________________
Standards Compliant Web Consulting and Development | Labs - Free Snippets and Codes | CSS Wizardry |
|
||||
|
Well it's just something to try if you feel like it.
The most difficult part for alot of people is coming up with the how (which i've just done for you), not the actualy coding itself. Just refine that layout a bit and try it out when you have the time. You could get it completed in a night. If you wanted to save server memory and processor power, you could run this script yourself every time your page is updated and have it output the keywords to a new file. Then when a search is called, that file is loaded into an array etc etc etc In fact, i might make this myself if i have time :P
__________________
Subtlety is my middle name... and first and last in case you didn't get the point. Last edited by LeadMagnet; 01-10-2007 at 11:42 PM. |
|
||||
|
Ok cool. I'll do a bit of reading and see what's what. Thanks!
__________________
Standards Compliant Web Consulting and Development | Labs - Free Snippets and Codes | CSS Wizardry |
![]() |
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Search Engine Optimisation - my site | vivabensmith | Search Engines | 9 | 06-04-2008 05:39 PM |
| search engine friendliness | flick | Flash Forum | 3 | 30-01-2008 05:23 AM |
| Icon Search Engine | Mack | General Web Design Forum | 3 | 10-12-2007 10:20 AM |
| Filestube - Media Search Engine | Toon | Search Engines | 1 | 28-08-2007 01:08 PM |
| PHP Search Script | Nuttycoder | Graphic Design Tutorials | 4 | 09-04-2007 03:53 PM |
| All times are GMT. The time now is 05:22 AM. |