Webmastersucks - webmastersucks.com - Webmaster Sucks
General Information:
Latest News:
Sort VARCHAR as INT in MySQL 13 Jun 2011 | 06:39 pm
Sometimes we can user VARCHAR for integer values. But when we need sort them, we have got big problem. Because VARCHAR’s are string and it is sorting like a string. Example: 1a 2a 3a 10b 20b 30b 15c...
Recursive Category Listing 8 Jan 2011 | 12:49 am
Webmasters allways use category trees, i wrote a function about creating category trees with using recursive function. Output : Food Fruits Apple Banana Vegetables Tomatoes Aborgin Drinks So...
Tracking Advertisement Campaigns 7 Jan 2011 | 04:38 am
We can track easily with using google analytics for all advertising campaings. We use utm_source, utm_medium, utm_campaing, utm_content and utm_term for tracking.. utm_medium is using for particular ...
Optimize PHP Codes Tricks 6 Dec 2010 | 11:44 pm
Use echo, not print, Unset your variable when your job is over that variable, especially for large arrays, Don’t use require_once, Use full paths for includes, str_replace is faster than ereg_repl...
Break Categories to Columns in Wordpress 4 Dec 2010 | 01:36 am
Normally the category list is single column. But you can use this trick to split two columns. Firstly, find Then replace this code like here : After changing this you can stylize your columns with ...
Twitter Advertisements 12 Oct 2010 | 09:02 am
There is some web tools for twitter advertisements. Here is the list of Twitter Ads : Twittertise - Advertise on Twitter Twitterad - Monetize your twitter profile TwitterCard - Place a 125×125 Twi...
Resizing All Images in Directory 11 May 2010 | 10:56 pm
I need a script for resize all images in one directory. I have create thumbnails for a site. I have not so much time write these code. I found two different code and mixed them. I love PHP, it is very...
Google Announce Chromium OS Project 20 Nov 2009 | 07:42 pm
Today Google released Chromium OS, the open source project behind Google Chrome OS. Google Chrome OS is an operating system that is intended for people who spend most of their time on the web. It aims...
Google Create New Programming Language : GO 18 Nov 2009 | 01:11 am
Google Engineers create new programming language “Go”. In first look it is look like C++ or Java. We will see, how it will be. More details : http://www.golang.me/google-launches-its-own-programming...
Turn Off Autocomplete Form in Internet Explorer 11 Nov 2009 | 10:01 pm
A webmastersucks user ask me “The only problem is that IE will store the MD5 ] password when it “saves” the password. Have you been able to overcome that?”. Solution is really simple, just we can use ...