Signing a Windows Programs

I wrote a program, but lots of virus program giving alerts and i learn i have to sign my programs with “code signing”. There is lots alternative for code signing, i choice Verisign. There is some steps for signing. Getting Signature Buy a code signin certificate. Whole list > (You can also create test certificates using makecert.exe.) …

Continue reading

Sort VARCHAR as INT in MySQL

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 25c 35c (VARCHAR) 1a 10b 15c 2a 20b 25c 3a 30b 35c (Sorted) We need 1a 2a …

Continue reading

Recursive Category Listing

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 Soft Fruit Juice Apple Juice Strawberry Juice Milk

Continue reading

Tracking Advertisement Campaigns

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 marketing; email, affiliate, paid search etc. utm_source is our basic source which is we used to advertising; google adwords, facebook ads etc. utm_campaing is your advertising campaing name, you …

Continue reading

Optimize PHP Codes Tricks

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_replace but strtr is fastest.. If you can, use strtr, Close your database connections when you are finish your process, Using $table[‘id’] is faster than …

Continue reading

Twitter Advertisements

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 TwitterCard on your Blog or as an Advertisement Twitterribbons – Twitter Ribbon Ad generator TwitterKnowHow – Twitter ribbon ad generator BeaMagpie – Be …

Continue reading

Resizing All Images in Directory

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 easy to solve problem with little scripts. If you resize in same directory it …

Continue reading

Google Announce Chromium OS Project

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 to provide a computing experience that is fast, simple and secure. The Chromium OS project as you’ll see it …

Continue reading