Quantcast
Channel: Barkamedia » PHP
Viewing all 16 articles
Browse latest View live

Membuat Nomor Urut Dengan SQL Statement

$
0
0

Tips dan trik pemograman PHP dan Mysql untuk mengurutkan data mysql melalui sql statement. Tips ini saya temukan, ketika mengalami kesulitan untuk memberi nomor urut data pada database mysql, melalui Sql Statement.

Dibawah ini adalah sql statement untuk memberi nomor urut data pada mysql :

Jika nomor urutnya angka dari nomor 1 sampai 10 :

Select (@row:=@row+1) as nourut,
namatabel.* FROM namatabel, (SELECT @row := 0) r LIMIT 10

Jika nomor urutnya berupa abjad A,B,C, dst :

Select char((@row:=@row+1)+64) as nourut,
namatabel.* FROM namatabel, (SELECT @row := 0) r LIMIT 10

Mudah-mudahan bermanfaat bagi mereka yang mengalami kesulitan yang sama.



ByteRun Protector for PHP v3.8.2312

$
0
0

ByteRun Protector for PH

Full-featured PHP script encoder that allows developers to distribute PHP projects without revealing source code.
The highest level of protection
All scripts protected by ByteRun Protector for PHP are converted to bytecode and encrypted. These scripts contain no source code, but they are still executable and cross-platform compatible. This time-proved technique is 100% secure.
Control over distribution
You can create trialware scripts (that will expire), limit script usage (by means of domain lock) and add customized copyright information.
Easy project management
ByteRun Protector for PHP makes project management easy. The visual interface is developed to meet the needs of PHP developers. All common tasks can be performed with a single mouse click!

Download Link


Protecting forms using a CAPTCHA

$
0
0

The CAPTCHA approach to securing forms is not new – it first appeared in the late 90′s for domain name submissions to search engines and the like – but with the exponential growth of scripted exploits it’s coming to the fore once again. The main targets are Guestbook and Contact forms, but any online form can be a target for abuse.

The code presented here shows you how to create a simple CAPTCHA graphic with random lines and digits and how to incorporate it into an HTML form to prevent automated submission by malicious scripts.

1. Creating a CAPTCHA graphic using PHP

The following code needs to be saved as a stand-alone PHP file (we call it captcha.php). This file creates a PNG image containing a series of five digits. It also stores these digits in a session variable so that other scripts can know what the correct code is and validate that it’s been entered correctly.

<?PHP // Adapted for The Art of Web: http://www.the-art-of-web.com // Please acknowledge use of this code by including this header. // initialise image with dimensions of 120 x 30 pixels $image = @imagecreatetruecolor(120, 30) or die("Cannot Initialize new GD image stream"); // set background to white and allocate drawing colours $background = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); imagefill($image, 0, 0, $background); $linecolor = imagecolorallocate($image, 0xCC, 0xCC, 0xCC); $textcolor = imagecolorallocate($image, 0x33, 0x33, 0x33); // draw random lines on canvas for($i=0; $i < 6; $i++) { imagesetthickness($image, rand(1,3)); imageline($image, 0, rand(0,30), 120, rand(0,30), $linecolor); } session_start(); // add random digits to canvas $digit = ''; for($x = 15; $x <= 95; $x += 20) { $digit .= ($num = rand(0, 9)); imagechar($image, rand(3, 5), $x, rand(2, 14), $num, $textcolor); } // record digits in session variable $_SESSION['digit'] = $digit; // display image and clean up header('Content-type: image/png'); imagepng($image); imagedestroy($image); ?>

The output of this script appears as follows (reload to see it change):

CAPTCHA

This image is meant to be difficult for ‘robots’ to read, but simple for humans (the Turing test). You can make it more difficult for them by addition of colours or textures, or by using different fonts and a bit of rotation.

We’ve simplified the script presented above as much as possible so that you can easily customise it for your site and add more complexity as necessary. Further down the page you can find examples that use colours, rotation and different fonts, but the basic concept is the same.

2. Adding a CAPTCHA to your forms

In your HTML form you need to make sure that the CAPTCHA image is displayed and that there’s an input field for people to enter the CAPTCHA code for validation. Here’s a ‘skeleton’ of how the HTML code for your form might appear:

<form method="POST" action="form-handler" onsubmit="return checkForm(this);"> ... <p><img src="/captcha.php" width="120" height="30" border="1" alt="CAPTCHA"></p> <p><input type="text" size="6" maxlength="5" name="captcha" value=""><br> <small>copy the digits from the image into this box</small></p> ... </form>

If you’re using JavaScript form validation then you can test that a code has been entered in the CAPTCHA input box before the form is submitted. This will confirm that exactly five digits have been entered, but not say anything about whether they’re the right digits as that information is only available on the server-side ($_SESSION) data.

So again, here’s a skeleton of how your JavaScript form validation script might appear:

<script type="text/javascript"> function checkForm(form) { ... if(!form.captcha.value.match(/^\d{5}$/)) { alert('Please enter the CAPTCHA digits in the box provided'); form.captcha.focus(); return false; } ... return true; } </script>

Finally, in the server-side script that is the target of the form, you need to check that the code entered in the form by the user matches the session variable set by the captcha.php script:

<?PHP if($_POST && all required variables are present) { ... session_start(); if($_POST['captcha'] != $_SESSION['digit']) die("Sorry, the CAPTCHA code entered was incorrect!"); session_destroy(); ... } ?>

It’s important to call session_start() both in the captcha.php script (when seting the session variable) and in the server-side validation script (in order to retrieve the value) as those files are processed independently and can’t otherwise share information. We call session_destroy() only after the form submission has been verified.

You can see this code working in the Feedback form below.

3. Putting it all together

There has been feedback sent by a number of people confused about which code to put where to get this working on their own website. To make it clearer I’ve put together a couple of diagrams which illustrate the two most common solutions.

Here you can see illustrated the simplest and most common setup, but by no means the best solution. The form is checked using JavaScript and then POSTed to another page/script where the data is processed:

A more ‘professional’ solution involves a practice called Post/Redirect/Get (PRG) which means that the data is first processed and then the user is redirected to a landing page:

This avoids a number of issues including problems caused when someone reloads the landing page which in the first configuration would cause all the POST data to be re-submitted.

This can also be implemented using three scripts where the form handler has it’s own file and decides whether to redirect back to the FORM or forward to the landing page depending on whether the data validates.

