CodeIgniter CodeX PHP

TIPS MENINGKATKAN PERFORMA CODEIGNITER

Pindahkan direktori application di luar folder system.¬†direktori Application tidak harus selalu berada di dalam direktori system. Anda dapat memindahkan dimana saja sesuai kenyamanan Anda.Sehingga Anda tidak perlu masuk kedalam direktori system setiap membuka controller, model atau view.Setelah memindah direktori Application, Anda dapat memperbarui lokasi path $application_folder di dalam file index.php. ada kabar baik, jika Anda […]

Archived CodeX Javascript PHP

LIST OF COUNTRY CODES AND NAMES IN PHP OR JAVASCRIPT ARRAY (KEY = CODE AND VALUE = NAME IN ENGLISH)

Here you go: <?php $countries = [ ‘AF’=>’AFGHANISTAN’, ‘AL’=>’ALBANIA’, ‘DZ’=>’ALGERIA’, ‘AS’=>’AMERICAN SAMOA’, ‘AD’=>’ANDORRA’, ‘AO’=>’ANGOLA’, ‘AI’=>’ANGUILLA’, ‘AQ’=>’ANTARCTICA’, ‘AG’=>’ANTIGUA AND BARBUDA’, ‘AR’=>’ARGENTINA’, ‘AM’=>’ARMENIA’, ‘AW’=>’ARUBA’, ‘AU’=>’AUSTRALIA’, ‘AT’=>’AUSTRIA’, ‘AZ’=>’AZERBAIJAN’, ‘BS’=>’BAHAMAS’, ‘BH’=>’BAHRAIN’, ‘BD’=>’BANGLADESH’, ‘BB’=>’BARBADOS’, ‘BY’=>’BELARUS’, ‘BE’=>’BELGIUM’, ‘BZ’=>’BELIZE’, ‘BJ’=>’BENIN’, ‘BM’=>’BERMUDA’, ‘BT’=>’BHUTAN’, ‘BO’=>’BOLIVIA’, ‘BA’=>’BOSNIA AND HERZEGOVINA’, ‘BW’=>’BOTSWANA’, ‘BV’=>’BOUVET ISLAND’, ‘BR’=>’BRAZIL’, ‘IO’=>’BRITISH INDIAN OCEAN TERRITORY’, ‘BN’=>’BRUNEI DARUSSALAM’, ‘BG’=>’BULGARIA’, ‘BF’=>’BURKINA FASO’, ‘BI’=>’BURUNDI’, ‘KH’=>’CAMBODIA’, ‘CM’=>’CAMEROON’, […]