Categories
ICICI EMI Payment Gateway JavaBridge Tomcat Server

Step by Step Procedure to setup JavaBridge on Tomcat Server

As i have recently created the JavaBridge on Tomcat server and then integrated the ICICI Payment gateway so here are few useful steps for advanced programmer to help them in creating the JavaBridge on their online Linux server.
Here are the simple step by step procedure to create JavaBridge.

1. Copy the JavaBridge.war to /var/lib/tomcat5/webapps/ on your Linux server
2. Then upload the JavaBridge.jar and php-servlet.jar to /var/lib/tomcat5/shared/lib/
3. Restart the server using command service httpd restart
4. Make the changes in sfa.properties file and copy it in sfa.jar file.

5. Then copy all the 6 jar files in /var/lib/tomcat5/common/lib/
6. Copy the key folder with key files in it to /var/lib/tomcat5/webapps/JavaBridge/ and set permission 777
7. Create new php.ini file at /var/lib/tomcat5/webapps/JavaBridge/WEB-INF/cgi
8. Upload required php files and Sfa directory provided by ICICI to /var/lib/tomcat5/webapps/JavaBridge after making changes in TestSsl.php and Sfa/PostLibPHP.php
9. Then run the url and see the magic of JavaBridge.

If you find difficulty in any of the steps written above or you are a newbie in PHP then you should refer this link for How to install JavaBridge from the beginning or you can contact me for support.

Categories
MySql PHP phpMyAdmin WAMP Server WebSites

How to install Wamp on your Computer and Run Online Websites at Local System

My life is so much hectic in Office and daily routine work. And thus i am not able to get time for writing good tips on my blog. But today i got a few minutes time to post a cool tips for my bloggers friends and newbies. Here is a trick and tips for new wordpress bloggers. Some of you may feel that if you can run your website on local computer and setup development environment on local machine then that would be such a great way to make modification in your website.
Here are the brief instructions about How to install Wamp and Run the online website at your personal Computer.

Step 1. Download the Wamp server from Official Website

Please choose the version depending on your operating system

If you are using Windows 32 bit operating system(Windows XP) then
download version Wamp version 32 bits

And if you are using Windows 64 bit operating system(Windows 7, Vista)
then download version Wamp version 64 bits

php” target=”_blank” title=”Click here to download the latest version of Wamp Server”>www.wampserver.com

Step 2. Locate the downloaded set up file and double-click on it. You will face an alert window warning saying that you do not upgrade from WAMP5 1.x. Click on Yes to continue.

Installing WAMP 2.0 - Alert Screen Image - How to Install Wamp Server

Step 3 .The Welcome setup window will load. Click on Next to proceed.

Installing WAMP 2.0 - Welcome Screen Image

Step 4 . On the License Agreement screen select the radio button for I accept the agreement then click on Next

Installing WAMP 2.0 - License Screen Image

Step 5 . The Select Destination Location screen will load. Change the default location if you desire then click on Next

Installing WAMP 2.0 - Destination Screen Image

Step 6 . Now the Select Additional Tasks screen is loaded. Select the checkboxes for any icons you want installing then click on Next

Installing WAMP 2.0 - Additional Tasks Screen Image

Step 7 . You will be faced with the Ready to Install screen. Review the settings and use the Back button to go back and change any of the settings. If the settings are correct, click on Install to install WAMP 2.0

WAMP 2.0 Installing - Review Settings Screen Image

Step 8 . If you have Mozilla Firefox installed on your PC, you may be faced with the following window that prompts whether you want FireFox to be your default browser, so select the appropriate choice.

Installing WAMP 2.0 - Firefox Screen Image

Step 9 . The PHP mail parameters screen will load. Review the default settings and change accordingly then click on Next. The default values can generally be used when installing WAMP 2.o to a local PC.

Installing WAMP 2.0 - PHP Mail Screen Image

Step 10 . The final screen to load is the installation completed screen. Click on Finish to close the window and start WAMP

Installing WAMP 2.0 - Completion Screen Image

Step 11 . WAMP 2.0 is started. The WampServer icon is loaded onto the system tray.

Installing WAMP   2.0 - System Tray Icon Image

This is the complete process of how to install Wamp server on your local computer. If you Want to know how to run the online website on your local computer then i will post the How to steps for Running an Online website on Local Computer.

Categories
MySql phpMyAdmin Wordpress

How to Backup your WordPress Database using simple steps

