English quotes on success

The person who gets the farthest is generally the one who is willing to do and dare. The sure-thing boat never gets far from shore.

Everyone who got where he is has had to begin where he was.

The gem cannot be polished without friction, nor man perfected without trials.

It is our attitude at the beginning of a difficult task which, more than anything else, will affect it’s successful outcome.

I am still determined to be cheerful and happy, in whatever situation I may be; for I have also learned from experience that the greater part of our happiness or misery depends upon our dispositions, and not upon our circumstances.

To be a great champion you must believe you are the best. If you’re not, pretend you are.

Finish each day and be done with it. You have done what you could. Some blunders and absurdities no doubt crept in; forget them as soon as you can. Tomorrow is a new day; begin it well and serenely and with too high a spirit to be cumbered with your old nonsense.

First we form habits, then they form us. Conquer your bad habits or they will conquer you.

Goals allow you to control the direction of change in your favor.

There are three ingredients in the good life: learning, earning and yearning.

How to install the Comodo SSL seal on your website?

For those of you who take sensitive information from customers such as personal or payment information you will most probably use SSL to make your website safer from sniffers. Installing SSL on your web server is a some what technical task and its always better to leave it to your support and networking personnel to handle it.

However, installing the SSL seal on your website is a fairly easy task. We will be talking about about the Comodo SSL seal which can be installed in 3 easy steps on your website.

Once Comodo approve your SSL request you will receive an email from them in which they provide the URL to access their logos.

http://www.trustlogo.com/trustlogo_choice.html

They give you choice of logos to install on your website. Once you have decided which logo to install you should right click on it and save it on to your computer. Then you should upload it online to your website folder. Next you will provide Comodo the exact URL for the image. If the URL is correct Comodo will display the image on the webpage. If its not then you will need to check the URL you have provided them.

Once the image is sorted out you need to copy two Javascript codes such that one is copied before the ending head tag and the other before the ending body tag. This code should be copied on all pages where you need to show the Comodo seal.

Next you should upload the relevant files online. Run your website and if everything was done correctly you should see the logo on your website. Comodo also provides other features such as whether you want the logo to float or remain locked in one position. Its up to you which option you want.

Hope the above helped

Is your website PCI DSS certified?

The PCI Security Standards Council is an open global forum for the ongoing development, enhancement, storage, dissemination and implementation of security standards for account data protection.

The PCI Security Standards Council’s mission is to enhance payment account data security by driving education and awareness of the PCI Security Standards. The organization was founded by American Express, Discover Financial Services, JCB International, MasterCard Worldwide, and Visa, Inc.

The PCI DSS, a set of comprehensive requirements for enhancing payment account data security, was developed by the founding payment brands of the PCI Security Standards Council.

The core of the PCI DSS is a group of principles and accompanying requirements, around which the specific elements of the DSS are organized:

Build and Maintain a Secure Network

Requirement 1: Install and maintain a firewall configuration to protect cardholder data
Requirement 2: Do not use vendor-supplied defaults for system passwords and other security parameters

Protect Cardholder Data

Requirement 3: Protect stored cardholder data
Requirement 4: Encrypt transmission of cardholder data across open, public networks

Maintain a Vulnerability Management Program

Requirement 5: Use and regularly update anti-virus software
Requirement 6: Develop and maintain secure systems and applications

Implement Strong Access Control Measures

Requirement 7: Restrict access to cardholder data by business need-to-know
Requirement 8: Assign a unique ID to each person with computer access
Requirement 9: Restrict physical access to cardholder data

Regularly Monitor and Test Networks

Requirement 10: Track and monitor all access to network resources and cardholder data
Requirement 11: Regularly test security systems and processes

Maintain an Information Security Policy

Requirement 12: Maintain a policy that addresses information security

If your website fulfills the above requirements then you are PCI DSS certified otherwise you should audit and try to enfore the above requirements.

Hope the above helped

Realtek audio problem on Intel Desktop board DG31PR

I had recently bought a Core to Duo machine and installed Windows 2003 on it. I had some hesitation installing Windows 2003 on it as people had said that is has limited support for various hardware.

I picked the Intel DG31PR board as it was the most economical in my limited budget. After installing Windows 2003 and service pack 2 I started installing the video, lan and audio drivers. The video and lan device drivers installed successfully. However the audio driver did not. For some reason it failed.

