facebook twitter youtube
in Java - 28 Mar, 2014
by admin - no comments

A simple way to determine the Server information along with Servlet, JSP and Java version of your application server. This is basically a simple JSP script. Create a file named version.jsp and add these code Save the file and copy it to the Deploy directory of your application server profile. Now run the script http://:8080/version.jsp

in WINDOWS - 28 Mar, 2014
by admin - 2 comments

FYI I think some virus when they attack your system may remove your Folder Option menu and i think you can recover it back through this, just try.  Always take a backup before editing any major files because sometimes we might need a rollback. Tested with Windows XP pro, and I’m not sure whether this [...]

in Html - 28 Mar, 2014
by admin - no comments

Here is a simple approach on how to post a form data to a Servlet, get the response from the external URL and then display it on the browser. My Servlet will be processing an external URL [http://Your_Server_Name/post.php] which is basically a php file that will accept POST request and authenticates with AD / LDAP. [...]

in PHP - 27 Mar, 2014
by admin - 2 comments

This is a simple script that creates a directory using php. Creating a directory is relatively straight forward using the mkdir() function. It accepts 2 parameters, the first will be the new directory and the second will be the permission level (you can modify this script to take in a permission as well if you [...]

in PHP - 27 Mar, 2014
by admin - no comments

This tutorial shows you how to read a particular line in a text file and replace the string in that line with another one then saving it to a text file. DOWNLOAD THE FILE HERE Here in the above script i am replacing a particular line which i dynamically read from the GET option, then [...]

in Jquery - 26 Mar, 2014
by admin - no comments

GD Star rating is one of the best plugin to configure ratings for your wordpress posts. This time for me the plugin was showing issues and was not working when users try to rate. The error that was thrown in firebug was “Reference error jquery not defined gd star rating” , This error was pointing [...]

in Apache - 26 Mar, 2014
by admin - no comments

1 – Protect your WordPress blog from hotlinking Hotlinking is the use of an image from one site into a web page belonging to another site. Many bloggers are hotlinked, and have their bandwidth used on another websites. This very helpful code will protect your WordPress blog from hotlinking. RewriteEngine On #Replace ?mysite\.com/ with your [...]

in perl - 25 Mar, 2014
by admin - no comments

Simple script for finding the size of a text file or any file you come accross using simple perl.Grab the script here and enjoy!!!!!!!!!

in PHP - 25 Mar, 2014
by admin - no comments

Just a simple trim function with full code. Trim functions are used in many areas and this will be a handy tutorial to give you a bigger picture of what trim actually does. Trim usually Strip whitespace (or other characters) from the beginning and end of a string Below is a simple html form that [...]

in LINUX - 24 Mar, 2014
by admin - no comments

Simple command to change the permission of all the files recursively in linux The above command will recursively change the permission of all the files to 664. For example if you run this command under /var/www All the files inside /var/www path will have the permission set to 664

Close
Please support the site
By clicking any of these buttons you help our site to get better