Sunday, April 28, 2013

Security Tips tkeep your Fb account safe:



Here are 7 things you can do to help keep your account safe:

Pick a strong password: Use a combination of at least six numbers, letters, and punctuation marks (like ! and &)
Make sure your email account(s) are secure
Log out of Facebook when you use a computer you share with other people
Run anti-virus software on your computer:
For Windows
For Mac OS
Add a security question to your account
Use our extra security features
Think before you click or download anything

Security Tips tkeep your Fb account safe:



Here are 7 things you can do to help keep your account safe:

Pick a strong password: Use a combination of at least six numbers, letters, and punctuation marks (like ! and &)
Make sure your email account(s) are secure
Log out of Facebook when you use a computer you share with other people
Run anti-virus software on your computer:
For Windows
For Mac OS
Add a security question to your account
Use our extra security features
Think before you click or download anything

Wednesday, April 24, 2013

JAVASCRIPT VALIDATION (WHY & HOW)


JAVASCRIPT VALIDATION (WHY & HOW)
In the web to add interactivity forms play a major role. To get an input from the user and then to process a request based on the input provided, forms are used. In most of the webpages you would see a form to get some data from you. That can be a Login Form, Registration Form, Comment Form, Mail to Admin form or some special purpose forms which are famous nowadays such as a forms providing Mobile Recharge by requesting Provider Name, Mobile Number, Amount of Recharge, Bank Card Number, Pin Number, etc. You can remember now a form for Booking Train tickets in IRCTC too. Those forms consists of fields, such as Textboxes, Drop Down List boxes, Radio Buttons, Check Boxes, Labels, Submit Buttons and so on. The data is obtained from the users through these fields. Given below is a screenshot of a typical Gmail Registration Page Fig (a) Before Validation Fig (b) After Validation.




Figure (a)



Figure (b)



Before going in to the topic let us discuss some important terms in layman mode about client, server, scripting language, scripts and so on. Let me explain these concepts to you in brief.

Server:
Consider a website is developed in Java. Every website is a project. You should know now, that for executing the project in a local machine, the machine should have some software called a server software. It can be Apache, Tomcat, etc. The computer needs the application software (In this case it could be a JVM). The computer should also have a database application which could be (MySql, Oracle, etc.,). If all the above tools are available in a computer, the project can be executed on that computer. And the computer may now called as a Local Server.
In addition to them, if the computer is connected to Internet, that computer can serve as a server. In this case the computer can be called as a Remote Server.
So let me now tell you in brief what a Server is. A server is a computer which comprises of a Server Software, Application Software, Database needed for the project to be executed on it. If the server is connected to the internet, it may be called as a Remote Server.
A server could serve one or more computers based on its capacity. Let us consider that Gmail.Com in our case, is too located in a Server which is connected to internet. So that we can access the website.

Server Side Scripting Languages:
Server scripting languages are the languages which are used to code the project. The website could be developed using programming language such as C# or VB if the project(website) is developed in .Net. The programming language could be Java if the project(website) is developed in Java. In these cases the languages C#, VB, .Net are called as Server Side Scripting Languages or Server Scripting Languages Since it require a Server software such as a .Net or Java to be installed in server for the execution of the code.

Client Side Scripting Languages:
Client Side scripting languages are the languages which are used in validations and designing the front end of the web pages. Some examples of Client Side Scripting Languages are JavaScript, VBScript, etc. Such languages doesn’t need any explicit software for execution. Web browser itself interprets the code of Client side scripting languages.

Validation Necessary or Not:

Now let us come to a decision that whether validation is mandatory or not. Let us discuss. Consider a Gmail Registration Page, there are certain rules for creating an email id such as


  1. All the fields are mandatory and should not be empty
  2. FirstName and LastName should not contain Digits
  3. Email Id should not contain any special characters except . and _
  4. Password should be atleast 8 characters in length
  5. Mobile Number should contain only digits and no alphabets should be allowed.

The above rules are mandatory in a Gmail registration page, because errors can occur while entering the data and such errors may lead to a faulty processing. These errors are common and they can be validated in Javascript. These can also be validated using C# or Java, but since they are Server Side Scripting Languages, they run on server. For each validation a request will be sent to the server and a response would be received form the server, which increases the load of the server. So the website would react slow. So we should reduce the work load given to the server by performing some actions in client side (Browser) itself. One of the most powerful language used for performing Client Side Validation is Javascript.
So, with the help of Client Side Scripting Languages like JavaScript, we reduce the burden sent to the server. As the code runs on Client Browser, validations are performed very fast. Almost all modern web browsers have the support of JavaScript and so it would be more preferable to use Javascript for Validating Input


