Senin, 10 Desember 2012

 Cara Melindungi Flashdisk dari Virus dengan Menggunakan Software
 How to Protect stick from Viruses Using SoftwareOften the USB flash drive yours into a driveway for viruses, malware, spyware onto your PC. Actually you do not have to worry if you have an antivirus on your PC that is always up to date, but to be a disaster for those who do not have an antivirus or have it, it's just rarely updated / antivirus active period is up.  Well, for those of you who frequent high mobility and has had no time to be constantly updating your antivirus, Paseban have some software that can help maintain the security of your flash drive and your PC. And here is how to protect pendrive from viruses:  USB Disk Security  This is the sort of antivirus software, but it is installed on the USB disk, flash disk or whether your external hard drive. The feature is an easy and fairly complete can be your choice to be able to withstand the speed of growth of the virus in the flash disk, and your PC. Not only seek and destroy viruses, registry repair software can be modified by a virus, but it also cleans the USB disk from the data is not important (eg, cache). To use it too easy, if you have installed on the USB drive, you just plug it into a USB port and can be directly autostart (Plug & Play). If you are interested to have it, you can download here that you can get for free with a few features that can be used (for a version of the full version can pay as little as U.S. $ 55.00) and the small size is only 4.43MB.  Panda USB Vaccine  This software is made of Panda Antivirus famous for its lightweight and reliable antivirus. This time Panda USB Vaccine eject function to restrain the rate of the virus spreading from autorun. Therefore, this software has a simple task, which is to protect the system autorun located on each removable disk. In addition, the autorun on your PC are also afforded protection by this software. Just by downloading for 828.96KB, you can protect your PC from viruses and malware threats. Please click here to download for free.  USB Lock AutoProtect  For the protection of data from the hands of ignorant, you can use this software, USB Lock AutoProtect. This software prevents others from using a USB disk without your knowledge, although it has nothing to do with the virus, but the loss of data from the work of human hands, too, is a threat. To prevent very easy, you just slide and save the folder or file you want to protect. In addition, you also can encrypt your USB disk security using passwords that you more awake. With the shareware license and priced at U.S. $ 25.00, it will not matter to you for your safety. Please click here for a download of only 2.05MB.  TrustPort USB Antivirus  One more Antivirus for flash disk, ie TrustPort USB Antivirus. This kind of portable antivirus software can detect viruses and malware on any PC that is attached to the flash disk. Software Plug & Play gives you the protection you periodically when flash disk is still stuck in the PC. In addition to the antivirus, you can use this software to encrypt your important data on a PC. To download it, you can try the trial for 30 days by downloading at 91.1MB or to the full version for U.S. $ 9.99. Please click here to download.  That is some software that you can use to protect your PC and flash disk from a variety of threats, be it from viruses, malware, spyware, and even from the hands of ignorant people act itself. If you are concerned with your safety as a priority, it is better to install software that has Paseban as discussed above. [PNJ]

Jumat, 07 Desember 2012

how to install linux ubuntu


These days many users want to try linux but are in a dilemma that whether they will be able to install linux themselves or not. Installing linux is very easy task but if you think you might not be able toinstall linux or it is not easy to install linux then just read the step by step guide given below and then decide yourself that installing linux is easy or not. I am going to teach how to install ubuntu linux step by step as it is one of the most famous linux os. You can download ubuntu from here. After downloading ubuntu you need to create a cd or live usb Drive. Now lets start installing ubuntu linux
Step 1 : Insert the ubuntu cd in the cd drive and boot the computer from cd. First of all you will be prompted toselect language. elect English or other language according to your preferences.


installing ubuntu linux

.






Step 2 : Now you will see ubuntu menu, you can choose Try ubuntu without installing option to try ubuntu without actually installing it on your hard drive. For installing ubuntu choose the second optionInstall Ubuntu.
install ubuntu








Step 3 : Ubuntu will start now initialize and after few minutes you can see the installation wizard.
select language
Step 4 : Click Forward and it will check the minimum requirements for running ubuntu on your PC. If everything is fine you can see green colored tick marks. You can also select to download updates while installing and install some third party software. After selecting the things you want click forward.
ubuntu requirements
Step 5 : Now you can choose either erase and use entire disk option or specify partitions manuallyoption. You can choose the 1st option if you just want linux to exist in your system. Else select second option. Now it will display the free space available for your pc.
allocate drive space
Select free space and click on Add option to create a new partition and choose partition type as primary, size around 70% of the free space available or choose anything like 10,000 or 20,000mb, use as ext3 journaling file system and select mount point as /.
create partition in ubuntu
Now again select free space from the table and click add option. Now select size to be around 300mb, use as ext3 journaling file system and select mount point as /boot.
creat partition 2
Now again select free space from the table and click add option. Now select size to be around twice the size of your ram that is around 1000 mb if your ram size is 512mb and select use as swap area and click ok.
create swap space
allocate drive space
Step 6 : Click Install now button and then the wizard will ask you location. Select your location and click forward.
select location
Step 7 : While you are selecting these options wizard will continue to copy files. Now select your desired keyboard layout and click forward.
select keyboard layout
Step 8 : Now fill in the details about yourself. Fill your name, computer name, choose a username and create a password and click forward and let ubuntu copy all the essential files.
copying files
Step 9 : After all files have been copied and installed ubuntu will display a message saying that installation complete and click on restart button to restart your computer. Remove the cd from the cd drive.
installation complete
Step 10 : After restarting your pc wait for the ubuntu to load and then it  will display the login screen. Choose the user and enter password and click login.
login
installation finish
Enjoy and explore ubuntu linux. If you still have any doubts or problems leave a comment below and ill try to clear your doubts.

