E-Mail Utilities

Description An object oriented way to send email from a PHP program. Some of the libMail functionalities are : o Sending one or more file in attachment o Specify one or many recipients in To, CC or BCC o Format a message “ready to send” without sending it immediately o Auto checking of email addresses syntax o Add a receipt to the mail.

SMTP class
Description A class to enable you to send email direct through an smtp server. Currently supports all basic commands; HELO, EHLO, MAIL, RCPT, DATA, RSET. Also supports the AUTH LOGIN (basic authentication). A commented example script is provided.

After replying to emails in your office, you can spend some time playing casino games at http://casinorating.com.au. Get ready for some fun.

Mime Decoding class
Description This class will enable you to decode mime email. It can for example decode the mime torture test made available by UW. There is an example script to help you get started, and for those familiar with phpDoc, it should be compatible. The code is maintained via the PEAR repository, and the link below will download the package which you can, if you wish, install via the PEAR installer.

HTML Mime mail
Description A class for sending mime based email. It can send: * HTML Email * HTML Email with embedded images * HTML Email with attachments * HTML Email with embedded images and attachments * Text email * Text email with attachments Documentation wise there is a full API list along with 5 comprehensively commented example scripts.

Simple form mail
Description This short snippet will process your whole contact form. Just use the code in your (external) script and change the mail address. Tip: Use clear field names in your form. In the current version is the Mime-format supported

Open Source Companies in Pakistan

The following is a list of companies working in open source software and technologies in Pakistan.

Acrologix (Pvt.) Limited supports a broad range of design and development technologies in order to create intelligent e-business solutions. It uses:

1. LAMP (Linux, Apache, MySQL, PHP) 
2. CMS (Joomla, WordPress)
3. Ecommerce (OS Commerce, Zen Cart) 

4. Discussion Forums – phpBB

Al-Rehman Technologies offers turnkey web development services, Business Process Outsourcing (BPO), IT outsourcing and graphic design services. Used technologies include:

1. OS Commerce
2. PHP/MySql Development

Ameer Soft (Pvt.) Limited provides complete open source software solutions, from analysis to implementation and maintenance. The technologies used are:

1. PHP
2. MySQL


1. Educational Products
2. Enterprise Resource Planning (ERP) 

3. Financial Management
4. E-Commerce

Applied Technology Research Center is a commercial Linux and open source support-based company.

AZM Computer Services (Pvt.) Limited provides software development services. Expertise includes:

1. ERP Solutions
2. SME Solutions
3. Maintenance Management System 
4. Consultancy Services
5. Point-of-sale Solutions
6. Customized Software Solutions

Best Solutions delivers Internet-based network products. It works in:

1. PHP   
2. MYSQL   
3. Content Management Systems (CMS)

Christals Solutions Developments is a web development company offering open source services. Used technologies include:

1. LAMP (Linux, Apache, MySQL, PHP)
2. ERPs

Cogilent Solutions is a market leader in product development and recruitment portal solutions. It uses:

1. LAMP (Linux, Apache, MySQL, PHP)
2. CMS (Joomla, WordPress)
3. Ecommerce (OS Commerce, Zen Cart)
4. Discussion 
Forums – phpBB


1. BrightSpyre, Pakistan’s largest online recruitment system 
2. iCMS, 
a powerful and easy way to manage websites and portals 
3. Enterprise Network and Systems Management Solutions 

4. Support and Training Services

Convergence works on open source Voice over Internet Protocol (VoIP) products. It is a leading provider of open source networking solutions for core Telephony and Switching Applications in Pakistan and the Middle East.

CrossMedia provides web-based solutions to small and large-sized businesses. Technologies used include:

1. LAMP (Linux, Apache, MySQL, PHP)
2. CMS (Joomla, Mambo)
3. Ecommerce (OS Commerce)

DigiDent Solutions provides identity and access management solutions. Technologies used are:

1. LAMP (Linux, Apache, MySQL, PHP)
2. CMS (Joomla, WordPress)
3. Ecommerce (OS Commerce, Zen Cart)
4. Discussion 
Forums – phpBB

EfroTech provides software, web and communication infrastructure development, strategic consulting and business process re-engineering, and media presentation services. Technologies include:

1. PHP
2. Apache ASP
3. MySQL

Emergen Consulting (Pvt.) Limited works on multiple open source products, including some ERPs. Emergen Consulting offers integrated, customized open source applications for the higher education institutions in Pakistan. These solutions will completely replace the legacy systems that have been in place for decades. The proprietary alternative to these solutions are not only expensive, but are very hard to manage as there are no local expertise available.

