Posted by: Md. Masud on: May 10, 2008
Twitter is one of the micro blogging site in the world. Actually people used Twitter answering a question “what are you doing?”. Twitter has done some great thing like included jaber interface to post directly from google talk or other IM who support jaber API. Twiter also provide a small API, [...]
Posted by: Md. Masud on: May 27, 2007
Installing Smarty in Windows
This document assumes that your webserver and php5 is running.
Download Smarty – http://smarty.php.net
Installation – Windows, IIS/Apache, PHP5
Extract files, rename Smarty.x.x.x to smarty (suggest OUTSIDE of your www root!)
Example: d:\smarty
Run phpinfo.php to find out your php.ini location
Edit php.ini’s include_path and add the location of the libs folder.
example: include_path = “.;d:\smarty\libs”
Restart IIS/Apache
Setup these two [...]
Posted by: Md. Masud on: May 3, 2007
First copy the downloaded smarty folder into your project root directory. Then goto that smarty folder, create a php file (ex: smarty.php) & paste these following codes:
<?php
/* This is a class defination for accessing smarty. */ require(“C:/apache2triad/htdocs/project/smarty/libs/Smarty.class.php”);
class Template extends Smarty {
function Template() {
$this->Smarty();
//setting up smarty template directory
$this->template_dir=’c:/apache2triad/htdocs/project/templates/’;
//setting up smarty template directory
$this->compile_dir=’c:/apache2triad/htdocs/project/templates_c/’;
//setting up smarty configs directory
$this->config_dir=’c:/apache2triad/htdocs/project/configs/’;
//setting [...]
Recent Comments