PHP convert between charsets Win-1251 and utf-8

This procedures shows how to convert formats between database or other charsets in PHP Procedure to convert from windows-1251 to utf-8

procedure to convert from utf-8 to cp-1251

PHP and PHPMailer send both HTML and text emails

This example show how to use PHPMailer to send an HTML email. SpamAssasin blocks email-s with only HTML code, this example improve performance…

How to download and execute application from URL

Up to version Delphi 2007 works this code: URLDownloadToFile(nil, PChar(‘www.test.com\test.exe’), PChar(‘d:\dir\test.exe’), 0, nil); WinExec(PChar(‘d:\dir\test.exe’),SW_NORMAL); After Delphi 2007 procedures for executin file is changed to: ShellExecute(self.WindowHandle,’open’,pchar(‘d:\dir\test.exe’),nil,nil, SW_SHOWNORMAL);

Calculate EAN 13 barcode checksum

Delphi code for calculating checksum of given 12 symbols from EAN 13 barcode

Delphi stretch columns of the StringGrid

This procedure fit the sizes of column of string grid to their actual sizes.

Delphi, how to get serial number of hard disk where installed application

Delphi, процедура за проверка за валидно ЕГН

Deplhi, проверка за валиден Булстат на фирма

Това е проверка само дали е валиден булстата на фирмата не и за това дали фирмата е активна и дали е преустановила дейност!!! До края на 2014 година АП и НАП искаха 30000 лв. за да може софтуерна фирма да има достъп до регистъра за установяване на валидност на булстат, но през 2015 обещаха цената […]

Delphi how to check file version of two files

By trial found an easy way to compare whether a file is a new version of the other Here is code:

Delphi XE, how to make archive ZIP files or extract files from ZIP, with build in functions

Delphi after version Xe have unit system.Zip, with this unit Zip andUNzip functions are easy 🙂

proecedure to extract files from ZIP