Validations can be performed in two levels, such as


  1. Basic Validation
  2. Format Validation



Basic Validation:
The validations for checking for empty fields are called as Basic Validations. All mandatory fields that should be filled up can be validated using these basic validations.
Given below is a Javascript Code which validates a textbox for Non-Empty Values

Code:
<html>
<head>
<title>Form Validation</title>

<script type="text/javascript">

function validate()
{

if( document.myForm.Name.value == "" )
{
alert( "Please provide your name!" );
document.myForm.Name.focus() ;
return false;
}
return( true );
}</script>

</head>
<body>
<form action="/cgi-bin/test.cgi" name="myForm" onsubmit="return(validate());">

<table cellspacing="2" cellpadding="2" border="1">

<tr>
<td align="right">Name</td>
<td><input type="text" name="Name" /></td>
</tr>

<tr>
<td align="right"></td>
<td><input type="submit" value="Submit" /></td>
</tr>

</table>
</form>
</body>
</html>
The above code is a perfect example of an empty field validation. If the above web page is viewed in a browser and if the text box field is empty, after clicking the submit button, it would alert us with a message box with a text “Please provide your name!”

Format Validation
Format Validation is special type of validation by which a filed is validated against user defined conditions such as FirstName and LastName should not contain Digits, Email Id should not contain any special characters except . and _, Password should be atleast 8 characters in length, Mobile Number should contain only digits and no alphabets should be allowed.
Given below is a code which consist of some fields with format validation.

Code:
<html>
<head>
<title>Form Validation</title>
<script type="text/javascript">

function validate()
{
if(isNaN( document.myForm.Zip.value ))
{
alert( "Please provide a zip in the format #####." );
return false;

}
if( document.myForm.Country.value == "-1" )
{
alert( "Please provide your country!" );
return false;
}
return( true );
}

</script>

</head>
<body>
<form action="/cgi-bin/test.cgi" name="myForm"
onsubmit="return(validate());">
<table cellspacing="2" cellpadding="2" border="1">
<tr>
<td align="right">Zip Code</td>
<td><input type="text" name="Zip" /></td>
</tr>
<tr>
<td align="right">Country</td>

<td>
<select name="Country">
<option value="-1" selected>[choose yours]</option>
<option value="1">USA</option>
<option value="2">UK</option>
<option value="3">INDIA</option>
</select>
</td>
</tr>
<tr>
<td align="right"></td>
<td><input type="submit" value="Submit" /></td>
</tr>
</table>
</form>
</body>
</html>
This Javascript code could be quite hard for you to understand. So let me explain it.
isNaN( document.myForm.Zip.value ) 
In this code NaN stands for Not-A-Number. So the code checks the value entered in the ZipCode Field is Not a Number for Not. If it is Not a Number then an alert message must be displayed and the form should not be submitted. So in the IF CONDITION of If(IsNan) we have coded as return false; which means that the form should not be submitted.
document.myForm.Country.value == "-1"
You can note down the option values provided in the HTML code to get the meaning of the code

Option ValueData
-1[choose yours]
1USA
2UK
3INDIA


So, based on the code if the option value is -1 then the form should not be submitted.
This is just a basic to learn Javascript Validation, for more advanced coding refer books or Internet.

THANKYOU FOR READING MY ARTICLE

Birth Day kipah thu Gennna



Amasa in ah ka pianchampha mu thei non dia dam hn piak ziak in Pathian tung a ki pah thu ka gen hi..
Ka pian ciil apat hn na kem a hn na khoi lian ka nu le pa.. Pa Pathian in damna hatna pia in kum sawt khua dam pih din om pih hen cih ka thumna ahi..
laa phuak tu in ana gen swk mah bang in hia leitung aw i khual zin na ahi.. hiai i khual zin sung tomcik ahi a.. kum bg zah i khual zin dia chi a thei Pa lou ngal a om kei.. hiai i khual zin na ah a khen chia lampi hak sia in tou dia, a khen cia lam phei hun om ding ahi,,
anuam a hak hita leh i khual zin na lam pi ttot di sau pi om lai a,, hiai tan hn tung pih ziak in Pa Pathian ka phat ahi amah pang lou hileh, kawl ken se lak bg, lam tou bg a ka pukse khin di,,
lampam sik khial lou kuah mah a om kei, kwn le kana sik khial mun lua huai hun cia hn phong tou tu lawm levual sang gam le deihsak tu te ziak a hun ta
pi ah lampam sik khial di lai ka it non su vaak sak ziak un ki pahthu na tung uah kon gen ahi..
Hun paisa ka et kik chiang in ka khualzin a ah ka na tot khak ka na tun khak na te bang ka ngaih tuah kik chia zin du siam ka sa thei pet mah mai,, amau bamg bang khovel i ki poi moh ahi huai kom kaal ahi.. mi mit sit ding hian zak fah ding hiam kan gen te Toupan hn ngai dam hen aw.. Hiai khual in lampai di sau pi om lai ah hn ki ton pih lawm le vual te aw na tung uah kipah na ni bang hn tang hen aw..

