Latest Threads

Forum Statistics
  • Forum posts:15
  • Forum threads:15
  • Members:144
  • Latest member:ebohfaxakub

Ecommerce applications written in php

There has been a complete revolution in the online shopping industry due to growth in PHP based open source ecommerce platforms in the last few years. What do you think is the reason for that? Well, these platforms allow to create your online shop even if you do not have any experience in ecommerce development. All you need to do is point, drag, click and your store is just magically ready to be launched.
Here we bring a collection of top ecommerce applications written in php
WooCommerce has to be the most popular ecommerce platform that is written in PHP. It is an extension of WordPress. WooCommerce is amazingly simple to use and that is why it enjoys a 21% global market share. Even a beginner can easily install WooCommerce. It just takes a few minutes to install WooCommerce on a host that supports PHP. Given that is has been used by 380K stores so far, it has a large repository of themes and plugins.
Magento has the reputation of being one the most reliable platforms for ecommerce amongst both enterprises and individuals. This ecommerce system is built over PHP framework which allows you to build scalable online stores easily. There are a lot of extensions available for Magento which helps in simple integration of relevant 3rd party apps with the online shop. However, it is worth noting that Magento was originally created by developers so that they would not have to start from scratch every time. You will need expert level skills in PHP to build an ecommerce stores using this platform. Magento is the 3rd most used ecommerce site builder and enjoys over 10% of market share.
Drupal Commerce is an open source ecommerce solution written in PHP and used by over 5000 sites. Drupal Commerce is very good at tracking orders, payments, invoices and receipts. It also allows integration of different options when it comes to payment and shipping methods. Drupal Content Management System forms the basis for Drupal Commerce. It offers a comprehensive system for administration including the form for checkout. It also has support for multiple currencies. It is also possible to integrate this platform with fulfillment and accounting services along with social networks.
Joomla enjoys almost 6% of market share which is representative of its moderate level of popularity amongst ecommerce developers. In its basic form, it is a content management system which is `mostly used by churches, schools and some ecommerce store owners. It boasts of a flourishing community of designers and developers. Joomla is currently in use by 70,000 ecommerce stores and websites.
Open Cart
Talk about the most popular ecommerce platform built using PHP, and OpenCart is bound to be on the list. It has a very helpful and strong community of professionals. OpenCart presents a very easy to use and manageable user interface for payments (supporting hundreds of gateways) and shipping methods. There are more than 2500 pretty themes to select from if you wish to customize your store. The interface is not only very appealing to the eyes, it is very easy to use as well.
Zencart is another open source platform that is also built using PHP. Zencart is actually an extension of the oscommerce platform from which it was branched out in 2003. It comes with more than sixteen categories and 1800 add ons. Zencart is going really strong with the backing of a community comprising of 150,000 active members who provide support for different languages.

So, this was a compilation of some of the best ecommerce platforms written using PHP which will help you get going with your ecommerce store in a matter of minutes. Whether you are looking for options in shipping or payment gateways, these ecommerce solutions will get you there.

Print this item

[Image: ExpressionEngine.png]
ExpressionEngine is a feature rich and powerful open source CMS (Content Management System) that allows yo to build amazing websites. This CMS is fully written in object oriented PHP and it uses mySQL to store data. As of today, ExpressionEngine is in use by organizations of all sizes – small businesses, large businesses, individuals and non-profit organizations to develop websites driven by content.
ExpressionEngine is found to perfect for businesses of tomorrow as brings some unique advantages. One of the biggest advantages is that ExpressionEngine lets you design a website without being constrained by limitations that the current template may have. To add to this, you do not need with HTML files. These awesome features make it a whole lot easier to design a website using ExpressionEngine.

Secure your website

Security has to be the number one concern in your ind while designing your website. You would want to add as much security to your website as possible to ensure that the privacy of sensitive data does not get compromised in any way. ExpressionEngine sports advanced security features that will help you in making your website more safe and secure.

Create a unique website
[Image: ExpressionEngine-unique.png]

ExpressionEngine offers you scores of options for customization which makes it easier for you to design unique websites. There are a lot of ways to provide your website with data. This makes it straightforward for you create a structured schema which will benefit you in terms of SEO and hence bring more traffic to your website. You will also be able to create your own custom strategy for the back end. This will help you in meeting the demands on your website.

Comes with an easy to use interface
[Image: ExpressionEngine-easy.png]

ExpressionEngine has a lot simpler user interface when compared to other CMSs. Its user interface simplifies proper creation and management of content. This ultimately leads to creation of websites which are more user friendly, which is the main driving force to attract business these days. And when we say that is has a simpler interface, it really does mean that anyone with no technical knowledge can use it too.

Allows you to create SEO friendly content
[Image: ExpressionEngine-seo.png]
SEO is very important for any website to attract organic traffic. ExpressionEngine proves what a big help it can be when we talk of SEO friendly generation of design and content. By taking care of this aspect, ExpressionEngine CMS ends up playing a big role in increasing the online visibility of your business.
With ExpressionEngine behind you, you will never have to ask yourself if you can implement some design because the answer will always be an astounding yes. ExpressionEngine provides you with something that you will not get with any other CMS – it completely stays out of your way. It neither restrains you from imposing any constraints because of design nor does it force you to compromise your artistic imagination in any way.

Print this item

[Image: octobercms-1.png]
Looking for the most cost effective, relevant, comprehensive and fast CMS (Content Management system) that provides simple pattern along with an awesome programming experience? Look no further, October CMS is what you need. OctoberCMS is an open source, self hosted and free CMS platform. It is written on the Laravel web applications framework and PHP programming language. It helps users in building modern websites using advanced technology.
October CMS is considered to be the latest headline in the CMS world. The selling point for OctoberCMS is that it makes the workflow of web development easy again. An increasing number of designers, website owners and web developers are adopting OctoberCMS because of its advanced security, simplicity and its ability to be customized for satisfying the requirements of any kind of project.
OctoberCMS has the ability of solving most of the tasks that are required in modern web development. It does so by providing great tools to accomplish those tasks. What is more important is that the tools have an enticing and graceful user interface, which has soft colors and a straightforward simple menu.
[Image: octobercms.png]
Contemporary Laravel PHP Framework
[Image: octobercms-framework.png]

The contemporary Laravel PHP framework forms the basis of October CM. The Laravel framework is elegant, sturdy and lightweight. It is frequently updated so it stays in tune with new PHP features. Using Laravel as its foundation, makes OctoberCMS a CMS that is designed with the aim of catering to your creative vision. It does not constrain you in any way when it comes to HTML markup and page structure. All of this makes it very attractive to designers as it provides with the inspiration of breaking all boundaries and allows their imagination to take control.

Elegant, Graceful and Simplistic Backend
[Image: octobercms-backend.png]

OctoberCMS is free from any unnecessary clutter and offers a very clean, simple backend interface. It has a main menu towards the top and a sub menu on the left had side. The sub menu is an expansion of the main menu item currently selected. The remainder of the area is available for you to perform any backend operations.

Simple yet powerful customization

Developers and users alike can extend the capabilities of OctoberCMS using plugins. Plugins are separated from October core so it is safe to install and remove them without any collateral damage.

Customize Your Website Without Programming Skills

OctoberCMS is also very user friendly and you really do not have to have programming skills to work with it or customize it. Users who are not technical can also manage content on the website, as well as videos, images and other kinds of files using the easy to use WYSIWYG editor. Even the menus of he website can be altered via a simple simple UI by installing a suitable plugin.

Always kept up to date
[Image: octobercms-update.png]

OctoberCMS keeps getting updates regularly which allows you to keep your website clean, shiny and fresh while you can take full advantage of the platform’s capability. There is no need for you to keep track or update components manually. All of this is taken care of and the updates are always available.

Advanced security
[Image: octobercms-security.png]

Laravel framework makes sure that the only file that can be accessed directly on OctoberCMS is index.php in the root directory. This helps in cutting off all kinds of untrusted activity and does not provide a back door which can lead to security breaches. Also, all the plugins have to go through a very strict approval process so you can be assured that they are highly secure and of good quality. This process ensures that anything that you add to your website can be trusted and does not open a back door for potential security breaches.

OctoberCMS is simple to use and powerful. It offers a huge feature set so you can build simple or complex websites. At the same time, it does not overload you with tools that you do not need. It provides you with an awesome performance and fast loading times with minimal trips to the database. OpenCMS is very stable and well supported.

Print this item

[Image: joomla.jpg]

Since the initial start of Joomla in the year 2005, it has basked in its good share of bright days. For long, it was considered as a favorite choice for CMS by many developers. That was however the case a couple of years back. As of today, such statements are hard to come by as the popularity of Joomla seems to be going downhill. If you want to double check for yourself, just look at Google Trends for Joomla.

What this article covers

In this article, we have tried to explore the Joomla ecosystem. A lot of people may think that we are criticizing Joomla. Please be assured that we are not in a position to do that. Our humble attempt is to highlight both the good and the not so good sides of Joomla. The idea is to create a debate about the use of Joomla. Joomla does have a great piece of web development software backed by a CMS. We will also be sharing our suggestions and opinions with you coming from some of the most decorated Joomla developers, experts in social media, optimizers of search engines and digital marketers, pointing out the difficult times that Joomla is currently enduring and what its future seems to hold.

Why is Joomla so good?
[Image: joomla-good.png]

Joomla has been downloaded more than 50 million times over the years. It has become of the most popular CMSs since it was launched. Even today, it enjoys the second position in the most popular CMSs, right after WordPress.
One of the biggest advantages of Joomla is that it uses ab object oriented programming language, which provides the developers with the supreme convenience of being able to code their programs with ease of use.
As of now, Joomla is responsible for powering 3% of all websites. The latest version of Joomla was released recently. Big players have again started showing their inclination and trust towards Joomla. This is largely due to its framework being very user friendly and mobile responsive. As per the customer portfolio claims on the official Joomla website, organizations and companies like Peugeot, IKEA, Guggenheim Museum, Barnes & Nobles, etc. have placed their trust in Joomla. Moreover, governments from all over the globe use Joomla to power their websites.
The slim wonderful area that Joomla offers is really wonderful. It provides the users with the
The news that rings a bell to the ear there is now a new release of Joomla. With the new release, Joomla has really made some very good advancements in its security framework, which provides the users with password and page hashing, capability for multiple languages, a new application for RSS feeds, and microdata documentation with MediaWiki that works great at its back end.

What makes Joomla not so good?

[Image: joomla-not-good.jpg]

There are always two sides to a story. We covered the good side of the story above. It is not time to look at the bad things or the loopholes in Joomla. There are many glaring reasons that make a real difference in Joomla lagging behind WordPress and other CMSs on some of the major fronts.
Search Engine Optimization (SEO) happens to be one such big areas, where Joomla performs rather poorly when compared to other content management systems, WordPress in particular. Although the development team at Joomla is working really hard at it, there is sill room for a lot of improvement in the area of SEO.
Another complaint that people usually have is about its extension and plugin repository. Although the platform boasts of more than 7,700 extensions being available, they are severely restricted in terms of the functionality they provide and most of them are outdated. At the same time, none of them is nearly as popular as the ones available in the repository of WordPress. This lack of regularly updated extensions for Joomla has hit the overall functionality of the platform really hard. The developers working on Joomla need to put in extensive work to increase the amount of user friendly extensions.
One common image among most of the common users is that installation of Joomla is a very cumbersome process and working on it is even harder.
The biggest challenge that Joomla faces in current times when compared to the other CMS software is that it fails to provide anything new to its users. The core functionality is very fragile and is till based on old traditional semantics. The CMS has just not evolved as it was expected.

What does the future look like?
[Image: joomla-feature.png]

The falling trends in Joomla’s market share may seem to signal the worst case scenario for Joomla as a content management system, but there is still plenty of hope for Joomla to be used as an Application Platform.
So think of a future where Joomla will be transformed into an Application Platform rather than being a complete CMS. The new release of Joomla should be emphasizing on marketing Joomla as an Application Platform with new functionalities, each of which should be independent of the core code for Joomla. This will offer the customers a much cleaner and more user friendly infrastructure that they can work with. The developers working on Joomla have a key role to play in making this a possibility.

Print this item

[Image: drupal.png]

Drupal is mostly put to use because it is open source and free Content Management System (CMS) which allows the users to organize, manage and publish content. It fundamentally runs on environments based on PHP. This whole mechanism is governed by the General Public License i.e. GNU which basically says that everyone should have the freedom to download and also share it with the other users. It has been put to use in millions of sites such as, World Economic Forum,, Stanford University and many more.

What is a Content Management System?
[Image: content-management-system.png]

Content Management System (CMS) happens to be a piece of software that handles all the data which will be made available on the website as content. A CMS is used to edit, publish and modify the content of the website.
The standard release of Drupal is referred to as Drupal Core. It was developed by Dries Buytaerti in 2001. It is considered by many as the leading CMS serving various industries.

Why should you use Drupal?
[Image: why-drupal.png]

If you are developing any website that needs CMS (Content Management System), then Drupal CMS is considered to be fery flexible as compared to any other CMS solution. It provides very powerful features and can be put to use to build very large and complex websites. It is based on PHP templates which allows even non technical users to use the software easily and adding/editing content does not require you to have any HTML or web design skills.
With the help of Drupal, it becomes very easy to work with other sites and various technologies that are able to handle more complicated forms and workflows. Drupal makes more than 16,000 modules available which can be addressed with Drupal Core and add on modules.

Drupal Features
[Image: drupal-features.png]
  • Drupal makes it really easy to create and manage your site.
  • Drupal translates anything that is in the system using in-built user interfaces.
  • Drupal connects your website to the other websites and services using feeds, search engine connection capabilities, etc.
  • Drupal is am open source software, hence it does not require any licensing costs.
  • Drupal designs very flexible and creative websites for the users that display more effectively thus increasing the number of visitors.
  • Drupal is capable of publishing the site’s content tto social media like Facebook, Twitter and other social media sites.
  • Drupal offers a huge number of customizable themes, which also includes the basic themes which can be used to design your own themes in order to develop web applications.
  • Drupal manages content on member sites, informational sites, social media sites, web applications and intranets.
Drupal Advantages
[Image: drupal-advantages.png]

  • Drupal is a very flexible CMS that allows users to handle various content types including menu handling, video, blog, real time statistics, etc.
  • Drupal offers a number of templates that can be used for development of web applications. So there is no need of starting from scratch irrespective of if you are building complicated or simple web applications.
  • Drupal is very easy to manage and to create websites/blogs. This helps in organizing, structuring, finding and reusing the content.
  • Drupal offers users some very interesting templates and themes that give an attractive look to the website.
  • Drupal boasts of over 7,000 plugins to boost the website. Also, because Drupal is open source, we can engage in creation of our own plugins.
Drupal Disadvantages
[Image: drupal-disadvantages.png]
  • Drupal is not a very user friendly interface. It requires user to gain an advanced knowledge and also some basic things regarding the platform in order to install and modify it.
  • Drupal is a fairly new CMS (Content Management System) which is not very compatible with other software
  • Drupal’s performance is low when compared to other CMS systems. The website made using Drupal will suffer bigger server loads and will never open up on slow internet connections.

Print this item

One of things that you have sometimes pondered upon may be: Why should you consider using WordPress? Isn’t your old site good enough any more? Why do you need to switch to WordPress instead of continuing to use what ever you have been using. If you have have ever asked these questions, then we will try to answer some of your questions in this article. We will try to cover all the different types of websites that you can create with the help of WordPress and we will also be showcasing some of the popular sites that are running on WordPress.
One of the most common misconceptions about WordPress is that it is considered by a many as just a blogging platform. That is far from true. While WordPress did start as a tool for blogging, it is evolved over all these years to turn into a very powerful website builder and a very strong content management system (CMS). The best thing about WordPress is that it is easy to use and has enough flexibility to help you make different kinds of websites. That really is the main reason that has led to WordPress growing so much in popularity. A recent survey shows that WordPress id powering around 32.3% of all the websites on the internet. Just because WordPress has so many robust features, some of the top brands make use of WordPress to run their websites including Facebook, Time Magazine, Disney, The New Yorker, The New York Times, Target and many more.
Let us take a look at why you should be using WordPress to run your website.
WordPress is a completely free software
[Image: wordpress-free.png]
 This means that you are free to download, install, use and modify it to suit your needs. You are free to use it to create any type of website. 
While the WordPress software is free, you will still need to get a domain name and web hosting space to install it.
A domain name is the address pertaining to your website on the internet. This is what the users type in the address bar of their browsers in order to get to your website. (for example:
Web hosting is the place where all the files related to your website are stored.

Themes and Plugins make customizing WordPress Easy
[Image: wordpress-themes.png]

Most of the people who are using WordPress are neither programmers nor web designers. To tell the truth, most people start using WordPress with no prior knowledge of website design. WordPress is the ideal solution because thousands of free website templates (themes) are available for you to pick from. There is a perfect theme for WordPress to cater to just about any kind of website (whether it is a business site, a blog or an online store). WordPress themes are very easy to customize since a lot of them come with their own options panel that allows you to change colors, change the background, upload a log, create tempting sliders and really customize it to suit your needs and tastes without having to write any code at all.
You can also add custom functionality to the site with the use of plugins. WordPress plugins act like apps for your website that you can put to use to get advanced features like contact forms, analytics, membership area and a lot more. Just like themes, there are thousands of free and premium plugins available for you to pick from. Apart from adding extra functionality, some of the WordPress plugins can let you transform your website into a completely new platform. 

WordPress is SEO Friendly
[Image: wordpress-seo.png]

WordPress is written using standard compliance code of high-quality and produces semantic markup. In non-geek terms, this makes Google and other search engines fall in love with WordPress. This is the reason why WordPress sites typically rank higher than others in search engines. By very design, WordPress is very SEO friendly just out of the box. You can also make use of WordPress SEO plugins to further optimize your website. 

WordPress is Easy To Manage
[Image: wordpress-easy.png]

WordPress comes with an updates management system built in. This helps you in updating your plugins and themes from within the admin dashboard. You also get notified when there is a new version of WordPress available, so you can update your site by simple click of a button. You can easily use a WordPress backup plugin to automatically create backups and store them safely on a remote location in order to protect your data from hacking or any accident. You can also manage your website on the go by using WordPress mobile apps.

WordPress is Safe and Secure
[Image: wordpress-safe.png]

WordPress was developed with security in mind, and it is considered to be a very safe and secure platform for running website. However, just like the real world, the internet can be an uncertain place and bad things may happen.
There are a lot of intruders out there who want to get their hands on as many sites as they can. With WordPress, however you can secure the site by following some best practices as the WordPress code is already very secure.

WordPress Can Handle Different Media Types
[Image: wordpress-media.png]

WordPress does not limit itself to just text. It comes with an already built in uploader that is capable of handling images, video and audio files. Website supports oEmbed enabled websites. This means that you are allowed to embed Instagram photos, YouTube videos, SoundCloud audio and Tweets by just pasting the URL in the post editor of WordPress.
Wordpress can be put to use in many different ways all the way from simple websites to eCommerce based marketplaces and anything in between. Some of the websites that you can make with WordPress are starting a blog, starting an online store, making a business website, selling online courses and building a membership website.

Print this item

Open source CMS applications built using php

One of the most vital decisions that you need to make when starting any kind of web development process is picking the right CMS for yourself. The reason is that it will allow you to plan your application requirements and the solutions well in advance. On the way, you will be able to get a fairly good idea about the proposed design of the application, its features and also its performance. Hence, opting for the best PHP CMS happens to be one of the most important parts of the application development cycle. It therefore requires an appropriate amount of knowledge to allow you to choose the best one in your case.
Now, there are a lot of open sources CMS solutions available in the market. It is up to you to choose the appropriate one depending on the requirements of your application. Irrespective of whether you are looking to build a basic dynamic website or a full throttle ecommerce store, the marketplace offers you many types of CMSs to take some burden off your shoulders. Also, not every developer would want to write the orthodox CSS and HTML when they are building web pages.
These CMS platforms go a long way in reducing the conventional workload on the developers. The dynamic web applications which can even go up to a thousand pages as time passes, are very easy to develop with the use of CMS platforms. This is because CMS solutions streamline the jobs that are involved in web development in some smart ways. Here we discuss some of the open source CMS systems built using PHP.

[Image: wordpress.png]
Wordpress is the most popular open source platform that allows a lot of developers around the world to make contributions to its development. This is the reason why the platform has been able to evolve very rapidly. It boasts of the biggest collection of optional plugins, widgets and themes.

Here is more information about wordpress -->

[Image: Drupal.jpg]

Drupal is also a free open source CMS platform written in PHP is is rated as the best platforms for ecommerce stores. Iy was originally developed as a student community addition but eventually it evolved into a full fledged open source CMS. Drupal allows the developers to easily develop highly optimized online stores with a lot of perfection. Given that the platform contains some very rich features of moderb application development, it is highly preferred by most of the developers.

[Image: Joomla.png]

Joomla is also a PHP based CMS that is vastly known for creating blogs and portfolio websites. It is however not fair to compare it with WordPress, but the platform does provide enough features to allow you to build features that go into building top class blogs and dynamic websites.

[Image: ExpressEngine.png]

If you are working with a lot of content, ExpressEngine is probably going to be your best choice. This open source CMS offers some awesome features that can be utilized for creation of content over the internet. The highly flexible architecture offers the best environment for you to be able to extend the functionalities of the CMS by use of custom scripts.

[Image: PryoCMS.png]

Laravel framework is the powerhouse for the PyroCMS. PyroCMS is an intuitive abstracted CMS which was first written in codeigniter framework in 2012. After the release of version 3.x, PyroCMS uses Laravel frameworkPyroCMS is modular in nature and developers can easily mix and match components to fit the CMS within their project’s requirements.

[Image: OctoberCMS.png]

OctoberCMS also works on Laravel framework and is in use by thousands of digital agencies and companies to build their websites. The CMS provides flexibility, simplicity and modern design to create retina-ready apps and websites.
OctoberCMS is self-hosted open source CMS. You can also install it independently on your hosting servers. This CMS works fittingly well with 3rd party integrations and has got 700+ themes and plugins, with a large supportive community.
So this was a compilation of some of the best PHP CMSs that are available in market and are known for their rapid web development mechanisms. Whether you need a custom-dynamic website or need an advanced online store, these CMSs will provide you adequate solutions to build desired web applications.

Print this item

Posted by: turgam
03-28-2019, 07:28 PM
Forum: PHP Functions
- No Replies

This PHP function finds all occurrences in a string and assign them to an array, 
 which gives you both "find all occurrences in string"  and  "get string between two strings" 

PHP Code:
function get_every_string_between($str$start$end){
  $contents = array();
  $startLength strlen($start);
  $endLength strlen($end);
  $startX $strStart $contentEnd 0;
  while (false !== ($strStart strpos($str$start$startX))) {
    $strStart += $startLength;
    $contentEnd strpos($str$end$strStart);
    if (false === $contentEnd) {
    $contents[] = substr($str$strStart$contentEnd $strStart);
    $startX $contentEnd $endLength;

and usage:
$zipFiles = get_every_string_between($page, '<a class="download_link" href="','">') ;
echo "<pre>" ;
print_r( $zipFiles );
This examples allow me to find all zip file links in a web page but there are many other ways to using it.

Print this item

Posted by: turgam
03-27-2019, 08:18 PM
Forum: MySQL Database (MariaDB)
- No Replies

you can use mysqli_select_db(connection,dbname) with php5+
Here is how :

PHP Code:
// Check connection error
if (mysqli_connect_errno()){
  echo "Failed to connect to MySQL: " mysqli_connect_error();
// change database ;
Here is the catch: you have to have same privileges in both database in mysql in order to change database with same username, 
If you want to use separate connection for both database please see the post
Multiple MySQLi DataBase connections for mysqli with PHP

Print this item

Posted by: turgam
03-27-2019, 07:36 PM
Forum: PHP Functions
- No Replies

In order to use a function effectively, sometimes you need to pass parameters to a function in PHP. 
Here is basic example

PHP Code:
function AplusB($a$b){
   $result $a $b ; 
   return $result 
// usage 
echo AplusB(3,5) ; 


Sometimes a parameter or one of parameters can be optional, lets say we want to use a calculate function it's in general addition but there are times we want
to use subtraction. Here is example:

PHP Code:
function AandB($a$b,$option ='addition')
 if ($option 'addition'){
   $result $a $b ; [/font][/size]
 }elseif ($option 'subtraction'){
 $result $a $b ; 
// usage 
echo AandB(3,5) ; 
// usage 

echo AandB(5,3) ; // since $options has a default value in functions parameters, calling $option now is optional and therefore this will not raise an error                    //php. 
 // in php

echo AandB(5,3,'subtraction') ; // it's valid to call AandB() function.

Print this item