In any case the PHP form handler code needs to appear as the first item before any HTML code is generated.

4. Upgrading the CAPTCHA to block new bots

The CAPTCHA image presented above was ‘cracked’ after a matter of months by one or two bots. Fortunately a few small changes to the code can send them packing at least for a while.

Here’s some code to ‘jazz up’ our CAPTCHA to give it a better chance of being bot-proof. The sections of code that have been changed are highlighted:

<?PHP // Adapted for The Art of Web: http://www.the-art-of-web.com // Please acknowledge use of this code by including this header. // initialise image with dimensions of 120 x 30 pixels $image = @imagecreatetruecolor(120, 30) or die("Cannot Initialize new GD image stream"); // set background and allocate drawing colours $background = imagecolorallocate($image, 0x66, 0x99, 0x66); imagefill($image, 0, 0, $background); $linecolor = imagecolorallocate($image, 0x99, 0xCC, 0x99); $textcolor1 = imagecolorallocate($image, 0x00, 0x00, 0x00); $textcolor2 = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); // draw random lines on canvas for($i=0; $i < 6; $i++) { imagesetthickness($image, rand(1,3)); imageline($image, 0, rand(0,30), 120, rand(0,30) , $linecolor); } session_start(); // add random digits to canvas using random black/white colour $digit = ''; for($x = 15; $x <= 95; $x += 20) { $textcolor = (rand() % 2) ? $textcolor1 : $textcolor2; $digit .= ($num = rand(0, 9)); imagechar($image, rand(3, 5), $x, rand(2, 14), $num, $textcolor); } // record digits in session variable $_SESSION['digit'] = $digit; // display image and clean up header('Content-type: image/png'); imagepng($image); imagedestroy($image); ?>

And here is the modified CAPTCHA graphic produced by the new code:

CAPTCHA

All we’ve done here is changed the background colour from white to green, the lines from grey to light green and the font colour from black to a mixture of white and black.

This method has now also been cracked by a small number of bots. In recent days we’ve seen 10-20 succesful exploits a day, but we’re not going to give up. Read on for details of a more advanced CAPTCHA.

For information on how the CAPTCHA images can be cracked, read this article.

5. Yet another CAPTCHA

Here’s the next version that we’ve been using until recently. The main change from those presented above is that we now use a larger range of fonts to confuse the spambots. You can find a good resource for GDF fonts under References below. Unfortunately GDF fonts are now hard to come by, but there are alternatives using TrueType (TTF) fonts. The positioning of the lines has also changed to make them more random.

<?PHP // Adapted for The Art of Web: http://www.the-art-of-web.com // Please acknowledge use of this code by including this header. // initialise image with dimensions of 120 x 30 pixels $image = @imagecreatetruecolor(120, 30) or die("Cannot Initialize new GD image stream"); // set background and allocate drawing colours $background = imagecolorallocate($image, 0x66, 0xCC, 0xFF); imagefill($image, 0, 0, $background); $linecolor = imagecolorallocate($image, 0x33, 0x99, 0xCC); $textcolor1 = imagecolorallocate($image, 0x00, 0x00, 0x00); $textcolor2 = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); // draw random lines on canvas for($i=0; $i < 8; $i++) { imagesetthickness($image, rand(1,3)); imageline($image, rand(0,120), 0, rand(0,120), 30 , $linecolor); } // using a mixture of system and GDF fonts $fonts = array(3,4,5); $fonts[] = imageloadfont('$fontdir/bmcorrode.gdf'); $fonts[] = imageloadfont('$fontdir/bmreceipt.gdf'); $fonts[] = imageloadfont('$fontdir/checkbook.gdf'); shuffle($fonts); session_start(); // add random digits to canvas using random black/white colour $digit = ''; for($x = 15; $x <= 95; $x += 20) { $textcolor = (rand() % 2) ? $textcolor1 : $textcolor2; $digit .= ($num = rand(0, 9)); imagechar($image, array_pop($fonts), $x, rand(2, 14), $num, $textcolor); } // record digits in session variable $_SESSION['digit'] = $digit; // display image and clean up header('Content-type: image/png'); imagepng($image); imagedestroy($image); ?>

And here’s the result – a little less readable perhaps for humans, but a lot less readable for robots who were starting to get around the previous version:

CAPTCHA

If you have trouble locating GDF fonts you can also use imagettftext in place of imageloadfont/imagechar which lets you use TTF fonts instead of architecture dependent GD fonts. This is demonstrated in the following section. There are also tools for converting TTF fonts into GD format.

6. A more readable CAPTCHA using TTF fonts

As you can see we’ve upgraded our CAPTCHA image once again. Mainly to make it more human-friendly with larger characters. The new version is similar to the above, but uses a (free) TTF font and some rotation. The background hasn’t changed.

<?PHP // Adapted for The Art of Web: http://www.the-art-of-web.com // Please acknowledge use of this code by including this header. // initialise image with dimensions of 160 x 45 pixels $image = @imagecreatetruecolor(160, 45) or die("Cannot Initialize new GD image stream"); // set background and allocate drawing colours $background = imagecolorallocate($image, 0x66, 0xCC, 0xFF); imagefill($image, 0, 0, $background); $linecolor = imagecolorallocate($image, 0x33, 0x99, 0xCC); $textcolor1 = imagecolorallocate($image, 0x00, 0x00, 0x00); $textcolor2 = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); // draw random lines on canvas for($i=0; $i < 8; $i++) { imagesetthickness($image, rand(1,3)); imageline($image, rand(0,160), 0, rand(0,160), 45, $linecolor); } session_start(); // using a mixture of TTF fonts $fonts = array(); $fonts[] = "ttf-dejavu/DejaVuSerif-Bold.ttf"; $fonts[] = "ttf-dejavu/DejaVuSans-Bold.ttf"; $fonts[] = "ttf-dejavu/DejaVuSansMono-Bold.ttf"; // add random digits to canvas using random black/white colour $digit = ''; for($x = 10; $x <= 130; $x += 30) { $textcolor = (rand() % 2) ? $textcolor1 : $textcolor2; $digit .= ($num = rand(0, 9)); imagettftext($image, 20, rand(-30,30), $x, rand(20, 42), $textcolor, $fonts[array_rand($fonts)], $num); } // record digits in session variable $_SESSION['digit'] = $digit; // display image and clean up header('Content-type: image/png'); imagepng($image); imagedestroy($image); ?>