ka pagehttp://www.facebook.com/cjambiakmuan 
ana like sak un.. Thanyou 

Birth Day kipah thu Gennna



Amasa in ah ka pianchampha mu thei non dia dam hn piak ziak in Pathian tung a ki pah thu ka gen hi..
Ka pian ciil apat hn na kem a hn na khoi lian ka nu le pa.. Pa Pathian in damna hatna pia in kum sawt khua dam pih din om pih hen cih ka thumna ahi..
laa phuak tu in ana gen swk mah bang in hia leitung aw i khual zin na ahi.. hiai i khual zin sung tomcik ahi a.. kum bg zah i khual zin dia chi a thei Pa lou ngal a om kei.. hiai i khual zin na ah a khen chia lampi hak sia in tou dia, a khen cia lam phei hun om ding ahi,,
anuam a hak hita leh i khual zin na lam pi ttot di sau pi om lai a,, hiai tan hn tung pih ziak in Pa Pathian ka phat ahi amah pang lou hileh, kawl ken se lak bg, lam tou bg a ka pukse khin di,,
lampam sik khial lou kuah mah a om kei, kwn le kana sik khial mun lua huai hun cia hn phong tou tu lawm levual sang gam le deihsak tu te ziak a hun ta
pi ah lampam sik khial di lai ka it non su vaak sak ziak un ki pahthu na tung uah kon gen ahi..
Hun paisa ka et kik chiang in ka khualzin a ah ka na tot khak ka na tun khak na te bang ka ngaih tuah kik chia zin du siam ka sa thei pet mah mai,, amau bamg bang khovel i ki poi moh ahi huai kom kaal ahi.. mi mit sit ding hian zak fah ding hiam kan gen te Toupan hn ngai dam hen aw.. Hiai khual in lampai di sau pi om lai ah hn ki ton pih lawm le vual te aw na tung uah kipah na ni bang hn tang hen aw..

ka pagehttp://www.facebook.com/cjambiakmuan 
ana like sak un.. Thanyou 

Wednesday, April 10, 2013

Facebook negative impact on teenagers, students and children


Facebook negative impact on teenagers, students and children. Facebook negative impact is increasingly felt, even though the Facebookers many are not aware of the influence of negati facebook.
Perhaps because the name is already addicted to facebook. But it is precisely this that is d
angerous, which is not realized.
Okay, for you the youth and students as well as children, you must know what the negative impact of this facebook. Because of facebook users is dominated by the 14-24 year olds as much as 61.1%.



1. No matter with the surrounding

People who are addicted to facebook too preoccupied with his own world (the world which he created) that does not care about other people and the environment around it. Someone who has been addicted to facebook often experience this. No matter with their surroundings, their world turned into a world of facebook. Some say autism.




2. Lack of socialization with the environment

This impact of too frequent and too old to play facebook. It's quite alarming for the development of the social life of the child. They are supposed to learn socialization with the environment even more to spend more time in cyberspace with friends who average facebooknya discuss something that is not important. As a result the child's verbal abilities declined. Of course autism is here not in the literal sense.
javascript:void(0)
3. Wasting money
Internet access to open facebook obviously affect the financial condition (especially if access from the cafe). And the cost of the Internet in Indonesia is likely to still expensive when compared to other countries (and even many free ones). This could be categorized as waste, because it is not productive. Another matter if they use it for business purposes.



4. Distemper

Too much sitting in front of the monitor without doing any activity, sport has never really pose a risk to health. Disease will be easy to come. Late irregular eating and sleeping. Obesity (overweight), stomach diseases (gastrointestinal), and eye disease are health problems most likely to occur.

5. Reduced learning time

It is obvious, too old to play facebook will reduce the allotted time to study the child as a learner. There are even some who are still busy playing facebook while at school.

6. Lack of attention to family