Today i will show you how to take backup of your wordpress database and stay happy for future issues like db lost, hacking and more.
Please backup the existing database by logging into your PHPMYADMIN. It is very necessary to backup the database before you proceed with any changes. I also backup my website database once in a week. It is a good practice to always backup your database before making any major changes(like cleaning database for spam comments and meta data and more). If anything gone wrong then you can easily be able to restore the backupd database.

If you are not a tech guy and want to backup the database in very simple steps and withuot taking much headache then you can download WP-DB-Backup or WP-DBManager plugin to backup your database through your WordPress admin panel. Alternatively, you can backup your database through phpMyAdmin manually.

If you are still reading and decide to backup your WordPress database manually then you should follow these very simple steps:

  1. Login to your phpMyAdmin(Generally phpMyAdmin can be accessed using cpanel of your website like this www.mysite.com/cpanel).
  2. Select your WordPress database(If you are more database installed on your web server).
  3. Click on Export at the top of the navigation.
  4. Select the tables you want to backup(i suggest you to backup all the tables), or select all tables to backup the whole database.
  5. Select SQL to export as .sql extension.
  6. Check the “Save as file” checkbox.
  7. Choose compression type, select gzipped to compress the database to a smaller size.
  8. Finally click Go, and a download window will prompt you to save your backup database file. Smile
Categories
Orkut WebSites Wordpress

How To Add Orkut Share Button In WordPress Blogs

As most of you already aware about the thing that now a days Orkut allows a share button feature for websites and blogs. In this feature website owners can extend the functionality of sharing their content with visitor friends using Orkut. It is very easy to add the Orkut share button. Just follow the following simple steps and can add share this post on Orkut button.
Implenting Share Button In WordPress Blog

Step 1. Go to the theme folder of your wordpress blog. It will be like this /public_html/wp-content/themes/

Step 2. There will be a header.php file in your wordpress theme’s folder and you need to paste the following code above </head> tag

<script type=”text/javascript” src=”http://www.google.com/jsapi”></script>
<script type=”text/javascript”>
google.load(‘orkut.share’, ‘1’);
google.setOnLoadCallback(function() {
var params = {};
params[google.orkut.share.Field.TITLE] = ‘<?php the_title() ?>’;
params[google.orkut.share.Field.DESTINATION_URL] = ‘<?php the_permalink() ?>’;
var connection = new google.orkut.share.Connection(params);
document.getElementById(‘orkut-share’).onclick =
function(e) { connection.send(‘orkut.com’, {}); };
}, true);
</script>

Step 3. Now save the header.php file and go to Single.php file or wherever you want to put this button and paste the following code there.
<span id=”orkut-share” style=”cursor:pointer; border:0px solid black”>
<img src=”http://3.bp.blogspot.com/_eEuHGVw5WLg/SwpFfy4rMqI/AAAAAAAAAAk/jdm-zBiDdv8/s320/share.gif” alt=”Share Orkut” />
</span>

Save the file, upload it to your online server and you are done now.

Now whenever you open the post of your wordpress blog you will see the Share Button feature of Orkut.

Categories
.htAccess Hacking Internet Tips

How to Block Or Restrict Hackers, Spammers From Visiting your Website

Sometimes the owners(administrators) of new websites gets so many spam comments on their websites.
Many peoples have a bad habit of harming the Websites by hacking spamming etc. If you are facing such type of problem then you can get rid from this by following steps:-

You can get rid from those hackers by blocking there IP (How to know the IP Address) by your web hosts control panel.You have to create .htaaccess file.In this file use these code with IP address

order deny,allow
deny from 203.23.116.11

( 203.23.116.11 is the ip-address of hacker )

Save this setting and you are done.

Now you will not face any more spam comments and your website will be safe from Hacking and unwanted unauthorized access of Hackers.

Categories
Programming Languages

Internet Explorer 9 Beta Released and Download for Fast Internet usage

internet explorer 9

Microsoft has released the beta for the newest version 9.0 of their ever-so-popular Internet Explorer browser. The beta has all the features that will be seen come release, but does not however have the updated version 9 UI. Microsoft development team said that this new internet explorer 9 will be the fastest browse ever and people who use social networking on this browser will have more fun using it. This new IE 9 will support CSS 3 also and will be more secure to handle online transactions and internet banking applications as well.

Version 9 has some important new things about it. For starters, there is support for HTML 5 and CSS 3, and a new JavaScript engine. IE9 also has an “Acid Test” feature that will let you test the compatibility and compliance of a website with IE9.

Additionally, this new browser is programmed to use your GPU much better: IE9 uses your computer’s GPU to enhance hardware scalable vector graphics (SVG), JavaScript performance, and HTML5 performance.

You can download the beta here.