3cho

Thursday, August 30, 2007

PHP Articles

Here are a couple of good php articles I found

15 Cool Things People Over Look

12 Things you Should Dislike

Labels:

Tuesday, August 28, 2007

I guess we should be doing MySpace layouts!

Girl Power - Whateverlife.com - Ashley Qualls - Nabbr: "Whateverlife.com"

Friday, August 24, 2007

Tutorial: Rays of Light

Short little tutorial with a nice end effect.

Bartelme Design | Tutorial: Rays of Light

Tuesday, August 21, 2007

Oh ... the good ole South.

SleptOn Magazine: Don't Sleep On The Struggle. Be A Part Of It:

"The nooses were hung after a Black student asked permission to sit under a tree that had been reserved by tradition for white students only. "

Thursday, August 16, 2007

Propel - ORM for PHP

Propel

Propel is an Object-Relational Mapping (ORM) framework for PHP5 that was originally based on the Apache Torque project. It provides a sophisticated, but easy to use database abstraction layer that allows you to work with database entities the same way you work with normal classes and objects in PHP. Propel allows you to define your database in a simple XML format which it uses to construct the database, and generate static classes for use in your application.

Phing - project build system

Phing

The idea behind phing (and other build tools) is to evaluate a set of dependencies, then execute a set of PHP classes to properly install and configure an application. The build process is controlled by a simple XML configuration file. Out of the box, phing can perform token replacement (e.g., to change include paths on your development and production systems), execute SQL, move and copy files, run shell scripts, and more. You can also create your own custom tasks by extending the “task” class included with the package.

Tuesday, August 14, 2007

Get into pay sites for free as a Googlebot

Found this article, it's never a good thing to rely on user agent as a web developer.

In case the link is bad see below;

Ever wondered why Google returned search results that lead to sites that require a registration? How did Google index the site without a registration? Many sites want their site indexed in Google to receive more hits, so they allow Googlebots in. Because of this reason we can take advantage of this. All we have to do is disguise ourself as a Googlebot and many sites will let us in without registration.

To do this we have to change the User Agent. The user agent defines the browser and what version you are using. For example if you go to this site it will tell you what browser you are using, and it finds this info out by the user agent.

Changing the user agent is easy, to do this in Opera you have to uses these settings:

User Agent: Googlebot/2.1 Compatible: http://www.googlebot.com/bot.html

Firefox users can use this extension and import this file (right click and save) that has a huge list of user agent settings including Googlebot/2.1 and many other spiders/bots.

Internet Explorer users you will need to change the registry entries, to do this open notepad and copy this into it:

Windows Registry Editor Version 5.00 [HKEYLOCALMACHINESOFTWAREMicrosoftWindowsCurrentVersionInternet Settings5.0User Agent] @="Googlebot/2.1" "Compatible"="+http://www.googlebot.com/bot.html"

Then save it as ua.reg and double click on it.

To revert the changes back, you will need to do the same but this time copy this in:

Windows Registry Editor Version 5.00 [HKEYLOCALMACHINESOFTWAREMicrosoftWindowsCurrentVersionInternet Settings5.0User Agent] @="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"

Save as oua.reg and double click.

To see if it has worked go here and your browser should now be Googlebot v2.1

Enjoy!

Labels: ,