EnterpriseDB works on PostgreSQL and its advanced server. EnterpriseDB is the leading provider of enterprise-class products and services based on PostgreSQL, the world’s most advanced open source database. EnterpriseDB employs a number of industry thought leaders as well as more of the PostgreSQL open source community’s core team than any other company.

FiveRivers Technologies (Pvt.) Limited provides Information Technology products and services. Technologies used include:

1. LAMP (Linux, Apache, MySQL, PHP)
2. CMS (Joomla, WordPress)
3. Ecommerce (OS Commerce, Zen Cart)
4. Discussion 
Forums – phpBB

FSD Solutions provides a complete range of Business Process Outsourcing (BPO) services. Technologies used include:

1. PHP 
2. MySQL

Genex Business Solutions offers e-commerce solutions, customized content management systems, and advanced web programming services. Technologies used are:

1. LAMP (Linux, Apache, MySQL, PHP)
2. CMS (Joomla, Mambo)
3. Ecommerce – OS Commerce

4. Discussion Forums – phpBB

GoodCore Software (Pvt.) Limited offers reliable and cost-effective open source options. It uses the following technologies:

1. LAMP (Linux, Apache, MySQL, PHP) 
2. CMS (Joomla, Drupal, Typo3, SilverStripe, WordPress)
3. Ecommerce (Magento ecommerce, OS Commerce, Zen Cart)
4. Discussion 
Forums – phpBB

Innovative Research e-Solutions provides web design and web development services to Small and Medium Enterprises (SMEs) and large corporations.

NC Inc. provides IT solutions and consultancy services.

Net Hawk (Pvt.) Limited provides full support to make efficient use of open source.

1. Linux Migration
2. Asterisk


Avian is the brand name of NetHawk’s flagship product, which is an Asterisk-based IP Private Branch Exchange (PBX).

NVision Technologies provides customized database applications that automate current business practices to increase efficiency and workflow. It uses the following technologies:

1. LAMP (Linux, Apache, MySQL, PHP) 
2. ERPs

Ovex Technologies provides BPO services and IT solutions. It uses:

1. Linux
2. Asterisk

Ping Systems is an IT consultancy firm specializing in:

1. Linux Applications 
2. Linux Solutions
3. Thin-client Computing
4. Linux Clustering
5. E-mail Content Control Software
6. Online Databases and their training

Sulata iSoft uses:

1. LAMP (Linux, Apache, MySQL, PHP/Python)
2. CMS (Joomla, Drupal, Mambo, WordPress)
3. Ecommerce – OS Commerce

Super Technologies provides solutions to telecom businesses.

Systems Research (Pvt.) Limited provides support and development services in open source billing software.

Vizteck Solutions offers low-cost open source and e-commerce solutions. It uses:

1. SugarCRM
2. Oscommerce
3. Dotproject
4. Drupal

VisualSoft is a global software developing company providing IT solutions to enterprises worldwide. Combining proven expertise in technology, and an understanding of emerging business trends, it delivers a range of development solutions that includes e-business solutions, computer telephony, enterprise applications, professional web site design and product engineering. It uses:

1. LAMP (Linux, Apache, MySQL, PHP) 
2. CMS (Joomla)
3. Java


1. Mark VI
3. Group Messaging System
4. Automatic Vehicle Identification
5. Automated Finger Print Identification
6. Parking Space Management
7. Automatic Vehicle Identification

True Meridian (Pvt.) Limited offers a variety of services covering all aspects of network traffic planning, including fault tolerance, traffic-shaping and information security. Technologies used include:

1. LAMP (Linux, Apache, MySQL, PHP)
3. IP v6 Consulting


1. PrintCounts http://www.printcounts.com 
2. Mobile Framerz iPhone Application http://mobileframerz.com/
3. ChannelShift http://www.channelshift.com 
4. ProBiora3 http://www.probiora3.com 
5. EvoraPlus http://www.evoraplus.com

NUST-NIIT in collaboration with IBM has established “Linux Open Source Training and Resource Centre”

NUST Institute of IT is establishing a Linux Competency Center in partnership with IBM Pakistan and Pakistan Software Export Board (PSEB), with the aim of creating a resource pool of Linux and OSS experts for government & non-government organizations.
The centre will initially train the faculty members of IT and Computer Science. This will, in turn, enable the faculty members to educate their students in the open source technologies. There is also a plan to develop, in due course, curricula for Linux and Open Source Software in collaboration with IBM for inclusion in IT and Communication degree programs at NUST institutions.

OSRC presents Pakistan’s case for open source in Spain

Based in Spain, CENATIC is the National Reference Center for the Application of Information Technologies and Communication Technologies (ICT) based on open source. The OSRC represented Pakistan’s case for open source in an interview available at: 