And here you can see the output of the above script. The TTF fonts used in this example come from the (free) ttf-dejavu-core package on Debian, but there are thousand of Truetype fonts to choose from, many of them free. Typefaces where the characters have gaps or a bit of flair will work better against spambots, but remember it also has to be human-readable.

CAPTCHA

The imagettftext function is quite simple to use in this situation:

imagettftext($image, $fontsize, $angle, $xpos, $ypos, $color, $fontfile, $text);

We’re using a font size of 20 pixels and a rotation ($angle) of between -30 and +30 degrees for each digit. The characters are 30 pixels apart ($xpos) and have a random vertical offset – enough just to touch the top or bottom of the canvas as that makes it tougher for a robot to decipher.

So how long will we need to keep using CAPTCHAs to protect forms? Unfortunately, until Microsoft invents a secure operating system and puts an end to botnets we need to keep evolving our security to stay ahead of the spammers. For small websites something like the above example will work fine. For more popular sites there are any kind of protective measures, but that’s another story.

7. Usability improvements

It’s the little things that make your visitors more relaxed about filling in forms. The code below has been modified to limit the input to only numbers using the onkeyup event, and adding an option to reload/refresh the CAPTCHA image in the case that it’s not readable. .... <p><img id="captcha" src="/captcha.php" width="160" height="45" border="1" alt="CAPTCHA"> <small><a href="#" onclick=" document.getElementById('captcha').src = '/captcha.php?' + Math.random(); document.getElementById('captcha_code').value = ''; return false; ">refresh</a></small></p> <p><input id="captcha_code" type="text" name="captcha" size="6" maxlength="5" onkeyup="this.value = this.value.replace(/[^\d]+/g, '');"> <small>copy the digits from the image into this box</small></p> ...

In your form, the CAPTCHA section will then appear something like the following:

Security Check CAPTCHA refresh CAPTCHA* <- copy the digits from the image into this box
You can see this code in action in the Feedback form at the bottom of the page, using the latest CAPTCHA.


Membuat Captcha Dengan PHP

$
0
0

Bagaimana Membuat Captcha Dengan PHP ? … atau Cara membuat Captcha  Dengan PHP… ? … menjawab dari pertanyaan Tersebut Ebsof, akan menjelaskan dalam tutorial di bawah ini..

Captcha.. Captcha adalah salah satu bentuk validasi Form, yang digunakan untuk menangkal spam atau kejahatan yang orang lain lakukan terhadap aplikasi. Captcha dapat berupa gambar, tulisan, Penjumlahan Matematika. dan sebagainya.
Contoh : pada Aplikasi Buku Tamu.. Jika ditambah lagi dengan Cpatcha.. pastil lebih full.. tinggal di kombinasikan dengan script di bawah ini
Berikut ini captcha yang akan kita buat :

Cukup mantap bukan,,,,? Dengan ini robot akan kewalahan untuk malakukan spam… weeeeeee

Langsung aja.. Kita Masuk dalam Tutorial Membuat Captcha Dengan PHP:

1.Buka editor kesayangan anda.. buatlah file “captcha.php” berikut ini codenya :

  1. <?php
  2.     class RandomChar{
  3.         function LoopChar($min, $max){
  4.             for($i=$min;$i<=$max;$i++){
  5.                 $ret .= chr($i);
  6.             }
  7.             return($ret);
  8.         }
  9.         function GenerateRandomChar($digit, $capital, $small, $number){
  10.             if($number) $data = $this->LoopChar(48, 57);
  11.             if($capital) $data .= $this->LoopChar(65, 90);
  12.             if($small) $data .= $this->LoopChar(97, 122);
  13.             $ret = $data[mt_rand(0, (strlen($data)-1))];
  14.             for($i=1;$i<$digit;$i++){
  15.                 $ret .= $data[mt_rand(0, (strlen($data)-1))];
  16.             }
  17.             return($ret);
  18.         }
  19.     }
  20.     class captcha extends RandomChar{
  21.         function captcha(&$session, $width, $height, $chars){
  22.             $fontfile     = ”comic.ttf”;
  23.             $fontsize     = 11;
  24.             $code     = $this->GenerateRandomChar($chars, true, false, false);
  25.             //$imgBg    = imagecreatefromjpeg(“captcha/captchabg.jpg”);
  26.             $imgDst = imagecreate($width, $height);
  27.             //imagecopy($imgDst, $imgBg,
  28.             //            0, 0, 0, 0,
  29.             //            imageSX($imgBg),
  30.             //            imageSY($imgBg));
  31.             imagecolorallocate($imgDst, 255, 255, 255);
  32.             //dots
  33.             $area = ($width*$height)/5;
  34.             $dots_color = imagecolorallocate($imgDst, 255, 0, 255);
  35.             for($i=0;$i<$area;$i++){
  36.                 imagefilledellipse($imgDst, mt_rand(0, $width), mt_rand(0, $height),
  37.                                     1, 1, $dots_color);
  38.             }
  39.             //text
  40.             $textbox    = imagettfbbox($fontsize, 0, $fontfile, $code);
  41.             $textcolor     = imagecolorallocate($imgDst, 0, 0, 255);
  42.             imagettftext($imgDst, $fontsize, 0,
  43.                             ($width-$textbox[4])/2,
  44.                             ($height-$textbox[5])/2,
  45.                             $textcolor,
  46.                             $fontfile, $code);
  47.             imagejpeg($imgDst);
  48.             //imageDestroy($imgBg);
  49.             imageDestroy($imgDst);
  50.             $session = $code;
  51.         }
  52.     }
  53.     session_start();
  54.     header(“Content-type: image/jpeg”);
  55.     $width      = $_GET['width']  ? $_GET['width']  : 100;
  56.     $height  = $_GET['height'] ? $_GET['height'] : 20;
  57.     $chars     = $_GET['chars']  ? $_GET['chars']  : 6;
  58.     //$session = &$_SESSION['securityCode'];
  59.     $captcha = new captcha($_SESSION['securityCode'], $width, $height, $chars);
  60. ?>

2. Setelah itu, buat file “index.php” untuk membuat Form … berikut ini script nya :

  1. <form method=”post” action=”post.php”>
  2. <img src=”captcha.php?random=<?echo(mt_rand());?>”/>
  3. <input type=”text” name=”captcha” size=”10″/> <input type=”submit” value=”Submit”/>
  4. </form>

