The most expensive domain names ever sold (2010)

Submitted by Anonymous (not verified) on Mon, 02/15/2010 - 11:40

Youtube.com : $1.650.000.000 : Google bought Youtube and all services for the most expensive price on the web.

Sex.com : $14.000.000 the most expensive domain sale of all the time( the word "sex" is the most searched word online)

Fund.com : $10.000.000 sold in 2008

Porn.com : $10.000.000 in 2007.

Business.com : $8.000.000 in 1999 by an californian advertisement program.

Diamonds.com : $7.500.000

Beer.com : $7.000.000 (why not drinks.com , water.com, alcohol.com etc ?)

AsSeenOnTV.com : $5.100.000 in 2000 and probably the most terrible expensive domain name

How to hide / encrypt CCK Email field with JS against spammer

Submitted by n8coder on Tue, 02/09/2010 - 17:58

I got headche while searching for a filter to encrypt/hide email cck field to protect email addresses from spambots. I have installed , deinstalled, activated-deactivated rearranged input filters with both invisimail and spamspan but no luck! Finally I decide to change code in email.module. It works! Go and open "sites/all/modules/email/email.module" and find the line 115 like this:

/**
 * Theme function for 'default' email field formatter.
 */
function theme_email_formatter_default($element) {

Mysql Order / Sort by before Group by

Submitted by n8coder on Sun, 08/30/2009 - 20:14

Every developer knows the horror of mysql sort/order by or select distinct using with group by. Mysql does group by before order by and you get mixed results not what you expected. This is a small solution with less performance problem:

SELECT * FROM 

(
select * from `my_table` order by timestamp desc
) as my_table_tmp

group by catid

order by nid desc

In this example we get latest news in each category. We create a temp table by sorting by timestamp and group by after it. It worked for me.

Bing vs. Google: a small comparison

Submitted by amsterdam on Sun, 07/05/2009 - 23:39

Bing vs. Google
This is a small comparison between Google and Microsoft's new search engine Bing. I tried to compare most used features for web search and results quality. Quality of image and video search like common services would be the point of next article.

Google's goal is simplicity and experience. Google's huge stats make available to find relation between different search terms. Bing's goal is Curiosity. People want to see what can a Google-competitor search engine do.

Simple Hello World Module for Drupal 6

Submitted by zoro on Mon, 06/08/2009 - 16:32

This is a small and simple "Hello World!" module for quickstarters who uses Drupal 6x series. We need just one directory and two files:

  • modules/simple_hello_world/
  • modules/simple_hello_world/simple_hello_world.info
  • modules/simple_hello_world/simple_hello_world.module

modules/simple_hello_world/simple_hello_world.info

; $Id$
name = Simple Hello World
description = Description of Simple Hello World module
core = 6.x

modules/simple_hello_world/simple_hello_world.module


      
  

Comparison of free Shopping Carts - 2009

Submitted by zoro on Sun, 06/07/2009 - 16:20

This is a comparison of free -mostly open source- "shopping carts" / "e-commerce systems": Magento, osCommerce , Virtuemart (+ Joomla), Ubercart (+ Drupal), X-Cart , Zen Cart , ShopCMS , CS-Cart , Cube Cart , eCommerce Framework G5 (ECF), Ecommerce Templates , FlyingCart, Go Ecommerce EShop Builder , Interspire Shopping Cart , iScripts Multicart , JadaSite , JShop , LiteCommerce , PhPepperShop, PrestaShop, ProductCart , Ecommerce Shopping Cart Software , VP-ASP Shopping Cart , WebAsyst Shop-Script , Zeus Cart (AJ Shopping Cart).

Register Globals Emulator for PHP

If your webhosting turned register-globals off and you are still using a script/software which requires register-globals on you have a problem. But there is an easy solution: Just put this code at the top of your php script(s). Attention!!! "register_globals=on" means a huge security risk. Do not turn it on unless you know what are you doing!
Technorati Profile

foreach(array($_GET, $_POST, $_COOKIE) as $k=>$v){
	foreach($v as $k2=>$v2){
		$$k2 = $v2;
	}
}

Repair all mysql databases-tables with PHP

Submitted by linuxman on Sun, 05/31/2009 - 15:46

phpMyAdmin is a great tool but there is no option to repair all databases at once yet. Imagine you have no shell-access and need to repair all your 100 databases. It would take long time. This small PHP-Script lets you list, analyze and repair all your databases belong to same user at once.

If you already have shell access you can do it with mysqlcheck:

mysqlcheck -u root -p --auto-repair --check --optimize --all-databases


Repair with PHP: