Catatan

Tunjukkan catatan dari Jun, 2014

BERITA BAIK KEPADA PEMEGANG BIG PREPAID MASTERCARD AIR ASIA!

Imej
JANGAN LEPASKAN PELUANG!  Kini bayaran balik pinjaman PTPTN, deposit SSPN- i . dan SSPN- i .  Plus  boleh dibuat menggunakan Big Prepaid Mastercard Air Asia dan anda  BERPELUANG MEMENANGI  100,000 Big Point Air Asia (bersamaan 3 tiket penerbangan pergi balik ke Hong Kong). Peraduan akan berakhir pada 31 Ogos 2017. KAEDAH BAYARAN: ONLINE      1. Bayaran balik pinjaman dan deposit SSPN- i      2. Buat bayaran secara online menggunakan Big Prepaid Mastercard (Virtual & Plastic) Air Asia di          https://sspniplusonline.ptptn. gov.my/sspniplusonline/ Default.aspx  atau          http://www.ptptn.gov.my/kad_ kredit.html . KAUNTER      1. Bayaran balik pinjaman, deposit SSPN- i  dan SSPN- i plus      2. Buat bayaran menggunakan Big Prepaid Mastercard (Plastic) Air Asia melalui edc terminal di          kaunter PTPTN. Dapatkan Big Prepaid MasterCard Air Asia Anda di  www.bigprepaid.com Untuk maklumat lanjut, layari portal rasmi PTPTN di  http://www.ptptn.go

Installing PHP with OCI8 enabled

sumber: http://blog.mingspc.com/2011/09/16/installing-php-with-oci8-enabled/ (supaya mudah aku cari setting ni in future) I believe most people will have problem  installing   WAMP  with OCI8 / OCI8_11G extension enabled. I am here to guide you through and hopefully you will not waste your time for setting it up (like me). Downloading Depending on the  version of  your PHP and its library (32 bit or 64 bit) / WAMP, you will need to  download  the matchingversion of  Oracle Instant Client  in order to get things right. i.e. if you are installing 32 bit PHP (majority of WAMP installer  comes with 32 bit of PHP) then you will need Oracle Instant Client 32 bit, and obviously 64 bit PHP will need Oracle Instant Client 64 bit. Installing Extract/Install the downloaded copy of Oracle Instant Client into C:\instantclient_11_2 Setup  Path  variable for  2000/XP  or  Vista/7  by appending the line with “;C:\instantclient_11_2\;” Install your  preferred  WAMP installer, or do it  ma

PHP - Contoh "output string with long white space"

By default, kalau echo akan keluar satu space sahaja walaupun ada banyak space yang di declare. Format space tersebut perlu di tukar ke format html. So solution adalah seperti berikut. Contoh "output string with long white space" ========================================= //input string ke variable $str $str = "12345          67890"; //replace white space dengan format html (&nbsp) dari variable $str dan input ke $new_str $new_str = str_replace(' ', ' ',$str);  //kira panjang string $kira = strlen($str); //output string echo "$new_str = $kira char"; =========================================