3. Yang Terakhir buat file “post.php” digunkan sebagai proses form … berikut script nya :

  1. <?php
  2.     session_start();
  3.     //Pengecekkan terhadap captcha yang di masukkan user Jika bernilai benar
  4.     if(isset($_SESSION['securityCode']) && $_SESSION['securityCode'] == $_POST['captcha']){
  5.         //Jalankan query yang ingin anda jalankan
  6.         echo(‘Security Code Benar’);
  7.         unset($_SESSION['securityCode']);
  8.     //Jika captcha yang di masukkan tidak benar /salah
  9.     }else{
  10.     //tampilkan pesan
  11.         echo(‘Security Code Salah’);
  12.     }
  13. ?>
  14. <a href=”index.php”>[balik]</a>

5. Download File Font nya supaya bisa keluar captcha nya .
6. Selesai.. Jangan lupa Simpan di satu Folder ke 4 file tersebut (index.php, post.php, font ,captcha.php)

Untuk Source Code nya Silahkan Download Script Captcha Dengan PHP
Demikianlah Artikel “Membuat Captcha Dengan PHP” semoga bermanfaat

Making String with random number and alphabets

$
0
0

We can generate a set of random digits by combining a set of alphabets and numbers. After this our random string will have a random combination of alphabets and numbers. You can read how to generate random numbers by reading math random generator and how to generate random alphabets here .

We will use these two methods to generate random numbers and random characters. We will add ( or combine ) these two to get our random string. Here to get a combination we will use random methods so the positions of numbers and alphabets are not fixed.

Using this you can generate random password strings for any application ( like login script etc )

Now we will keep the script inside a function and use it when required. Here we will make it flexible by accepting one input to the function by which we will tell how many digits are required. So the length of the random string can be managed based on the script design.

Here is the full function with detail explanation with it ( read the comments )

<?
function random_generator($digits){
srand ((double) microtime() * 10000000);
//Array of alphabets
$input = array (“A”, “B”, “C”, “D”, “E”,”F”,”G”,”H”,”I”,”J”,”K”,”L”,”M”,”N”,”O”,”P”,”Q”,
“R”,”S”,”T”,”U”,”V”,”W”,”X”,”Y”,”Z”);

$random_generator=”";// Initialize the string to store random numbers
for($i=1;$i<$digits+1;$i++){ // Loop the number of times of required digits

if(rand(1,2) == 1){// to decide the digit should be numeric or alphabet
// Add one random alphabet
$rand_index = array_rand($input);
$random_generator .=$input[$rand_index]; // One char is added

}else{

// Add one numeric digit between 1 and 10
$random_generator .=rand(1,10); // one number is added
} // end of if else

} // end of for loop

return $random_generator;
} // end of function

echo random_generator(10);

?>

PHP Report Maker v6.0.0 Incl License Key

$
0
0

PHP Report Maker v6 Full Version - Merupakan software untuk webmaster yang di berguna untuk memudahkan anda dalam membuat report PHP dari MySQL, PostgreSQL, Microsoft Access, Microsoft SQL Server dan database Oracle. Dengan menggunakan PHP Report Maker anda tidak hanya dapat dengan mudah membuat suatu report dengan PHP, tetap juga bisa membuat report sesuai dengan query yang anda inginkan. Software ini di rancang untuk fleksibilitas tinggi dan di dalamnya terdapat beragam fitur yang tentunya dapat memudahkan anda untuk membuat suatu report dengan mudah, untuk Script PHP yang di hasilkan dapat dijalankan pada Windows server (MySQL / PostgreSQL / Access / MSSQL / Oracle) atau Linux / Unix server (MySQL / PostgreSQL / Oracle).

Features PHP Report Maker v6
Export to PDF with Charts
Supports exporting report to PDF with charts. (Requires Flash support in browsers and FusionCharts extension for registered users.)
Export to Native Excel Spreadsheet with Charts
Supports exporting report to native Excel file (.xls or .xlsx) with charts as image. (Requires Flash support in browsers, PHPExcel and FusionCharts extension for registered users.)
Dynamic Selection List for Extended Filters
Parent/Child selection in Extended Filters
Searching Comma Separated Values with Extended Filters
Search comma separated values (e.g. “Red,Blue,Gray”) with checkboxes or select-multiple selection list
Ajax Popup Filter
Popup filters are now loaded by Ajax. Page initial loading time greatly reduced for reports with multiple popup filters or with large number of distinct values in the popup filter.
Page Breaks for Printing
Page size setting for export. Insert page breaks to exported document for better printing.
Menu for Mobile Devices
Automatically detect mobile devices and use mobile menu to spare more space for content. HTML5 charts will also be used for mobile devices for better compatibility.
More Server Events
  • Page_Selecting – customize the filter to change the records to be selected for the report
  • Page_Filtering – customize the WHERE clause built from the filter and/or Extended Filters
  • UserID_Filtering – modify, replace or add filter so the user can access more or less records allowed by User ID Security
  • Page_Breaking – customize page break during export
Many More
  • Updated DOMPDF (0.6.0 beta 3) extension (reduced rendering time)
  • Updated FusionCharts (FusionCharts XT v3.2.2 SR5) extension (for registered users only)
  • Allow different chart renderers (Flash/HTML5) for charts in the same page
  • Sort order and filter clause for Extended Filters
  • Allow login by URL
  • Option to generate scripts without header and footer
  • Expand/Collapse filter panel automatically (if “Initiate filter panel collapsed” enabled)
  • Locale settings in language file
  • Email with TLS/SSL
  • Export to email with charts as embedded images
  • Improved filter panel default values
  • Improved compact summary only view
  • Summary report without grouping fields
  • Option to skip null and zero values when calculating summary values
  • Visible property of field object (for use with server events to show/hide fields)
  • Faster code generation by JScript engine
  • IIS Express as testing server
  • jQuery library included
  • Various other minor improvements
Link download
Mirror via Rapidshare
Mirror via Sharebeast
Mirror via Zippyshare
Mirror via BillionUploads
Link password: koskomputer
Installasi
1. Ekstrak rar
2. Install PHP Report Maker & run programnya
3. Click “Help” > Click “Register”
4. Enter License name & Key > Restart programnya
5. Enjoy

Membuat aplikasi data mahasiswa dengan PHP (Part1)

$
0
0

