Jul 17, 2012 - htaccess    4 Comments

.htaccess continued

Hope before coming to this u already read my previous post .htaccess ERROR PAGES
Now moving towards some complex .htaccess code, we will learn here how to Block users by IP and Changing your default directory page and many more things..

Blocking users by IP
Want to block a person from accessing your site, is there some one trying to penetrate your site, just add the following lines of code

order allow,deny
deny from 123.45.6.7
deny from 012.34.5.
allow from all

Read more »

Jul 16, 2012 - htaccess    No Comments

.htaccess error pages

Many people think that this .htaccess file is meant to handle only error pages, btu its the most general thing you can do with .htaccess. Later on you are going to find some more complex work on this file.
In order to specify your own ErrorDocuments, you need to be slightly familiar with the server returned error codes. Have a look on them first..
Read more »
Jul 14, 2012 - Android    No Comments

Generating Android Notifications

Notification on Android can be done in any of the following ways:

•         Status Bar Notification
•         Vibrate
•         Flash lights
•         Play a sound

From the Notification, you can allow the user to launch a new activity as well. Now we will look at status bar notification as this can be easily tested on the emulator.
Read more »

UA-33384550-1