Since 3 and 4 are integers, these are number arithmetic, since 8 is a string, it’s concatenation, so 78 is the result.

The Confirm box displays two buttons namely OK and Cancel whereas an Alert box displays only one button which is the OK button.

In my opinion a true developer is someone who more focuses on business goal and application design than coding. For developers, PHP is just a tool – a very flexible one indeed and very easy to start with – but it also offers great possibilities even for more experienced programmers. The true developer follows the same path in PHP as he would do …

Are Cyber Criminal GEEKS?

 on April 22, 2010

Governments of the Industrial World, you weary giants of flesh and steel, I come from Cyberspace, the new home of Mind. On behalf of the future, I ask you of the past to leave us alone. You are not welcome among us. You have no sovereignty where we gather.” These lines have been quoted by John Perry Barlow, in A Declaration of the …

The Federal Cabinet approved the adoption of The Prevention of Electronic Crimes Bill 2007 on 17 January 2007. The proposed law titled as Prevention of Electronic Crimes Bill 2007 offers penalties ranging from six months imprisonment to capital punishment for 17 types of cyber crimes, including cyber terrorism, hacking of websites and criminal access to secure data. The bill deals with the electronic …

You can use several different methods of placing javascript on your pages. You can directly add a script element inside the body of page. 1. For example, to add the “last updated line” to your pages, In your page text, add the following: <p>blah, blah, blah, blah, blah.</p> <script type="text/javascript" > <!– Hiding from old browsers document.write("Last Updated:" + document.lastModified); document.close(); // –> …

I/O operations like reading or writing a file is not possible with client-side JavaScript. However, this can be done by coding a Java applet that reads files for the script.

In order to detect the operating system on the client machine, the navigator.appVersion string (property) should be used.

What is an IP Address ?

 on April 7, 2010

Every device connected to the public Internet is assigned by a unique number known as an Internet Protocol (IP) address. IP addresses consist of four numbers separated by periods (also called a ‘dotted-quad’) and look something like 127.0.0.1. In computer networking, an Internet Protocol (IP) address consists of a numerical identification (logical address) that network management assigns to devices participating in a computer …

What is Subnet Mask ?

 on April 6, 2010

A subnet (short for “subnetwork”) is an identifiably separate part of an organization’s network. Typically, a subnet may represent all the machines at one geographic location, in one building, or on the same local area network (LAN). Having an organization’s network divided into subnets allows it to be connected to the Internet with a single shared network address. Without subnets, an organization could …