membuat aplikasi mahasiswa dengan phpPada artikel ini saya akan menjelaskan langkah-langkah secara lengkap membuat aplikasi data mahasiswa dengan php. Bahasan akan saya bagi menjadi beberapa bagian yaitu Langkah Membuat database, Membuat koneksi database, membuat menu utama, membuat form input data, membuat proses simpan dan upload gambar, membuat laporan membuat pencarian, membuat delete data, membuat form update, membuat proses update, membuat tabel login, membuat proses login, dan terakhir membuat proses logout.

Secara pembahasan, saya tidak mengikat pada penggunaan aplikasi bantu yang artinya anda bisa membuatnya dengan editor apa saja, bisa dreamweaver, notepad, notepad plus atau yang lainya, yang penting bisa mengedit file php. Web server yang saya gunakan xampp 1.7.1 dengan spesifikasi :
+ Apache 2.2.11
+ MySQL 5.1.33 (Community Server)
+ PHP 5.2.9
+ phpMyadmin

Membuat database dan tabel mahasiswa

Nama database : db_datamhs
Nama tabel : tb_mahasiswa
Susunan tabel :

  1. nim tipe char (12) primary
  2. nama  tipe varchar(30)
  3. alamat tipe varchar (100)
  4. tempat_lahir  tipe varchar(30)
  5. tanggal_lahir  tipe date
  6. jenis_kelamin  tipe enum(‘L’,’P’)
  7. photo tipe varchar(100)

Query Membuat tabel mahasiswa

CREATE TABLE  `db_datamhs`.`tb_mahasiswa` ( 
  `nim` CHAR(  12 )  NOT NULL  ,
  `nama` VARCHAR( 30 ) NOT  NULL ,
  `alamat` VARCHAR( 100 ) NOT  NULL ,
  `tempat_lahir` VARCHAR( 30 ) NOT  NULL ,
  `tanggal_lahir` DATE  NOT NULL  ,
  `jenis_kelamin` ENUM(  'L', 'P'  ) NOT  NULL ,
  `photo` VARCHAR( 100 ) NOT  NULL ,
  PRIMARY KEY  ( `nim`  ) 
  ) ENGINE = MYISAM  ;

Tampilan hasil tabel pada phpmyadmin

php data mahasiswa

Membuat folder aplikasi web data mahasiswa

Aplikasi data mahasiswa ini akan saya simpan dalam folder data-mahasiswa. Saya buka folder xampp (jika di c:/xampp atau di d:/xampp) dan masuk folder htdocs. Setelah itu saya create new folder dengan nama :
data-mahasiswa

Membuat Koneksi Database

Dengan berhasilnya database dan tabel dibuat maka sekarang, membuat koneksi dari php ke database dan tabel mysql yang sudah dibuat. Saya akan buat file baru dengan jenis php dan disimpan dengan nama koneksi.php dan dalamnya saya buat kode php :

<?php
  $dbserver="localhost";
  $dbusername="root";
  $dbpassword="";
  $dbname="db_mahasiswa";
  mysql_connect($dbserver,$dbusername,$dbpassword)  or die(mysql_error());
  mysql_select_db($dbname) or die  (mysql_error());
?>

Download file koneksi aplikasi data mahasiswa.

Membuat Menu Utama aplikasi web data mahasiswa

Menu utama digunakan untuk mengakses halaman keseluruhan dari aplikasi data mahasiswa ini. Susunan menu yaitu : Tambah Data Mahasiswa dan Laporan Data Mahasiswa. Saya buat sebuah file dari php dengan nama index.php dengan isi sebagai berikut :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html  xmlns="http://www.w3.org/1999/xhtml">
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Menu  Utama Data Mahasiswa</title>
  </head>
  <body>
  <h1 align="center">Data Mahasiswa</h1>
  <p align="center"><a href="input-data-mahasiswa.php">Input Data Mahasiswa</a></p>
  <p align="center"><a href="laporan-data-mahasiswa.php">Laporan Data Mahasiswa  </a></p>
  <p>&nbsp;</p>
  <p align="center">Dikembangkan oleh <a  href="http://www.zainalhakim.web.id">www.zainalhakim.web.id</a></p>
  </body>
</html>

Sekarang saya sudah bisa jalankan dengan mengetik http://localhost/data-mahasiswa dan hasilnya :
php data mahasiswa - menu utama

Tampilan nanti bisa diperbagus dengan menyisipkan kode css (saya akan bahas lain kali)

Download menu utama aplikasi data mahasiswa

Saya akan lanjutkan pada bagian 2 : Membuat aplikasi data mahasiswa dengan PHP – Bagian 2

Semoga Bermanfaat, kritik saran, koreksi, pertanyaan jangan sungkan anda sampaikan. Silahkan berbagi buat yang lain jika ini menurut anda baik.


Importing Excel files into MySQL with PHP

$
0
0

If you have Excel files that need to be imported into MySQL, you can import them easily with PHP. First, you will need to download some prerequisites:

PHPExcelReader – http://sourceforge.net/projects/phpexcelreader/
Spreadsheet_Excel_Writer – http://pear.php.net/package/Spreadsheet_Excel_Writer

Once you’ve downloaded both items, upload them to your server. Your directory listing on your server should have two directories: Excel (from PHPExcelReader) and Spreadsheet_Excel_Writer-x.x.x (from Spreadsheet_Excel_Writer). To work around a bug in PHPExcelReader, copy oleread.inc from the Excel directory into a new path:

Spreadsheet/Excel/Reader/OLERead.php

The PHPExcelReader code will expect OLERead.php to be in that specific location. Once that is complete, you’re ready to use the PHPExcelReader class. I made an example Excel spreadsheet like this:

Name                Extension   Email
----------------------------------------------------
Jon Smith           2001        jsmith@domain.com
Clint Jones         2002        cjones@domain.com
Frank Peterson      2003        fpeterson@domain.com

After that, I created a PHP script to pick up the data and insert it into the database, row by row:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require_once 'Excel/reader.php';
$data = new Spreadsheet_Excel_Reader();
$data->setOutputEncoding('CP1251');
$data->read('exceltestsheet.xls');

$conn = mysql_connect("hostname","username","password");
mysql_select_db("database",$conn);

for ($x = 2; $x < = count($data->sheets[0]["cells"]); $x++) {
    $name = $data->sheets[0]["cells"][$x][1];
    $extension = $data->sheets[0]["cells"][$x][2];
    $email = $data->sheets[0]["cells"][$x][3];
    $sql = "INSERT INTO mytable (name,extension,email) 
        VALUES ('$name',$extension,'$email')";
    echo $sql."\n";
    mysql_query($sql);
}

