by Shashi Dhar Kumar | Apr 17, 2012 | HTML, Programming, XHTML
Expanding the Mailto: tag Introduction The Mailto tag is used as a way to include an email address on a web page which can be clicked on thus opening the visitors default email client with the email address pre-filled. The mailto code can e expanded to include...
by Shashi Dhar Kumar | Apr 15, 2012 | HTML, PHP, Programming, W3C
While the apply ‘_blank’ value to a native link’s attribute ‘target’ that will give you not validated for W3C, the solution is to handle the click on the link and open it in a new window. Please note this alternative methods are absolutely SEO friendly and...
by Shashi Dhar Kumar | Mar 11, 2012 | Open-Source, Programming, WordPress
Open “function.php” add the following code to add new custom post type : <?php add_action(‘init’, ‘featured_post_register’); function featured_post_register() { $labels = array( ‘name’ => _x(‘Featured...
by Shashi Dhar Kumar | Feb 10, 2012 | PHP, Programming, Unix OS
How to redirect web based page with .htaccess Following are the code to paste (be careful to write on .htaccess it can be messed up whole website if anything goes wrong) into .htaccess file 301 redirection for any domain : RewriteEngine On RewriteCond %{HTTP_HOST}...
by Shashi Dhar Kumar | Feb 10, 2012 | Programming
Following are the detault pages for website of technology based : 1) HTML Based default pages : a) index.htm b) index.html c) default.htm 2) PHP Based default pages : a) index.php 3) SHTML Based default pages : a) index.shtml 4) Classic ASP Based default pages : a)...
by Shashi Dhar Kumar | Mar 7, 2011 | Open-Source, PHP, Programming
How to change the XAMPP server port number Why do we need to change the port number? It is very common that a web developer needs to have multiple web servers running, all at the same time. For example, an XAMPP server can be used to run the local wordpress, while a...