0
Pear DB class not found [solved]
Sometimes we use to get an error like ‘Pear DB class not found’ while running some scripts that uses PEAR to connect to the database.
Why this error is thrown?
This is because the DB for PEAR is not installed.
How to fix this error?
Simple
Step...
Iframe virus popular among wordpress users[FIX]
Iframe virus are very much popular among wordpress users. The webmasters who use wordpress as their backend have to spend most of their valuable time searching for these virus once affected and most of the time they end up in shutting down their...
JAVA Tutorial II
Java is an object-oriented programming language developed by Sun Microsystems and released in 1995. Modelled after C++, the Java language was designed to be small, simple, and portable across platforms and operating systems, at both the source...
Encrypt HTML online for your website
This tool will encrypt the HTML code online and give you a encoded output which you can copy paste to your webpage and prevent your website code from copying.
1. Insert your HTML code you want to encrypt.
2. Click ‘Encrypt’ and...
J2ee Interview Questions
J2EE INTERVIEW QUESTIONS
1. What makes J2EE suitable for distributed multitiered Applications?
- The J2EE platform uses a multitiered distributed application model. Application logic is divided into components according to function, and the...
Randomly read and display values of an xml file using php
This script will show you how to read and display the values of an xml file using php. My demo.xml looks like this
<message><name>Antonio Paulo/name><website>http://mistonline.in</website><comment>Good One</comment><date>1305127910</date><user_ip>2.241.68.95</user_ip><user_agent>Mozilla/5.0...
CSS or Table?
CSS or Tables?
What is CSS?
CSS stands for cascading style sheets. They are the new technology used to layout and style web pages.
So what happened to old, trusty tables?
For long tables were the only tool available to the web developers to...
Speed up wordpress using .htaccess part 1
Very simple method to speed up websites that use wordpress as backend using .htaccess methodology
Add the below stuff whatever i have given in your .htaccess file simple.
gzip files
gzip allows you to compress files, so obviously that means...
Words Validation with Javascript
Hi today i will explain you how to filter out inappropriate words from being updated or send from your website.This is simple javascript.
badwords.js
Contains javascript code. If you want add some more words in bad_words_array
var bad_words_array=new...
File System Reference In PHP
The unlink() function deletes a file.
This function returns TRUE on success, or FALSE on failure.
Syntax
unlink(filename,context)
Parameter
Description
filename
Required. Specifies the file to delete
Example
<?php
$file...
Custom Error Pages Using .htaccess
A Simple Method To Create Custom Error Pages
The first use of the .htaccess file which I will cover is custom error pages. These will allow you to have your own, personal error pages (for example when a file is not found) instead of using your...
Secure PHP Scripts
Securing your variables
In most versions of PHP, you can access the value of a variable before it is initialized. Consider this simple example:
if ($password == $the_password) {
$logged_in = 1;
}
if ($logged_in == 1) {
// secure...
.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...
