0
.htaccess some facts and rules
Common command suffixes
At the end of many lines you will see a suffix within square brackets. These instructions modify the main command of that line.[301] = permanent redirect[302] = temporary redirect[NC] = no case (ignore...
Display Tags in wordpress
A very simple method to add the tags on to a wordpress theme.Its pretty simple just add the below lines to the file you want it to appear, prefferably SIDEBAR.PHP.This can be easily done using wp_tag_cloud(),
Here the smallest means the...
MD5 Function and Unique ID in php
uniqid () function, This function has two parameters we can set. The first is the prefix. This is what will be appended to the beginning of each ID. The second is more_entropy. If this is false or not specified it will return 13 characters,...
Javascript setTimeout() Tricks
Hi here we can see how we can call fucnctions using some timers available in javascript.
<script type=”text/javascript”>
function setToRed()
{
document.getElementById(“colourButton”).style.color = “#FF0000″;
setTimeout...
Displaying or changing images each day
A simple script that demonstrate how to dispay different images day by day on your website from suday to saturday, what you have to do is just copy this script [ Make Sure Of Quotes While Copying As I Always Say] So correct those and paste where...
How to install XAMPP
Hello guys due to request from my users i am updating my website with a post that says clearly how to install XAMPP on windows.Here we go,
Go to http://www.apachefriends.org/en/xampp-windows.html#641 or direct link http://www.apachefriends.org/download.php?xampp-win32-1.7.0-installer.exe...
Caching of images using javascript image object
Using this script we can load an image in to a cache and display it when needed.Once you click the button the second image will display immediately with out any delay as it comes from the cache. If your internet connection is slow then you can...
Simple Javascript Slideshow
Here i will explain how to create a simple slideshow using javascript.
Our main function displaynext(shift) will receive the value of shift based on the navigational buttons clicked ( it will either +1 or -1 ) and it will receive the value of...
Url rewriting examples using .htaccess
Hi here i will explain some URL rewriting magic using .htaccess file.
1)Rewriting user.php?id=12 to user-12.html
It is a simple redirection in which .php extension is hidden from the browser’s address bar and dynamic url (containing “?”...
To Remove An Empty Element From An Array Using PHP
Guys in the below code i am explaining how you can find out the
empty array…and create a new array by deleting the empy ones
dynamically.
In the variable data array i have given 8 datas
let $a, $b, $c, $d,$e contains data and others...
Get Method and Array Manipulation In Symfony
Below is the action.class.php code for the success page named playlistSuccess.php,
here i am getting the values of mob0,mob1 etc., to mob7 from the address bar of browser that is we
are using the get method.The browser address bar contains something...
C sharp INTERVIEW QUESTIONS
1. What’s the advantage of using System.Text.StringBuilder over System.String?
StringBuilder is more efficient in the cases, where a lot of manipulation is done to the text. Strings are immutable, so each time it’s being operated...
Page 1 of 11