The family home is number one. The slogan is no longer valid for the Facebookers. Make their friends on facebook is number one. Not infrequently their attention to the family to be reduced.

7. The spread of personal data

Some Facebookers provide data about the data itself with great detail. Usually this is for people who know the Internet was limited to only facebook. They do not know the risk is to spread personal data on the internet. Remember the data is easy once the data on the internet is leaking, let alone facebook easily hacked!

8. Easily find something pornography

It was easy for the Facebookers find something that smells of porn. Because the two things are the most widely searched on the internet and also the easiest to find. nah, it's a fact not adult intenet users of Indonesia. Just use the Internet to search for content "slimy". On facebook would be very easy to find the group ***, group lonely aunt, etc bispak girl group.

9. Prone to the dispute

The lack of control of managers facebook against its members and immaturity facebook users themselves create friction between Facebookers often occur. The most phenomenal example is the case "Evan Brimob" some time ago. Evan Brimob is a new member of the police who know facebook. Please search on google about Evan Brimob wrote with a statement that the controversy: "The police do not need society".

10. Beware of scams ..!

Like other media media, facebook also vulnerable to fraud. Especially for children who do not understand the ins and outs of the internet. For the fraudster themselves, the virtual world conditions that completely anonymous obviously very profitable.

Read more: http://neo-tutorial.blogspot.com/2011/01/10-adverse-effects-facebook-for.html#ixzz2Q5sGql9D

Facebook negative impact on teenagers, students and children


Facebook negative impact on teenagers, students and children. Facebook negative impact is increasingly felt, even though the Facebookers many are not aware of the influence of negati facebook.
Perhaps because the name is already addicted to facebook. But it is precisely this that is d
angerous, which is not realized.
Okay, for you the youth and students as well as children, you must know what the negative impact of this facebook. Because of facebook users is dominated by the 14-24 year olds as much as 61.1%.



1. No matter with the surrounding

People who are addicted to facebook too preoccupied with his own world (the world which he created) that does not care about other people and the environment around it. Someone who has been addicted to facebook often experience this. No matter with their surroundings, their world turned into a world of facebook. Some say autism.




2. Lack of socialization with the environment

This impact of too frequent and too old to play facebook. It's quite alarming for the development of the social life of the child. They are supposed to learn socialization with the environment even more to spend more time in cyberspace with friends who average facebooknya discuss something that is not important. As a result the child's verbal abilities declined. Of course autism is here not in the literal sense.
javascript:void(0)
3. Wasting money
Internet access to open facebook obviously affect the financial condition (especially if access from the cafe). And the cost of the Internet in Indonesia is likely to still expensive when compared to other countries (and even many free ones). This could be categorized as waste, because it is not productive. Another matter if they use it for business purposes.



4. Distemper

Too much sitting in front of the monitor without doing any activity, sport has never really pose a risk to health. Disease will be easy to come. Late irregular eating and sleeping. Obesity (overweight), stomach diseases (gastrointestinal), and eye disease are health problems most likely to occur.

5. Reduced learning time

It is obvious, too old to play facebook will reduce the allotted time to study the child as a learner. There are even some who are still busy playing facebook while at school.

6. Lack of attention to family

The family home is number one. The slogan is no longer valid for the Facebookers. Make their friends on facebook is number one. Not infrequently their attention to the family to be reduced.

7. The spread of personal data

Some Facebookers provide data about the data itself with great detail. Usually this is for people who know the Internet was limited to only facebook. They do not know the risk is to spread personal data on the internet. Remember the data is easy once the data on the internet is leaking, let alone facebook easily hacked!

8. Easily find something pornography

It was easy for the Facebookers find something that smells of porn. Because the two things are the most widely searched on the internet and also the easiest to find. nah, it's a fact not adult intenet users of Indonesia. Just use the Internet to search for content "slimy". On facebook would be very easy to find the group ***, group lonely aunt, etc bispak girl group.

9. Prone to the dispute

The lack of control of managers facebook against its members and immaturity facebook users themselves create friction between Facebookers often occur. The most phenomenal example is the case "Evan Brimob" some time ago. Evan Brimob is a new member of the police who know facebook. Please search on google about Evan Brimob wrote with a statement that the controversy: "The police do not need society".

10. Beware of scams ..!

Like other media media, facebook also vulnerable to fraud. Especially for children who do not understand the ins and outs of the internet. For the fraudster themselves, the virtual world conditions that completely anonymous obviously very profitable.

Read more: http://neo-tutorial.blogspot.com/2011/01/10-adverse-effects-facebook-for.html#ixzz2Q5sGql9D