chrometweaks.org

What do you think of "Just Host" iPage web hosters?

Click Here To View All Answers...


My first question is What do you think of "Just Host" iPage web hosters? Many thanks for any comment. Another question on my mind: Any suggestions on a good PHP-based search utility?.

I'd like to be able to search through all my OSc files for a given string..

If not PHP-based, then what other search utilities are you guys using?.

Many of you probably use something like this, but I couldn't find any threads on it..

Thanks!.

John..

Comments (98)

Hmm... I need to find out myself. I don't know what is the answer. I'll do some research and get back to you if I discover an useful answer. You should email the people at iPage as they probably can answer it..

Comment #1

Nope; I'd like to be able to search all the OSC files, through multiple directories for a string. For example, search and find out which files contain "HEADING_TITLE". This need seems to come up a lot when you're tweaking OSC..

Best case, I envsion a PHP file I install on my server in the admin area. Then I can access it from any web browser to search through all my directories and find the files I'm looking for...

Comment #2

I acutally have a copy locally on the pc I'm working on as well as up on my webserver. Then I just use the default windows search tool...

Comment #3

Same here. Coding can get complicated enough. Best to keep simple tasks simple...

Comment #4

Thanks for the confirmation- I had a feeling a lot of people were editing locally. But I have someone else doing most the web work and he has it locally on his PC. I don't want to be in a file-overwriting competition with him..

I did a lot more digging and eventually I found something that's exactly what I was looking for here:.

Http://corz.org/corzoogle/index.php.

It's called corzoogle (and it's free). It's just 1 php file that you add ( I added it under admin folder so it's automatically password protected)..

Once it's "installed", you just direct your web browser to it and it brings up a search page that looks like Google, only it will actually search the content of all your php and other files..

A couple things I had to change to make it work well with OSC:.

1.) By default, it will not search in certain directories such as /includes/ This is bad if you're searching OSC php files, since many of them reside under /includes/..

To fix this, just change the line:.

$ignore = array('/_arc/','/err/','/inc/','/includes/','/cgi-bin/','/karma/gallery/','/docs/herbs/','/public/images/smilies/','/private/');.

To something like this:.

$ignore = array('/_arc/','/err/','/inc/','/cgi-bin/','/karma/gallery/','/docs/herbs/','/public/images/smilies/','/private/');.

2.) if you install in admin directory, be default it will only search in that directory and the ones beneath it. To fix it to search up a directory, and everything recursively under that, change the following:.

$deepness = false;.

Change to:.

$deepness = true;.

Happy grepping..

Comment #5

Sounds like you have it solved but, if not, check my contributions. I wrote a search function to search the php files. It only searches the language files but that is easily changed. BTW, if corzoogle uses google to search the files (many such search programs do), it won't search all of your files unless they have been indexed..

Jack..

Comment #6

Chancy having something like that on the server, just go thru the code to make sure no hidden back doors or 'worms' in it, because with something like that, your whole iPage site can be exploited..

You are better off to have your code on your local system, use windows grep to search for the string, make the modifications, then ftp to your web server, AFTER you make sure it works locally...

Comment #7

Thanks for the good tips. Jack, I think I have your contrib and didn't even think about modifying it..

It doesn't use indexing; it's self-contained real-time searching..

I'll look into worms & back doors.... my initial hunch is that it's clean since it seems like it has a number of users; someone would likely have caught it by now...

Comment #8

I got down to about line 1200 of the code and got tired of looking. Up until that point though, the code is free of any backdoors..

I do have my doubts about a coder who uses variables like 'haha' and 'sex.'.

Also, hope you paid attention to this bit:..

Comment #9

Any suggestions on a good PHP-based search utility?.

I'd like to be able to search through all my OSc files for a given string..

If not PHP-based, then what other search utilities are you guys using?.

Many of you probably use something like this, but I couldn't find any threads on it..

Thanks!.

John..

Comment #10

I use dreamweaver the web development tool.

But notepad is just as good for your purpose?.

Regards.

Mark..

Comment #11


This question was taken from a support group/message board and re-posted here so others can learn from it.