PHP Programmer’s Of Bangladesh

Archive for the ‘Smarty’ Category

Twitter: micro blogging site

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, [...]

Installing SMARTY in Windows

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 [...]

SMARTY: Template Engine

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 [...]


Where I was???

I was a PHP/MySQL web application developer in EVOKNOW INC from 1st July, 2006 to 5th Nov, 2007.

Blog Stats

  • 26,650 hits

What is the date?????

November 2009
S S M T W T F
« May    
 123456
78910111213
14151617181920
21222324252627
282930  

My Links in Del.icio.us

Google Adds