PHP |
langkah pertama
kita ke folder ext, karena cangkal install xampp menggunakan windows 7 dan terinstall pada drive D, maka letak folder ext ada di sini "D:\xampp\php\ext".
setelah itu kita buka cek file "php_fileinfo.dll" apakah ada, apabila sudah ada lanjutkan langkah selanjutnya
langkah selanjutnya adalah mengintegrasikan file "php_fileinfo.dll" ke PHP. caranya adalah sebagai berikut.
1. kita ke folder "D:\xampp\php" kemudian cari file "php.ini" lalu buka dengan notepad.exe
2. [ctrl + F] untuk mencari kata kunci extension.
3. tambahkan script "extension=php_fileinfo.dll" pada baris terakhir extension = bla.. bla bla..
4. simpan file "php.ini" yang sudah diedit tadi.
5. restart apache.
sekarang bagaimana cara mengecek bahwa extension file info sudah terintegrasi dengan PHP. yuk tulis script singkat dibawah ini
<?php
if (!function_exists('finfo_file')) {
echo ' [ERROR] Fileinfo extension is NOT enabled.';
} else {
echo ' [OK] Fileinfo extension is enabled.';
}
?>
script tadi simpan dengan nama "test.php" dan letakkan pada folder htdoc.
buka browser, terserah aja bisa firefox, crome atau yang lainya.
ketik URL http://localhost/test.php
cek apakah kata yang keluar seperti gambar di bawah ini?
extensin fileinfo |
As reported by Stanford Medical, It's indeed the one and ONLY reason this country's women live 10 years longer and weigh 42 pounds less than we do.
BalasHapus(And actually, it has NOTHING to do with genetics or some secret-exercise and really, EVERYTHING related to "HOW" they are eating.)
P.S, I said "HOW", and not "WHAT"...
TAP this link to determine if this short test can help you find out your real weight loss potential
Did you realize there's a 12 word phrase you can communicate to your crush... that will induce intense feelings of love and impulsive appeal for you deep within his chest?
BalasHapusThat's because deep inside these 12 words is a "secret signal" that triggers a man's instinct to love, admire and look after you with his entire heart...
=====> 12 Words Will Fuel A Man's Desire Impulse
This instinct is so built-in to a man's brain that it will drive him to try harder than before to love and admire you.
Matter-of-fact, triggering this all-powerful instinct is so important to having the best ever relationship with your man that the instance you send your man a "Secret Signal"...
...You'll instantly notice him open his heart and mind to you in a way he never expressed before and he'll see you as the only woman in the world who has ever truly fascinated him.