OSRC sponsored CIIT Abbottabad’s National COMSATS Open Source Technologies Workshop

COMSATS Institute of Information Technologies held a “National COMSATS Open Source Technologies Workshop” (NoCOST 2008) on 25-26 February, 2008 at its Abbottabad campus. The OSRC sponsored the workshop.
Aimed at the IT faculty of educational and IT professionals, the motto of NoCOST 2008 was “Freedom and Innovation”. It aimed to demonstrate that Free and Open Source Software is a consolidated reality, a powerful, strong and secure alternate option to the spectrum of end-users, ranging from organizations to home users.
The workshop introduced participants to open source technologies; UNIX/Linux-based desktop systems; Openoffice; multimedia applications; Internet applications; various Linux daemons; web servers such as Apache; developing web applications with PHP, and database servers. The OSRC Trainers conducted training in Apache, PHP & MySQL.

Free course on “Open Source/Free software”

figure3Political science, 7.5 ECTS Credits

The purpose of this course will be to study the effects of technology on the political process by studying how the free software/open source movements organises itself and acts to lobby and affect political decisions in favour for the fundamental messages and ideologies. The course has the intention to help the participant to achieve a greater understanding of the political goals of the free software/open source movements. In addition the course will look at the political and economic conditions for the development of open source and free software.

The course will study the development of politics, policy and law in relation to the role of software in society. Subjects which will be treated in depth are the role of free software/open source in relation to property theory, the politics of technology, community governance and the economic foundations for the assessment of free software/open source development.

The course

The course is given as a part time course from April to June (2005). The course is intended as a distance learning course and therefore access to a computer and the Internet is necessary.

Teaching on the course will be carried out with the help of lectures, readings and group discussions. Examination is carried out through two shorter written assignments and a longer essay (4500 words).

Entrance requirements

The course will be in English – proof of English reading and writing skills are required.

Course Fee

There is no cost for this course.


For students at Göteborg University:
Send your name, personal ID number (personnummer) and the name of this course to application@informatik.gu.se.

For foreign and non-GU students:
Send your name and the name of this course to application@informatik.gu.se. You will then be contacted for additional details and information.

Final date for application: 15 March 2005.

Alternatively you can send your application to:

University of Göteborg
Dept of Informatics
Jonas Öberg
Box 620
405 30 Göteborg

Any queries about the course can be sent to:

Thanks and Regards

Mr. Osman Haq
Project Manager (OSRC)

Pakistan Software Export Board
Ministry of Information Technology
2nd Floor, Evacuee Trust Complex
Agha Khan Road, Sector F-5, Islamabad
Tel : 051 9208748
Fax : 051 9204075
Email : hosman@pseb.org.pk
URL: www.osrc.org.pk

Software used in OSS Training Toolkit



  • Compiere
  • Sequoia ERP
  • opencms-6.0.2
  • Sugaresuite-4.0.1
  • WebERP-3.04

Databases and Business Intelligence

  • Pentaho
  • EnterpriseDB
  • MySQL
  • PostgreSQL

Open Source software for windows

  • Gaim
  • Firefox
  • Filezilla
  • Httrack
  • Seamonkey
  • Thunderbird
  • TightVNC
  • Clamwin
  • Dia
  • Gimp
  • Tuxpaint
  • Blender
  • lbreakout
  • wesnoth
  • Audacity
  • Cdex
  • VLC
  • Abiword
  • Openoffice
  • PDFCreator
  • 7-zip


  • FC4
  • Ubuntu 6.06

Java tools

  • Eclipse
  • jboss
  • jdk


Study shows improvements in quality of open source code

The overall number of defects in open source projects is dropping, a new study by vendor Coverity has found.

Coverity, maker of tools for analyzing programming code, received a contract in 2006 from the U.S. Department of Homeland Security to help boost the quality of open source software, which is increasingly being used by government agencies.


Dear All,

PSEB logo colorPakistan Software Export Board (PSEB) is the entity within government charged with the task of enhancing the exports of IT and IT enabled services. Part of its mandate is to identify potential market opportunities for the IT industry in the country

OSRC is planning to hold a training camp on LAMP technologies in Quetta, Balochistan. The objective of LAMP trainings is to impart, much needed knowledge on basic Open Source Software for faculty members and lab administrators in public and private sector higher education institutions to create a snowball effect by teaching the trainers who will train their students in return. Also, organizations i.e. private, public or NGOs interested in migrating to Open Source Software would be encouraged to participate in these trainings.

These LAMP trainings are classified into four parts;

• Linux Training 
• PHP Training 
• Apache 

