Here is a step-by-step tutorial on how to customise WordPress Login page for your website/blog. This tutorial will show you how to change the WordPress logo and link on the Login page without hacking the core code nor installing a plugin.
1. Copy and paste the following code into functions.php file of [...]
To display 5 latest posts in each parent category of your WordPress blog, add the following code into the template that you want the result to appear. In our case, we added the following code into our 404 template page (404.php of current theme). Other places that you might want to display [...]
23 Feb, 2010
Posted by: eisabai In: PHP| WWW
As you can see in the table below, Cross-Site Scripting, SQL Injection and Buffer overflows are three most common and serious programming errors that result in vulnerabilities. This list was published recently on 17 February 2010.
Rank
Name
[1]
Failure to Preserve Web Page Structure ('Cross-site Scripting')
[2]
Improper Sanitization of Special Elements used in an SQL [...]
13 Aug, 2009
Posted by: eisabai In: PHP
I have just finished reading Drupal 6 Content Administration by J. Ayen Green. It has 8 chapters (196 pages) in total but the writing style is very simple and easy to understand that I finished it quite quickly.
This book is mainly for content editors who have not used Drupal before and want [...]
In order to display a download dialog for pdf file rather than opening it in the browser, we can put the following snippet of code in a php file and name the file download.php.
The path to the pdf file is specified in $filename variable. You can also pass filename as a parameter in the [...]