Category Archives: Programming

Vertically align in css for IE7+ and FF

Making a text vertically aligned is one the challenging tasks with css. Here is one quick solution which I found and it works fine in IE7+ solution is to use vertical-align: middle; but this style doesn’t work as it expect … Continue reading

Posted in Programming | 1 Comment

Finish minesweeper game in 1Sec

Everyone has seen windows minesweeper game which is installed by default in all windows. But not everyone is familiar with the way it works. It is very simple, the goal in this game is to find the mines, which are … Continue reading

Posted in Programming, Thinking | 12 Comments

Style pdf file in PHP using html tags

I think most of php developers are familiar with FPDF, which is a great code to use in php when you want to generate pdf file.  You can download the code if you want from Here. That is a really … Continue reading

Posted in Programming | 3 Comments

POP3 mail client with delphi 2007

unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, StdCtrls, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient,  IdMessageClient, IdPOP3, IdMessage, ExtCtrls,IdAttachment,IdText, IdExplicitTLSClientServerBase; type TForm1 = class(TForm) IdPOP31: TIdPOP3; Button1: TButton; IdMessage1: TIdMessage; Memo1: TMemo; Button2: TButton; … Continue reading

Posted in Programming | 50 Comments

PHP and MSSQL and IIS

First you need to enable IIS in windows vista, through enable windows features in control panel. make sure to enable ISAPI and CGI as they are required for PHP fastcgi mode, also to to be able to use mssql server … Continue reading

Posted in Database, Programming | 1 Comment