All interested are encouraged to register their interest on OSRC’s website at http://www.osrc.org.pk/adverts/, based on the number of registered applicants the dates for these trainings would be decided and conveyed to the applicants

Thanks and Regards

Mr. Osman Haq
Project Manager (OSRC)

Pakistan Software Export Board
Ministry of Information Technology
2nd Floor, Evacuee Trust Complex
Agha Khan Road, Sector F-5, Islamabad
Tel : 051 9208748
Fax : 051 9204075
Email : hosman@pseb.org.pk
URL: www.osrc.org.pk

Current Status of FOSS in Pakistan

OSS/FOSS in Pakistan

Pakistan Linux Users’ Community (PLUC) or LinuxPakistan.net was formed in 1999 at the Sir Syed University of Engineering & Technology (SSUET) by a group of students. Its main purpose was to promote Linux and open source software in Pakistan, and to spread its knowledge among the general public.

Key Contributions


Since 2003, the OSRC has trained over 8900 participants during 118 training workshops and awareness-raising seminars in Pakistan.
A list of the OSRC’s training details

International Participation

The OSRC’s achievements were recognized by open source communities worldwide. Host countries/organizations funded the OSRC’s participation in over two dozen international forums. It is the only Public Sector Development Program (PSDP)-funded project in the history of Pakistan to have achieved this distinction. 
A list of OSRC’s participation in open source international events

Open Source Forums

Open source is an approach to the design, development, and distribution of software, offering practical accessibility to software’s source code. Some consider open source as one of various possible design approaches, while others consider it a critical strategic element of their operations. Before open source became widely adopted, developers and producers used a variety of phrases to describe the concept; the term “open source” gained popularity with the rise of the Internet, which provided access to diverse production models, communication paths, and interactive communities.

An open source forum is the creative practice of appropriation and free sharing of found and created content. It is an online discussion site. It originated as the modern equivalent of a traditional bulletin board, and a technological evolution of the dial-up bulletin board system.
A list of Open Source Forums in Pakistan

Major FOSS Projects

The main objective of open source development is to reduce or compensate losses, or damage due to the occurrence of unwanted events or risks. Pakistan needs to simultaneously develop different mechanisms and strategies (risk transfer, risk reduction, risk distribution, avoidance, risk enhancement), which are appropriate to the situation and environment of the projects. 