After the script ran, each row had been added to the database table successfully. If you have additional columns to insert, just repeat these lines, using an appropriate variable for each column:

$variable = $data->sheets[0]["cells"][$row_number][$column_number];

 



How to alter all tables in MYSQL with only one command

$
0
0

<?php
// your connection
mysql_connect("localhost","root","***");
mysql_select_db("db1");

// convert code
$res = mysql_query("SHOW TABLES");
while ($row = mysql_fetch_array($res))
{
foreach ($row as $key => $table)
{
mysql_query("ALTER TABLE " . $table . " CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci");
echo $key . " =&gt; " . $table . " CONVERTED<br />";
}
}
?>


Download PHPMaker 9.0.1 (with extensions)

$
0
0

PHPMaker is a powerful automation tool that can generate a full set of PHP quickly from MySQL, PostgreSQL, Microsoft Access, Microsoft SQL Server and Oracle databases. Using PHPMaker, you can instantly create web sites that allow users to view, edit, search, add and delete records on the web. PHPMaker is designed for high flexibility, numerous options enable you to generate PHP applications that best suits your needs. The generated codes are clean, straightforward and easy-to-customize. The PHP scripts can be run on Windows servers (MySQL/PostgreSQL/Access/MSSQL/Oracle) or Linux/Unix servers (MySQL/PostgreSQL/Oracle). PHPMaker can save you tons of time and is suitable for both beginners and experienced develpers alike.

Download link (key/license or crack included):
http://extabit.com/file/2b3vhgbnik96i/


PHPMaker 9.2 Remove Left Menu Link

$
0
0

by gazza » Tue Apr 23, 2013 5:13 am

Hi, How do I remove the Link in the Left Column?
I don’t want to show the link, can that Column be deleted?

Many Thanks

———

by Masino Sinaga » Tue Apr 23, 2013 9:08 am

You may use jQuery for this. Simply put the following code into “Client Scripts” -> “Global” -> “Pages with header/footer” -> “Startup Script”:
$(“.ewMenuColumn”).remove();

If you are using the Horizontal layout menu, then simply use this code:
$(“.ewMenuRow”).remove();

Sincerely,
Masino Sinaga


COPY row that contains FILE

$
0
0
my xxxadd.php file work properly when i execute COPY row that contains text only, but it does not work when i execute COPY row that contains FILE or IMAGE.
my browser (Mozilla Firefox) just say:

“The connection was reset.
The connection to the server was reset while the page was loading.”

what happened with my xxxadd.php file? what to do to solve this?

——-
In Add page, look for:

$newfilename = ew_UniqueFilename($YourTable->YourField->UploadPath, $rsold->fields['YourField']);

change it to:

$newfilename = ew_UniqueFilename($this->YourField->UploadPath, $rsold->fields['YourField']);

——
yes, it works, after change it to: $newfilename = ew_UniqueFilename($this->MyField->UploadPath, $rsold->fields['MyField']);\
thank you.

if I have to change the template file
1. what file should I change?
2. and what code would I change?

—–
Use User Code (see User Code in help file), e.g.

