The Brontok virus is a commonly occuring virus and is transmitted mainly through removable Media drives such as Pen drives, Floppy Disks etc. Brontok appears in the form of a File Folder, with similar icons and has the same name as its parent folder. People …read on
In order to remove an element from the array or hash, we have to use the delete keyword on perl. Using the delete keyword on the key of the hash or array (numeric keyed hash), we can delete elements of a hash or array.
It is usually present in your C: drive hidden and is run on Windows start up using the registry settings. Read on to get rid of this virus.
Net::MySQL is a simple MySQL perl Client to connect to MySQL servers. But Net::MySQL hangs if your result set is having just one row.
#!/usr/bin/perl use Net::MySQL; $mysql = Net::MySQL->new( hostname => 'localhost', database => 'db', user => 'user', password = …read on
Windows 7 file attributes and earlier versions of windows such as XP or 98 is very different. The difference is notable if you use NTFS file system which has more security features.
On Windows 7 if you get "Write Permission Denied" on any file , …read on
By default on Windows 7, the computer sleeps after 30 minutes. Usually power plans and options are more required on laptops, but desktops also do use this setting. This is bad if you want to run some process which has to run for a long …read on
Social Media Buttons or buttons that help you share the content on bookmarking websites such as Stumble Upon, Reddit or Digg or social networking Websites such as Facebook or Twitter. Adding the buttons helps you to expose your content to a broader audience.
There are …read on
unrecognized command line option "-fstack-protector" error usually comes on Cygwin when installing PERL modules. For example when installing the DBI module or DBD::MySQL perl module, the following error comes on cygwin :
cp lib/DBI/Gofer/Serializer/Base.pm blib/lib/DBI/Gofer/Serializer/Base.pm cp dbipport.h blib/arch/auto/DBI/dbipport.h cp lib/DBI/Gofer/Execute.pm blib/lib/DBI/Gofer/Execute.pm cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm cp …read on
The printf or sprintf function is used to format strings in PHP and C programming constructs. sprintf in php returns the formatted string whereas printf just prints the output.
$variable = sprintf("%d %s %d = %d",4,"+",5,9);
printf("%d %s %d = %d",4,"+",5,9);
Two finger flick is a gesture that is used to move forward and backword in applications such as photo viewer software or a browser. This is a feature similar to the one available in Mac which is two touch scrolling. This post describers how to …read on
Warning: Cannot modify header information - headers already sent by somefile.php (output started at somefile.php:###) in somefile.php on line ###
This Warning is shown by PHP when you use the header function to output headers or use the setcookie function to set cookies after … read on
Most of us (atleast those who learned computer networking) grew up learning about the 7 layers of OSI ISO model or the simple 4 layer model. The lowest layer is the physical layer. In this layer all machines are assigned an address called the MAC …read on
In Code Ignitor by default all URLs except the default home contains "index.php" by default in the URL, For example http://localhost/index.php/class/function.
In order to make the URLs "cleaner", we have to remove "index.php" from the URL. This is done using the mod_rewrite module in apache …read on