I Googled a bit and found this nice forum MajorGeeks. I downloaded the latest device driver for my hardware. Yet, I still wasn’t provided the exact answer.

I found another forum and they provided the right solution. They told me to first disable and then uninstall the Microsoft UAA Device for high definition audio bus under the System Devices in the Device Manager and the install the latest driver for my device.

Surely after doing these steps my sound came back.

Hope this helps anyone facing this problem.

Firefox not detecting form elements populated through AJAX

While working on a PHP script I encountered a problem which was working fine on IE but not on Firefox.

I was trying to display a list of records through AJAX and user had to select any one to proceed further. To make sure that the user actually selected and then proceeded I placed a JavaScript validation which scanned the list and prompted if there was no selection.

As the list was generated within a form I assumed (like most others) that JavaScript would treat them as form elements and validate them. Surely this assumption was correct for IE but boy was I in a surprise.

Firefox did not recognize those elements at all. Not only that as it did not recognize the whole JavaScript validation code failed thereby allowing the user to proceed which caused problems to the user.

I tried to access these elements by getElementById but that did not work either thereby causing me to think that it was impossible that the browser could not access an element which was visible on the screen. I Googled and found that this problem had been encountered by others as well.

Resolution
Firefox checks for formatting and layout of tags very carefully and does not recognize elements if they do not follow convention. For e.g. the start tag must have an end tag. This was precisely the case with me. I was using <strong> to make the text stand out. Problem was that I had used an extra </strong> tag thus causing the problem on Firefox. I removed the extra tag and tried again. Voila it worked. However I had to use getElementById to access the elements. So, I made the changes and it started to work fine on both IE and Firefox and problem was resolved.

Problem in Internet Explorer when exporting to Excel

On some browsers such as internet explorer the export to Excel might not work. It might give some error that it is not able to download the page and abort export.

This has nothing to do with your code. To resolve this open your internet explorer and go to Tools->Internet Options. Click on the Advanced tab. In the list that appears go to the Do not save encrypted pages to disk and select the check box. Click OK.

Now when you try it will work fine and your problem is resolved.

How to export data into Excel from a browser

If you have some type of report which you would like to export into Excel then you can do so by doing the steps below in PHP:

1. Ideally you should create a separate file which should mimic the one you are trying to export into Excel. So suppose the name of your file is reports.php create another with the name of reports_excel.php

2. Do not include any images and CSS in this file as Excel will not recognize it. For e.g. if you need to change the color of the text then do it the old fashioned way by using the font tag and setting the color and size in it.

3. Once you have created the template and layout in the new file add the following lines at the top of the file:

header("content-type: application/vnd.ms-excel");
header('Content-Disposition: attachment; filename=<your_filename_here>.xls');
header('Pragma: no-cache'); 

4. Now if you run the reports.excel.php file you will see a popup which will ask you to open the Excel sheet in your browser or save it on your hard drive.

5. Save the file and open it and you will see all your data is there in Excel format.

Tips on how to make your website cross-browser compatible

Following tips will help you to make a cross-browser compatible website as all leading browsers such as Internet Explorer, Firefox, Google Chrome, Opera etc are starting to base their markup formatting on W3C standards:

1. Firstly, HTML 4.01 is outdated and the current standard is XHTML 1.0. There are not a lot of differences between the two but what ever differences there are are very important. Please refer to the W3C XHTML standard.

2. W3C also provides a markup validation service which you should use to validate your markup on a regular basis. Chances are that you will face a lot of errors and problems the first time you validate your page but you will learn a lot.

3. It is also a good idea to browse through the W3C CSS standard as that will help you maintain the consistency of the appearance of your page and controls across all browsers.

4. Try to control all your positioning and styling through your CSS and use tables as less as possible.

Hope the above points help you to make better cross-browser compatible websites in the future.

List of job sites

Job seekers all over the world are trying to land that “better job” than the one they currently have and in the process put in some time exploring the overall job market and whats in and whats not.

Job and career websites have sprung up a lot in Pakistan in the past 2-3 years and many candidates use them to maintain their resume and apply for jobs through them.

Some of the top job websites are as follows: