How to publish status on Facebook Pages using Graph API

In this article I'm show how to publish status on  Facebook Personal Profile, Fan Pages or Business Pages using Facebook Graph API. Create an Facebook App Sign in to your Facebook Developers account and create a Facebook App. click the ‘Add a New App’ as shown below: Enter "App Name" ckick "Create App

PHP file inclusion function include() vs require() vs include_once() vs require_once()

PHP file inclusion function include() vs require() vs include_once() vs require_once()

In PHP, insert the same PHP, HTML, or text on multiple pages using include(), include_once(), require() and require_once(). In this article we are going to see real differences between them with an example. Menu page menu.php <?PHP echo '<a href="home.php">Home</a> - <a href="about.php">About</a> - <a href="contact.php">Contact</a>'; ?> include function When you want to include a file within

Redirect http to https using htaccess

apache-redirect-http-to-https-using-htaccess-rewrite-rules

Browsing your site over secure connection (HTTPS). One of the easy way to redirect the user to secure connection can be done by using .htaccess. The sample code for  Redirect http to https using htaccess as follow RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

mod_fcgid: read data timeout in xx seconds

Tech Dasher

If your server FastCGI enabled in Apache, you have face '500 Internal Server Error' after execution 40 to 45 sec . When checking into /usr/local/apache/logs/error_log, you will see something similar as below: [xxx xxx xx xx:xx:xx xxxx ] [warn] [client xxx.xxx.xxx.xxx] mod_fcgid: read data timeout in xx seconds, referer: http://xxxxxx.xxx/xxx/xxx.xxx. Which means Apache,

SSL Warning: This website does not supply identity information

Tech Dasher

In a SSL certified website. You will see SSL Warning “This website does not supply identity information”. This is due to the page content is not encrypted. To remove this warning by doing the following procedure. Check the  "src" property of the following element <img>, <video>, <audio> or <object> If it has "http://"

Top