Menampilkan Daftar Referral Dari Google Analytics
Siapa yang setiap membuka panel wordpress, selalu melihat daftar Incoming Link? atau, bagi yang menggunakan google analytics, melihat daftar referral? Saya termasuk diantara kedua tipe ini. Hal yang menyenangkan, melihat website / tulisan kita dimention di tempat lagi.
Mencari Email Melalui IMAP+PHP
Setelah beberapa tulisan mengenai cara akses IMAP Gmail menggunakan PHP, serta cara memperoleh daftar label di Gmail (melalui IMAP juga), tulisan kali ini akan membahas cara mencari email di Gmail. Masih tetap menggunakan IMAP dan PHP kok.
Menampilkan Daftar Folder Yang Tersedia di GMail Melalui IMAP
Pada tulisan terdahulu, kita sudah lihat bagaimana cara melakukan koneksi IMAP ke gmail menggunakan PHP. Kali ini kita akan melihat bagaimana cara menampilkan daftar folder / label yang ada di GMail.
Akses Gmail Menggunakan PHP+IMAP
Untuk beberapa tulisan kedepan, saya akan membuat tulisan berseri tentang PHP+IMAP. Untuk tulisan kali ini, kita fokus pada bagaimana cara membaca Gmail dari PHP.
Cara Membuat Koneksi Ke Twitter Menggunakan OAuth dan PHP
Sejak dimatikannya akses ke API twitter dengan menggunakan username dan password, banyak aplikasi yang menggunakan platfowm twitter menjadi tewas. Beberapa ada yang langsung dioperasi dengan menggunakan akses OAuth, beberapa lainnya ditinggal mati. Tutorial kali ini akan mengajarkan bagaimana caranya menggunakan akses koneksi OAuth untuk aplikasi kita.
7 Samples Of Professional PHP/Programmer Resume
I was in the way of fixing my current online resume and I though a few googling would reveal some good samples. I found some and though out that someone out there might be needed this resources as well. Here it is:
Get Only n Words From String
Here's the code:
function trim_word( $words, $howmany = 1){
$x = explode(" ", $words);
if(count( $x) <=$howmany ){
return $words;
} else {
return implode(" ", array_slice( $x, 0, $howmany));
}
}
Here's the output:
$words = "this is string that is long enough that I want to trim it."; echo trim_word($words, 10) . "\n"; //this will echo: this is string that is long enough that I want
UPDATE:
- 2010-02-05 15:03:25 - Fixing $howmany usage. Sorry, for the inconvenience:D
PHPSH: Test PHP Snippet, The Python Way!
If you know python, maybe you know the interactive python shell, too. If you don't know both, well, let me explain it. Python has it's built in interactive shell. When you install python and you execute the command, python, you will be introduced to a shell like interface where you could type python statements and have it evaluated and shown the result, right away. This is really convenience for learning purpose, or some simple snippet testing.
PHP Simple File Browser
While browsing my google analytics logs, I stumble upon certain keyword search that looking for file browsers script. I don't have one here, so I created it, so that next time people searching for PHP file browser and landed on this blog, they will get what they want (hopefully).