SYSTEMFUNCTIONS.Script.replace(/ew_UniqueFilename\(\$\w+->(\w+)->UploadPath/, “ew_UniqueFilename($this->$1->UploadPath”);

—–
i have opened usercode.js in C:\Program Files\PHPMaker 9\src\ and i added it with your code:
SYSTEMFUNCTIONS.Script.replace(/ew_UniqueFilename\(\$\w+->(\w+)->UploadPath/, “ew_UniqueFilename($this->$1->UploadPath”);
than the problem with COPY row that contains FILE is solved.
thank you.

problem with arabic text

$
0
0
i have wrote arabic text الله اكبر in my form (xxxadd.php), but the output is like this : ???? ????
how to solve this?
—–
Make sure your database and your project use proper charset, e.g. utf-8.
—–
i have setup1- MySQL charset: UTF-8 Unicode (utf8)
2- MySQL connection collation: utf8_general_ci
3- my database and table collations are set to: utf8_general_ci
4. my phpmaker project: utf-8but the output is still like this : ???? ????
how to solve this?
—–
If everything is in utf-8, it must work. Double check, and make sure you do not copy and paste from a source that is not in utf-8. And make sure your browser is using utf-8 for the page.
—–
everything is in utf-8 and i do not copy and paste from a source, but it still does not work..this is part of my config :define(“EW_ENCODING”, “UTF-8″, TRUE); // Character encodingdefine(“EW_MYSQL_CHARSET”, “utf8″, TRUE);
—–
everything is in utf-8 and i do not copy and paste from a source, but it still does not work..this is part of my config :define(“EW_ENCODING”, “UTF-8″, TRUE); // Character encodingdefine(“EW_MYSQL_CHARSET”, “utf8″, TRUE);

——————

and this is my table :

SET FOREIGN_KEY_CHECKS=0;

– —————————-
– Table structure for `news`
– —————————-
DROP TABLE IF EXISTS `news`;
CREATE TABLE `news` (
`ID` int(11) NOT NULL auto_increment,
`TITLE` varchar(255) character set latin1 default NULL,
`DETAIL` longtext character set latin1,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM AUTO_INCREMENT=44 DEFAULT CHARSET=utf8;

– —————————-
– Records of news
– —————————-
INSERT INTO `news` VALUES (’43′, ‘hggi’, ‘????’);

note : values ‘????’ is incorrect value that i was typing الله

so what to to to solve this?

——–
everything is in utf-8 and i do not copy and paste from a source, but it still does not work..this is part of my config :define(“EW_ENCODING”, “UTF-8″, TRUE); // Character encodingdefine(“EW_MYSQL_CHARSET”, “utf8″, TRUE);

——————

and this is my table :

SET FOREIGN_KEY_CHECKS=0;

– —————————-
– Table structure for `news`
– —————————-
DROP TABLE IF EXISTS `news`;
CREATE TABLE `news` (
`ID` int(11) NOT NULL auto_increment,
`TITLE` varchar(255) character set latin1 default NULL,
`DETAIL` longtext character set latin1,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM AUTO_INCREMENT=44 DEFAULT CHARSET=utf8;

– —————————-
– Records of news
– —————————-
INSERT INTO `news` VALUES (’43′, ‘hggi’, ‘????’);

note : values ‘????’ is incorrect value that i was typing الله

so what to to to solve this?

——-
i have removed “character set latin1″ in my table schema, and my problem with arabic text is SOLVED, event the text is taken from copy and paste from a source.
thank you

Facebook Style Messaging System Database Design.

$
0
0
This post explains you how to design the Facebook Style message conversation system using PHP and MySQL. I have been working with messaging system at labs.9lessons.info, take a quick look at this post, how I have implemented database design tables and SQL queries. Login at labs.9lessons.info and try this live demo.

 

Message Conversation Database Design.


Live Demo

Previous Tutorials:Database Design Create Tables and Relationships with SQL

Database Design
To build the message conversation system, you have to create three tables such as Users, Conversation and Conversation_Reply. This following image generated by using Mysql Workbench tool.

Users Table

User table contains all the users registration details.

CREATE TABLE `users` (
`user_id` int NOT NULL PRIMARY KEY AUTO_INCREMENT ,
`username` varchar(25) NOT NULL UNIQUE,
`password` varchar(50) NOT NULL ,
`email` varchar(100) NOT NULL
);

Data will store in following way, here the password data encrypted with MD5 format.

Message Conversation Database Design.

 

Conversation Table

This table contains conversation relation data between registered users. Here user_one and user_two are FOREIGN KEY to REFERENCES users.user_id

CREATE TABLE   `conversation` (
`c_id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT,
`user_one` int(11) NOT NULL,
`user_two` int(11) NOT NULL,
`ip` varchar(30) DEFAULT NULL,
`time` int(11) DEFAULT NULL,
FOREIGN KEY (user_one) REFERENCES users(user_id),
FOREIGN KEY (user_two) REFERENCES users(user_id)
);

 

Message Conversation Database Design.

 

Conversation Reply Table

Contains all user conversation replys data. Here user_id_fk is FOREIGN KEY to REFERENCES users.user_id and c_id_fk is FOREIGN KEY to REFERENCES conversation.c_id

CREATE TABLE `conversation_reply` (
`cr_id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT,
`reply` text,
`user_id_fk` int(11) NOT NULL,
`ip` varchar(30) NOT NULL,
`time` int(11) NOT NULL,
`c_id_fk` int(11) NOT NULL,
FOREIGN KEY (user_id_fk) REFERENCES users(user_id),
FOREIGN KEY (c_id_fk) REFERENCES conversation(c_id)
);
Message Conversation Database Design.

Conversation List
Data relations between users and conversation tables. Take a look at the following SQL statement users table object as U and conversation table object as C . Here user_one = ’13′ and user_two=’13′ refers to users table user_id value.

SELECT U.user_id,C.c_id,U.username,U.email
FROM users U,conversation C
WHERE 
CASE

WHEN C.user_one = ‘13
THEN C.user_two = U.user_id
WHEN C.user_two = ‘13
THEN C.user_one= U.user_id
END

AND
(C.user_one =’13‘ OR C.user_two =’13‘) ORDER BY C.c_id DESC

 

Message Conversation Database Design.

Conversation Last Message
Getting the reply results for conversation c_id=’2′ from conversation_reply table.

SELECT cr_id,time,reply
FROM conversation_reply
WHERE c_id_fk=’2′
ORDER BY cr_id DESC LIMIT 1

PHP Code
Contains PHP code. Displaying username arun conversation results

<?php
$query= mysql_query(“SELECT u.user_id,c.c_id,u.username,u.email
FROM conversation c, users u
WHERE CASE
WHEN c.user_one = ‘$user_one’
THEN c.user_two = u.user_id
WHEN u.user_two = ‘$user_one’
THEN c.user_one= u.user_id
END
AND (
c.user_one =’$user_one’
OR c.user_two =’$user_one’
)
Order by c.c_id DESC Limit 20″) or die(mysql_error());

while($row=mysql_fetch_array($query))
{
$c_id=$row['cid'];
$user_id=$row['user_id'];
$username=$row['username'];
$email=$row['email'];
$cquery= mysql_query(“SELECT R.cr_id,R.time,R.reply FROM conversation_reply R WHERE R.c_id_fk=’$c_id’ ORDER BY R.cr_id DESC LIMIT 1″) or die(mysql_error());
$crow=mysql_fetch_array($cquery);
$cr_id=$crow['cr_id'];
$reply=$crow['reply'];
$time=$crow['time'];
//HTML Output.

}
?>

 

Message Conversation Database Design.

Conversation Updates
Data relations between users and conversation_reply tables. The following SQL statement users table object as U and conversation_reply table object as R . Here c_id_fk = ’2′ refers to convesation table c_id value.

SELECT R.cr_id,R.time,R.reply,U.user_id,U.username,U.email
FROM users U, conversation_reply R
WHERE R.user_id_fk=U.user_id AND R.c_id_fk=’2′
ORDER BY R.cr_id DESC

 

Message Conversation Database Design.

PHP Code
Contains PHP code, displaying conversation c_id=2 reply results.

<?php
$query= mysql_query(“SELECT R.cr_id,R.time,R.reply,U.user_id,U.username,U.email FROM users U, conversation_reply R WHERE R.user_id_fk=U.user_id and R.c_id_fk=’$c_id’ ORDER BY R.cr_id ASC LIMIT 20″) or die(mysql_error());
while($row=mysql_fetch_array($query))
{
$cr_id=$row['cr_id'];
$time=$row['time'];
$reply=$row['reply'];
$user_id=$row['user_id'];
$username=$row['username'];
$email=$row['email'];
//HTML Output

}
?>

 

Message Conversation Database Design.

Conversation Check
Following query will verify conversation already exists or not.

SELECT c_id
FROM conversation
WHERE
(user_one=’13′ AND user_two=’16′)
OR
(user_one=’16′ AND user_two=’13′)

Creating Conversation

//Creating Conversation
INSERT INTO conversation
(user_one,user_two,ip,time)
VALUES
(’13′,’16′,’122.3.3.7′,’122.3.3.7′);

//Conversation Reply Insert
INSERT INTO conversation_reply
(user_id_fk,reply,ip,time,c_id_fk)
VALUES
(’13,’How are you’,’122.3.3.7′,’122.3.3.7′,’2′);

PHP Code Creating Conversation.

<?php
$user_one=mysql_real_escape_string($_GET['user_session']);
$user_two=mysql_real_escape_string($_GET['user_two']);
if($user_one!=$user_two)
{
$q= mysql_query(“SELECT c_id FROM conversation WHERE (user_one=’$user_one’ and user_two=’$user_two’) or (user_one=’$user_two’ and user_two=’$user_one’) “) or die(mysql_error());
$time=time();
$ip=$_SERVER['REMOTE_ADDR'];
if(mysql_num_rows($q)==0)
{
$query = mysql_query(“INSERT INTO conversation (user_one,user_two,ip,time) VALUES (‘$user_one’,'$user_two’,'$ip’,'$time’)”) or die(mysql_error());
$q=mysql_query(“SELECT c_id FROM conversation WHERE user_one=’$user_one’ ORDER BY c_id DESC limit 1″);
$v=mysql_fetch_array($q);
return $v['c_id'];
}
else
{
$v=mysql_fetch_array($q);
return $v['c_id'];
}
}
?>

PHP Code – Inserting Reply

<?php
$reply=mysql_real_escape_string($_POST['reply']);
$cid=mysql_real_escape_string($_POST['cid']);
$uid=mysql_real_escape_string($uid_session);
$time=time();
$ip=$_SERVER['REMOTE_ADDR'];
$q= mysql_query(“INSERT INTO conversation_reply (user_id_fk,reply,ip,time,c_id_fk) VALUES (‘$uid’,'$reply’,'$ip’,'$time’,'$cid’)”) or die(mysql_error());
?>

CentOS 6.3 Step by Step Installation Guide with Screenshots

$
0
0

This post will guide you a step-by-step installation of Community ENTerprise Operating System 6.3 (CentOS) with screenshots. Less than three weeks after the release of Red Hat Enterprise Linux (RHEL) 6.3. The CentOS Project has released its clone of RHEL 6.3 distribution on 09 July 2012.

CentOS 6.3 Features

CentOS Linux Distribution contains some new exciting features like.

  1. OpenOffice 3.2 has been replaced by LibreOffice 3.4, if you update from previous version of CentOS 6 using ‘yum update’ and have openoffice installed, the update will automatically remove openoffice and install libreoffice.
  2. Many drivers have been updated and improved in virtulisation.
  3. Upstream has deprecated the Matahari API for operating system management has been deprecated, and there’s new tools for moving physical and virtual machines into Virtual KVM machine instances. These new tools from Red Hat are virt-p2v and virt-v2v for physical-to-virtual and virtual-to-virtual migration, respectively.

Download CentOS 6.3 DVD ISO

  1. Download CentOS 6.3 32-bit DVD ISO – (3.6 GB)
  2. Download CentOS 6.3 64-bit DVD ISO – (4.0 GB)
  3. Download both 32-bit and 64-bit DVD ISO.

CentOS 6.3 Step by Step Graphical Installation Guide

Boot Computer with CentOS 6.3 OS Installation CD/DVD.

1. Select Install or Upgrade existing system options.

Select Install or Upgrade

Select Install or Upgrade

2. Choose skip media test as it may take long time to check media.

Skip CentOS 6.3 Media Test

Skip CentOS 6.3 Media Test

3. CentOS 6.3 Welcome Screen press Next.

CentOS 6.3 Welcome Screen

CentOS 6.3 Welcome Screen

4. Language Selection.

CentOS 6.3 Language Selection

CentOS 6.3 Language Selection

5. Select appropriate Keyboard.

CentOS 6.3 Keyboard Selection

CentOS 6.3 Keyboard Selection

6. Select Basic Storage Device if your hard drive is attached locally.

CentOS 6.3 Storage Device Selection

CentOS 6.3 Storage Device Selection

7. You may get Storage Device warning, you can click Yes, discard any data button to Continue.

CentOS 6.3 Storage Device Warning

CentOS 6.3 Storage Device Warning

8. Give a Hostname to the server and click on Configure Network button if you want to configure network while installation.

CentOS 6.3 Hostname and Network Setup

CentOS 6.3 Hostname and Network Setup

9. Click Wired tab and click on Add button.

CentOS 6.3 Network Setup

CentOS 6.3 Network Setup

10. Select Connect Automatically, go to ipv4 settings tab and select Method and select Manual in drop down. Click on Add tab to fill address box with IP Address, Netmask, Gateway and DNS Server. Here I’m using IP Address 192.168.1.6 and DNS Server is 4.2.2.2 for demo. This IP Address may vary in your environment.

CentOS 6.3 Network Configuration

CentOS 6.3 Network Configuration

11. Select Time Zone.

CentOS 6.3 Set Timezone

CentOS 6.3 Set Timezone

12. Give a root password.

CentOS 6.3 root Password

CentOS 6.3 root Password

13. Select appropriate partitioning as per your requirement.

CentOS 6.3 Partition Selection

CentOS 6.3 Partition Selection

14. Verify filesystem. Here, you can edit filesystem If you want.

CentOS 6.3 Partition Verify

CentOS 6.3 Partition Verify

15. Disk Format Warning, click on Format.

CentOS 6.3 Disk Format

CentOS 6.3 Disk Format

16. Select Write Changes to disk.

CentOS 6.3 Disk Changes

CentOS 6.3 Disk Changes

17. Hard Drive is Formatting.

CentOS 6.3 Disk Formatting

CentOS 6.3 Disk Formatting

18. Here, you can give Boot loader Password for better security.

CentOS 6.3 Boot Loader Password

CentOS 6.3 Boot Loader Password

19. Select the applications you want to install, you can choose Customize now and click Next.

CentOS 6.3 Package Selection

CentOS 6.3 Package Selection

20. Select the applications you want to install and click Next.

CentOS 6.3 Packages Selection

CentOS 6.3 Packages Selection

21. Installation started, this may take several minutes as per selection of packages.

CentOS 6.3 Installation

CentOS 6.3 Installation

22. Installation completed, Please remove CD/DVD and reboot system.

CentOS 6.3 Installation Completes

CentOS 6.3 Installation Completes

23. Welcome to CentOS 6.3 Login Screen.

CentOS 6.3 Login Screen

CentOS 6.3 Login Screen

24. CentOS 6.3 Desktop Screen.

CentOS 6.3 Desktop Screen

CentOS 6.3 Desktop Screen

Liked the article? Sharing is the best way to say thank you!



PHP Maker 10.0.1

Viewing all 16 articles
Browse latest View live