Menu Home

Web

Carian hotel setempat, Malaysia atau lokasi lain

Saya telah melancarkan satu lagi web app yang berkonsepkan carian hotel. Web carian hotel ini boleh di lawati di http://www.hotels.ecom.my/ dan telah mula beroperasi sejak beberapa hari lepas. Apakah keistimewaan Big World Hotels ini? 1. Memaparkan lebih 90,000 hotel seluruh dunia. 2. Memaparkan hotel-hotel ternama dan berkualiti. 3. Pelawat boleh […]

Installing phpmyadmin on Ubuntu and secure it

This is the link: https://www.digitalocean.com/community/articles/how-to-install-and-secure-phpmyadmin-on-ubuntu-12-04 This is how to create the htpasswd: sudo htpasswd -c /path/to/passwords/.htpasswd username and this is how to change it later on: sudo htpasswd /path/to/passwords/.htpasswd username Ref: http://wiki.ultraseedbox.com/index.php?title=How_to_change_passwords Share on: WhatsApp

Posting to FB pages from web application

This is the code: $appId = ‘YOUR APP ID’; $secret = ‘YOUR SECRET’; $returnurl = ‘http://www.yoursite.com’; $permissions = ‘manage_pages, publish_stream, offline_access’; $fb = new Facebook(array(‘appId’=>$appId, ‘secret’=>$secret)); $fbuser = $fb->getUser(); if($fbuser){ $page_id = “YOUR PAGE ID”; $page_access_token = “GET PAGE TOKEN ID”; $result = $fb->api(“/me/accounts”); // loop trough all your pages […]