Posts tagged Need
I NEED YOUR HELP TO BUILD A SEARCH ENGINE USING PHP MYSQL?
Mar 30th

i want to know how should the engine search the internet
for example can i use DNS so the engine can search it ????
Read More >>
I WANT TO BE ABLE TO CREATE A SEARCH ENGINE WEBSITE FOR EXAMPLE LIKE GOOGLE, WHAT IS IT THAT I NEED TO STUDY?
Mar 30th
What major Do I need to take to accomplish this goal. I know there is Personal Engineering and there is also Web Design and Development. What is that you recommend. Sorry I cant be so expecific in the details because I can’t state , all I can state is a search engine website.
Read More >>
WHAT PROGRAMMERS I NEED FOR STARTING MY OWN SEARCH ENGINE WEBSITE?
Mar 22nd
I want to begin search engine website. What programmers I need for that?
Read More >>
I NEED HELP WITH THIS PHP SCRIPT FOR MY SEARCH ENGINE. PLEASE!?
Mar 2nd
Okay. So in my search engine, for each array, there is a link to the page, where the page is located, and a description (a section from the body of the page) of the page.
By the way, I did not just make a bunch of keywords and titles and links and descriptions. I have over 3000 files on my website. I would not make keywords and titles and links and descriptions for each single one. It actually searches and sees if the keyword is in the body of any of the files on my website. If it has the keyword in it, it displays that page in the search results.
I have made a string called ‘$keyword’ which is the word that the user searches for. Well actually, the keyword they insert into the form is called ‘$keywordin’ and the actual word is called ‘$keyword’ but that is only so I can tell the difference between the two. And it also makes sure there is not two descriptions showing up. But I did state that $keywordin=$keyword; so they are the same thing.
That’s the same thing with ‘$desc’ and ‘$rdesc’. They are just different versions of the same thing. But they both have their own reason for being there. So just go along with me.
But anyway, in each description (which I have named $desc), I have told it that if it finds the inserted keyword anywhere in the description, to highlight the word. That works fine. But the problem is it capitalization-sensitive. So, I need help with this script I made to make it not capitalization-sensitive. Here is the script I am trying to use to do this:
//if the first letter of the inserted keyword isnt capitalized, make sure to
//highlight any $keywords in the $desc that do have their first letter capitalized
//along with the ones that dont
if(ucwords($keywordin) != true){
$uppercase = ucwords($keyword);
$replacek = “$uppercase”;
$replacementk = “$uppercase“;
$stringk = “$rdesc”;
$rdesc = ereg_replace($replacek, $replacementk, $stringk);
}
if(ucwords($keywordin) == true) {
strtolower($keywordin);
$lowercase = strtolower($keyword);
$replacek = “$lowercase”;
$replacementk = “$lowercase“;
$stringk = “$desc”;
$rdesc .= ereg_replace($replacek, $replacementk, $stringk);
}
The first part of the script works (the part that says: if(ucwords($keywordin) != true){ blah blah blah). If they insert a keyword that has a lowercase first letter, then it will highlight the keywords that have capitalized first letters along with those that have lowercase first letters..
But if they insert a keyword with a capitalized first letter, it only highlights the keywords with capitalized first letters. It doesn’t capitalize the keywords with lowercase first letters. But the second part of the script (if(ucwords($keywordin) == true) { blah blah blah) is supposed to make sure that it capitalizes all of them.
Can someone please help me?
NEED SCRIPT FOR SEARCH ENGINE?
Mar 2nd
I want to add a search engine to my website. Do not ask to try any external service.
please Provide Script for a search engine
NEED A MOVIE SEARCH ENGINE SCRIPT FOR A WEBSITE?
Feb 25th
I need a motion picture search box script for a website does anyone know of one? Or a program that I can purchase maybe?