hrmm , it should work just fine. if you've copied and pasted the form code it gives you, and placed it were you want it, and Not edited the receiving template it should work fine also, wat is the error you get when you try to use it?

+P 6145153533+eMail nikk.spiert[@]gmail.com+AIM IAEtheral

Stop hovering to collapse...Click to collapse...Hover to expand...Click to expand...

I don't get an error; I just don't get results for pages with a php extension. Nearly all my pages have a php extension, so the search does not work for searching nearly my entire site. When I say "does not work" I mean that I don't get results; I don't get an error either. I know that the problem is the file extension, since I have a couple of pages with a HTML extension, and the search finds text from them.

Hopefully your host company will tell you that it's a bad idea. Entropysearch just dumps the raw text from the files it indexes minus the HTML tags. With a php file it will dump the source code including any passwords you might have in it.

Actually I have not heard anything from them. He usually is helpful and responsive but I have not heard from him about this.

Thank you for explaining. It is unfortunate that Entropy Search processes php files in that manner. The search is still not working. In this situation, it would not be a problem if the entire php file is indexed, since I am actually using very little php. Since it would however be a problem if I were to add php code, entropy search is not useful. So I need to find a search that is useful with php files in a Linux/Apache environment.

It could be made better to some extent by changing the makeindex perl script to strip out code inside php tags as well. I raised a ticket suggesting that change for cpanel - ticket 72430. Perhaps a perl hacker might want to change that - my perl isn't that hot.

A better solution possibly would be htdig in the long run working with virtual hosts. You can install it as an rpm but you need to change the /etc/htdig.conf file manually.

Ignoring the php code would help in many situations but php code often generates portions of the HTML. In those situations, ignoring the php code can be a problem, correct? If so, then I can understand why it would not be a good general solution.

Yes, that would be the problem with it. Any php that used echo, print otherwise generated the html wouldn't get indexed, but, if you're just using it as a server side scripting language to insert little snippets of code in an otherwise normal html page it should do ok.

If you're using almost entirely php then more than likely you've got a database there too and search would be best done from the database.