Archive for April, 2010

It is true, text you last copied for pasting (copy & paste) can be stolen when you visit web sites using a combination of JavaScript and ASP (or PHP, or CGI) to write your possible sensitive data to a database on another server.

Fragmentation of the installed base of browsers will only get worse. By definition, it can seldom improve unless absolutely everyone on the planet threw away their elderly browsers and upgraded to the latest gee-whiz versions. But even then, there’s lots of discrepancies between the scripting of the latest Netscape Navigator and Microsoft Net Explorer. The situation makes scripting a challenge, for newcomers who …

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.