List of FOSS Projects

  • Emergen Consulting Developing Clarity OS (http://www.emergen.biz/about/clarity/)
  • Information System for Early Fault Warning in Automotives (http://www.ictrdf.org.pk/fp-efwa.htm)
  • Conversion of NGOSS Compliant, Web 2.0 Enabled Mediator, Rater and Biller Applications (http://www.ictrdf.org.pk/fp-mrb.htm)
  • Development of Open Source Cell Library for MEMS Components Verified Through Modeling and Simulation (http://www.ictrdf.org.pk/fp-osmem.htm)
  • Technical Development for Automation of Banking System for Microfinance Banks (http://www.ictrdf.org.pk/fp-absmf.htm)
  • Clarity – Open source Enterprise Management System (http://www.ictrdf.org.pk/fp-clarity.htm)
  • Development of Open Source HMI (http://www.ictrdf.org.pk/fp-oshmi.htm)
  • Integration of Open Source Software Projects in IT Education (http://www.ictrdf.org.pk/fp-iossp.htm)
  • Design and Development of an Open Source Enterprise Network Security System (http://www.ictrdf.org.pk/fp-osenss.htm)

Companies in Pakistan working on FOSS

Companies in Pakistan that have shifted over to FOSS completely, or those that have migrated certain portions of their IT infrastructure, include: 

  • Askari Commercial Bank
  • Bank Islami Pakistan
  • Crescent Group of Industries (Crescent Bahuman)
  • Dancom Online Services Islamabad
  • Dollar Industries
  • Ideal Distribution
  • Inbox Computers
  • Kohinoor Maple Leaf Group
  • Ministry of Defence
  • Ministry of IT and Telecommunication
  • Pakistan Software Export Board
  • Siemens Fugitsu
  • Sui Northern Gas Pipelines

Source : http://www.spider.tm


The Open Source Resource Center (OSRC) supports companies’ migration from proprietary to open source software. It conducts migrations from Microsoft Office to OpenOffice, and switches operating systems/computer networks from Microsoft Windows XP to Ubuntu Linux/Fedora Linux. 
A detailed list of OSRC’s Completed Migrations

Contribution to FOSS

Source: Tune your brains 
By Fouad Riaz Bajwa
Spider magazine, September 2006

Open source software has gradually made its way across the shores to Pakistan. It is not only major organizations but also interested individuals that can benefit massively from its arrival. Looking at the opportunities that FOSS brings to Pakistan, it is a highly useful and fruitful alternative to pirated proprietary software. It also brings the opportunity for the country to benefit from ground-up or bootstrap innovation, research and business opportunities that are cross platform and multidisciplinary in nature. Its success can be attributed to various FOSS communities including the largest and oldest, Linux Pakistan User Group, boasting over 3,500 professional as well as amateur Linux users. The second largest community group is Free and Open Source Software Foundation of Pakistan (FOSSFP) and is dedicated to promoting the overall adoption, development and usage of FOSS throughout the region as well as globally. FOSSFP promotes ICT software freedom for everyone and has over 850 Ubuntu Linux user group members and over 4,900 registered certified users.

Large businesses, industrial groups and banks have benefited from FOSS and have reduced their costs by eliminating licensing offered by proprietary software giants. The Pakistan Software Export Board and Ministry of IT&T established the Open Source Resource Center (OSRC) to encourage an open source demand and supply ecosystem within the region. The OSRC is working towards promoting FOSS throughout the various public and corporate sectors through capacity development and provision of open-source based enterprise resource planning systems to various industrial associations. 

There are companies based in Lahore, Karachi, Peshawar, Multan and Islamabad that are providing various solutions throughout the desktop, server and middleware stacks including extensive enterprise level technical support related to RAC and Cluster computing. Hardware and various operating system desktop, server and enterprise solutions are available through multinational organizations like IBM Pakistan, Hewitt Packard distributors, Red Hat Channel Partners, Novell Distributors and Ubuntu Commercial Support by Canonical. This creates a healthy ecosystem for the corporate enterprise sector to benefit from total solutions. 

As well as learning all the essentials online, users in Pakistan can benefit from various educational institutions offering courses to cater for such requirements. A number of universities and corporate training centers including Peshawar University, SZABIST, MAJU, NUCS-FAST, OpenTech, Oracle University, and APTECH are providing intensive professional technical and managerial trainings. On the integrated multidisciplinary higher educational sectors within the fields of Engineering and GIS, institutions like GIK, NED, UET, NUST-NIIT have intensively incorporated FOSS into their curriculum thus providing opportunities for FOSS research. 

Anticipating the benefits and cost-cuts, a lot of local businesses have embraced FOSS completely or certain portions of their IT infrastructures. This creates tremendous amount of human resource demand and supply opportunities and it is prime time to acquire the necessary skills required by all these local projects and businesses that are adopting FOSS as their business support systems. The best combination of skills includes Linux OS installation and administration as well as LAMP (Linux-Apache-MySQL / POSTGreSQL-Php / Python / Perl) software development skills. 

Apart from operating systems and general business applications, FOSS has contributed to human and social development through applications that empower individuals, promote economic growth, reduce inequality, support human rights, gender empowerment, microfinance development, employment creation, news sharing, information and knowledge dissemination. 

Apart from its low-cost and free-of-cost models, its greatest benefit particularly for Pakistan is that FOSS can be localized into the 70 regional languages spoken in Pakistan. This will provide versions of FOSS that use Urdu, Punjabi, Sindhi, Balochi, Pushto, Sariki, Himalaya as an alternative to the widely available software interfaces in English. Similarly, the availability of localized graphical user interfaces or visual display can be further worked upon to develop localized computing, and programming in Urdu as well as typing in domain names in Urdu into your browsers to access localized web resources over the internet. 

Pakistanis are carrying out Urdu localization efforts around the globe. The most widely accessible and usable tool to localize Ubuntu distribution is called Rosetta. This is an opportunity for Pakistanis to volunteer by donating their time and effort to share the translation activity covering over 1,100 translation tasks. To support localization, the regional BytesForAll FLOSS Localization Consortium gathers FOSS resources for carrying out localisation efforts for various regional languages spoken in South Asian countries. 

It is prime time for our academia, researchers, civil society and business and industry to adopt FOSS development and technologies for ICT-based production. The strategy is to embrace the innovation opportunities that FOSS extends. With the source code for every FOSS program in one’s hand, Pakistan can develop extensive and highly marketable products at virtually no cost for global markets. Similar business opportunities are available for extending the software freely without any licensing costs while charging for supplementary services built around the product including hardware, networking, consultancy, training, trouble-shooting, debugging, maintenance and upgrades through patches. The IT Business and Industry can be revived through adopting FOSS, developing commercial grade products for foreign markets, disseminating world class FOSS education and research positioning ourselves as one of the best FOSS knowledge workers and product developers worldwide as well as recreate the interest in IT that once was heard in all corners of the nation.