PNG fix for IE6 in wordpress

Add the following code in the <head> tag

header('Content-type: text/x-component');
<style type="text/css">

Copy and paste this one line into your site's CSS stylesheet.
Add comma-separated CSS selectors / element names that have transparent PNGs.
Remember that the path is RELATIVE TO THIS HTML FILE, not the CSS file.
See below for another method of activating the script without adding CSS here.

img, div, input { behavior: url("http://<domain name>/wp-content/themes/<theme name>/") }
Here's an example you might use in practice:
img,, .pngfix, input { behavior: url("/css/") }blank


and download the files



rename the iepngfix.doc to and put it on the root of your theme folder.

Generate Random Number in PHP

function refrence_id()
    $refrence_id = 'DD'.mt_rand(100000, 999999);
    // check if number already exists in database
    $ref = mysql_query("select count(*) from registration where refrence_id='".$refrence_id."'");
    $refer_no = mysql_fetch_array($ref);
    if($refer_no[0] > 0)
    return $refrence_id;

$tmpRefID = refrence_id();

Difference between Apache server and IIS server

TechThropist Cyber Security

Apache : The Apache HTTP Server, commonly referred to as Apache is a web server software program notable for playing a key role in the initial growth of the World Wide Web.Apache was the first viable alternative to the Netscape Communications Corporation web server (currently named Oracle iPlanet Web Server). Typically Apache is run on a Unix-like operating system,and was developed for use on Linux. Apache is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation.

IIS : Internet Information Services (IIS) – formerly called Internet Information Server – is a web server software application and set of feature extension modules created by Microsoft for use with Microsoft Windows. IIS 7.5 supports HTTP, HTTPS, FTP, FTPS, SMTP and NNTP. It is an integral part of the Windows Server family of products.

Difference between Apache and IIS :


View original post 265 more words

Firebug Script for IE6

Just write the following line in the head tag of your html.

<script type='text/javascript' src=''></script>