Kamis, 06 Desember 2012



  1. Boot your computer with the Windows 8 Developer installation media.
  2. It may take a few minutes to create the files, and then it will take you to the installation screen. Select the appropriate option and click Next.
  3. Now click on "Install Now" to continue. 
  4. check "Accept the terms and conditions" and then click "Next".
  5. Here we can choose this option if you want to upgrade our windows to windows 8 Developer Edition or want to do a clean install. Select the Custom (Advanced) to continuewith a clean installation.
  6. On this screen you can select the drive you want to install, here we have the ability to manage disks, format, create partition, etc. If you are planning to setup a dual boot then you can select a different drive. After you configure the drive click "Next".
  7. That alone will now begin the installation process, wait for it to finish that takes 10 minutes to 1 hour depending on the hardware configuration.
  8. After completing the installation your computer will reboot and will prepare setting2.Soplease wait a moment.
  9. Now it will take you to personalize your desktop settings. Please select "Express settings" on the screen that contained a description of what the setting will be done.
  10. Unlike other operating systems, the Windows 8 you can login using a Windows Live account. So, you can enter your Windows Live account information.If you do not want to use this loading method, please click on the "I do not want to log in with a Windows LivID".
  11. Now Windows will configure your settings.ow
  12. Once everything is in the setup, then we are treated to views Desktop Windows 8.
  13. Congratulations! You have now successfully installed the Windows 8 Developer edition on your computer. :)









may be useful.



There are two ways in php so that we can upload images and call him back. The first way to save the object image into a database and the second way is to store objects in a folder and store the image file name in the mysql database.

Each has its flaws and kelebihanya include:

The first way to save the image object in the database:
Pros: more practical because the store directly into the database
Disadvantages:

Slower database performance and of course the greater the size of the database
It's hard to picture a physical backup as images are saved in the database
The second way to store objects in a folder and store the image file name in mysql:
Pros: file reading process faster because the folders that are stored on the server
Disadvantages: rather complicated process because they have to take the address and name of the first file in the database and then access the folder

I am personally happy with the way the two because if the automatic database backups are smaller and if you want to back up enough to take a picture file folders only. Therefore, I will discuss the second way.

The first step we have prepared the database used to be like the following example:


CREATE TABLE `tb_gambar` (`id` INT NOT  NULL  AUTO_INCREMENT  PRIMARY  KEY ,
 `judul_gambar` VARCHAR( 30  )  NOT  NULL ,
 `nama_file` VARCHAR( 50  )  NOT  NULL
) ENGINE = MYISAM ; 



Please run the above query in the database that you have created.

Then we make uploadnya form, can be stored in the send-gambar.html

<h2>Contoh Upload Gambar</h2>
<form action="upload.php" method="post" enctype="multipart/form-data" name="FUpload" id="FUpload">
  <p>Judul Gambar :
    <input name="judul_gambar" type="text" id="judul_gambar" size="30" maxlength="30" />
</p>
  <p>File Gambar :
    <input name="nama_file" type="file" id="nama_file" size="30" />
</p> 
  <p><input type="submit" name="btnSimpan" id="btnSimpan" value="Simpan" /></p>:


Do not forget that your form has been created using enctype = "multipart / form-data". You can read my article on How to Make a HTML form.

After that we prepare again a PHP file with the name upload.php with code like the following:


<?php
$namafolder="gambar/"; //tempat menyimpan file
$con=mysql_connect("localhost","namauser","pass") or die("Gagal");
mysql_select_db("db_latihan")  or die("Gagal");
if (!empty($_FILES["nama_file"]["tmp_name"]))
{
    $jenis_gambar=$_FILES['nama_file']['type'];
    $judul_gambar=$_POST['judul_gambar'];
    if($jenis_gambar=="image/jpeg" || $jenis_gambar=="image/jpg" || $jenis_gambar=="image/gif" || $jenis_gambar=="image/x-png")
    {           
        $gambar = $namafolder . basename($_FILES['nama_file']['name']);       
        if (move_uploaded_file($_FILES['nama_file']['tmp_name'], $gambar)) {
            echo "Gambar berhasil dikirim ".$gambar;
            $sql="insert into table (judul_gambar,nama_file) values ('$judul_gambar','$gambar')";
            $res=mysql_query($sql) or die (mysql_error());
        } else {
           echo "Gambar gagal dikirim";
        }
   } else {
        echo "Jenis gambar yang anda kirim salah. Harus .jpg .gif .png";
   }
} else {
    echo "Anda belum memilih gambar";
}
?>




Note:

Folder image is created a folder with the file send-gambar.html, upload.php
Upload above just save the file types jpg, gif, and png
Stored in mysql only title picture, the name of the folder and file names of the images
Example of a full script can be downloaded here

If you encounter an error, perhaps my article about the problem about upload file with php can help you.

How to display images that are stored in a mysql database? Please read the article How to display images from mysql database with php

If you want to see examples / guide / tutorial to make a complete application with php can read my article on Creating Student Data Applications with PHP Part 1, Part 2, Part 3, Part 4, Part 5 and Part 6

Hopefully useful. If you have questions or corrections, please do not hesitate to fill in comments. And if this is useful for you please shared to your teman2.