Best Chat Plugins

Hi,

Please find these two good chat plugins.

1. http://www.livechatinc.com/
2. http://www.clickdesk.com/

Advertisements

PHP Convert Html to Word Format

Hi,

For change html code into word .doc file in PHP we can use “application/vnd.ms-word” header type.

header(“Content-type: application/vnd.ms-word”);
header(‘Content-Type: application/force-download; charset=UTF-8’);
header(‘Cache-Control: no-store, no-cache’);
header(‘Content-disposition: attachment; filename=”myword.doc”‘);

Then After this code u can add Your html or php code.
It will convert your html code into Doc file.

Thanks

How To Install Zend on Ubuntu

Please find step below for zend framework installation

1. Download latest zend framework setup.

2. unzip zend framework folder in /usr/local folder with name of ZendFramework and make permission of 0755.

3. in php.ini Search for include_path=”:./usr/share/php” And replace with.
include_path=”:/usr/local/share/php: /usr/local/ZendFramework/library”

4.In terminal install zend-framework-bin
sudo apt-get install zend-framework-bin

5. Run command in terminal
ln -s /usr/local/ZendFramework/bin/zf.sh

6. Restart apache.

7. For create project in /var/www/html folder
Run command : zf create project projectname

Basic Google Ajax Rss Feed WordPress plugin

Google Ajax Feed is for display google ajax rss feed vertically or horizontally. Currently this has basic functionality. Here After activate from admin panel admin can set this widget in any sidebar and then he has to fill google api key and site url for rss feeds. Admin can set display of feeds horizontally or vertically. and also can set number of feeds to display. http://wordpress.org/extend/plugins/google-ajax-rss-feed/

Facebook Notification using Facebook php sdk

Hi,

For add Facebook notification api using facebook php sdk

require_once( 'facebook.php' );/*noLibHook*/
$fbapi = FACEBOOK_API;
$fbsecret = FACEBOOK_SECRET_KEY;
$facebook = new Facebook(
array( 'appId' => $fbapi,
'secret' => $fbsecret,
'cookie' => true
));

$user_id = FACEBOOK_USER_ID;
$template = "Hi Message";

$param = array(
'template' => $template,
'href' => 'http://google.com',
'access_token' => $facebook->getAccessToken(),
);

$facebook->api("/$user_id/notifications", "POST", $param1);

Facebook notification api just work with canvas facebook application/page.So please Add Canvas url of App in App of Facebook Setting.

thanks