When a commenter comment on a post then you may be queuing it for approval before it can appear on your Wordpress blog. In that case, commenter is not getting any feedback about when you are going to approve it, how much time it may take etc. For full time blogger, it is not a [...]
Recently I need to use file for caching little bit of data. Then I thought of concurrency problem can arise in File based structure due to read/write issue. For small data and that also if not so useful , usage of Database can be avoided. Though Database can handle any kind of conflict and other [...]
Here are few very common string functions in PHP for those who are new to PHP. In that case just familiarize with these functions.
addslashes
Add backslash (\) before characters that need to be quoted before inserting into database. Those characters where backslash will be added are single quote (‘), double quote (“), backslash itself (\) and [...]
Here is a script for getting file extension. It will take care of the file name like this: yourfilename.inc.php etc and not only filename.inc or fileename.php. It will get your last part of file irrespective of how many dots in file.
<?php
// will get the file name out of whole path (path/to/file.inc.php)
$filename = basename($filePath);
// split it [...]
Using Wordpress and filled all the spaces in sidebar and navigation with multiple widgets or text content, And finding no space for Categories! No worries, you have another place to add your blog categories. Add all categories at the bottom of the web site.
Generally categories become so many in numbers that you cannot add all [...]
Easy and step by step guide of Importing and installing wordpress on localhost. This will help in considering any possible thigns you need to modify also.
Finding the correct relative path for use in you php page for include/require.
I need to get all the parent folders of a File for a work. I searched on net to find easy solution for this and also to find some tips for my work. As, my work was heavily dependent on this logic, so I have given some time to it. But whatever I have found [...]
All of you may have already noticed that Google has started displaying breadcrumb in place of URL at the bottom of each search result. So, here is how you can yourself add breadcrumb to Wordpress.
All are writing something something related to year end. So, what should I write. I though to write about the top visited posts of 2009 on my blog.
I hope you will enjoy reading it. I am sure my regular visitors will like this post.
Dynamically Populate Select List by Ajax
PHP Login and Logout Script
Javascript show hide [...]