Indexer / Search Engine to crawl all files in website directory - php

I'm looking for a web-based version of the app below:
http://www.fileseek.ca/
Any ideas on where I could find/install something like this? My objective is to be make it easier for my developers to search for and find specific terms inside PHP/HTML/CSS/etc. files.
Thanks in advance!

You can check out
OpenGrok. We are very happy with it.
If you want to play around, write some code in Java, and customize, you can try playing with
Apache Solr

Related

How can I tell if a project is done with a PHP framework?

I am working on a project (already started), but I do not know if it is done with framework since there are files in many different folders, but I do not see any syntax referring to some framework that I know of.
I hope someone can help me...
Well it would depend on the Folder Hierarchies and the code.
If the views folder has the term "blade" on it, it's definitely laravel.
If the the code of the library has the term "CI Controller" somewhere in the libraries its definitely CodeIgniter.
If the code has a lot of "wp-" string in its code, its definitely Wordpress.
TIP: Put the whole folder in Sublime, search the folder (right click the folder and choose "Find in folder...") and search for terms that are generally reserved words for mostly used frameworks.
There are different methods to identify the PHP framework used by a web application. But one of the easiest way I would like to share it with you to use this extension in your browser called Wappalyzer.
Wappalyzer is a cross-platform utility that uncovers the technologies used on websites. It detects content management systems, e-commerce platforms, web frameworks, server software, analytics tools and many more.
There are a few other tools out there that analyze what a website is using.
BuiltWith - Stand alone site, also available as a plugin
W3Techs - Stand alone site, also available as a plugin
Auto-generated comments may also help. In my case, I can tell from the comments in index.php that it's written in CodeIgniter.
If you have a copy of the project hosted somewhere you can use https://builtwith.com

Wordpress po/mo classes

I am trying to make a simple system with plugin and themes support, but I need translation for them. The file path of languages with /en/LC_MESSAGES is too big and I want simple and it should be put only in languages folder of the plugin, just like Wordpress. I see that Wordpress seems to use a hardcoded version of gettext stored in the folder pomo. Is it taken from another project? Will it be easy to extract this classes and adapt to my project? Do you know any other project that I can reach the same result?
PS: I don't want to recreate Wordpress, it is a very simple Framework and not a CMS system. It is mandatory to have localization, so I have to find a way to do this and make the simplest as possible to the users.
Any help appreciated.
Thanks in advance and sorry for my bad English,
Vinicius.
Found this class written by Danilo Segan that does exactly what I need, standalone gettext parser

How do we start implementing HipHop for our web servers?

I want to use HipHop but I've got no idea how do I go about doing that. Does anyone know of any tutorials that teach us how to implement HipHop for our websites?
Is there alot of configuration to do or is it more like sort of a change a config file and everything just works sort of thing?
It appears that there are several examples in the documentation:
https://github.com/facebook/hiphop-php/wiki/Running-HipHop

How to get permalinks on a non-Wordpress site

Hello guys I have some websites I'm currently building but I have a problem...I have pages such as blogPosts.php?postID=7
I would love something like blogPosts.com/post title
Meaning I dont want people to see the variables I'm passing..
Same applies to a couple of other pages. I was told that permalinks is the key but everywhere I check, all I see is Wordpress but I am designing my site from scratch.
I'm running XAMPP from my pc.
I would really appreciate any help..
Thanks a lot
It sounds like you want to make "clean" URLs.
You can do it using Apache configuration files and PHP.
Here's an article which will tell you how.
You need to look int into apache mod_rewrite for starters.

Generating SEF pages in a php/mysql/apache environment

I'm planning to create a blog using php/mysql on apache (probably on a linux machine, if this info is at all important). I would like to test out YII framework for that purpose, and would also like to have fun while developing.
Since I used to develop in Joomla in my past, I know the importance of Search Engine Friendly URLs, and I would like to implement it somehow.
Any ideas on what to use with some general (or specific) instructions would be appreciated.
Thx
Yii seems to have a full-fledged guide on how to set up nice URLs.

Categories