PHP

December 3, 2012 MySQL , PHP no responses # , ,

Textpattern – Open Source & Full-Featured CMS

Textpattern is an open source content management system, built with PHP/MySQL, that offers a flexible usage for designers, publishers/bloggers and end-users. The application uses built-in tags for retrieving and displaying dynamic content which gives you a complete control over the content and presentation.

Textpattern has the capability to build any type of website with sections, categories and different page layouts with a mini​malist admin interface that can be used by an unlimited number of admin users (with custom privileges)

Continue reading

December 3, 2012 Ajax , PHP no responses # , , , ,

Easy Basket – Free Ajax Shopping Cart That Integrates Into Any Website

Easy Basket is a very original shopping cart application which enables us to sell items inside any web page without any big code/structure updates. Once installed, the products and basket can be inserted into any part your web page where they will start functioning instantly.

When an item is added to the basket, a sliding + Ajaxed basket can appear to to show the total price and display the checkout options. Also, you can drag ‘n’ drop a product into the shopping cart as well.

Easy Basket

It is possible to enable the user to choose various details about the product like the “color”, “size”, etc. and they will be shown in the basket as well. EasyBasket supports PayPal and Google Checkout where their details can be mentioned inside a simple “settings page” provided.

And, the core comes as PHP and ASP, so, you can choose the one that best suits your needs.

Website: http://www.easybasket.co.uk/

December 3, 2012 MySQL , PHP , Project Management no responses # , , , ,

Kimai – Open Source Time Tracking Web App

Those days nearly all project management applications can calculate the time that is being worked on projects to use them in various reports. If you are not using such a project management system and looking for a simpler solution just to track time, Kimai can be a good alternative.

It is a PHP-powered, open source web application that enables us to define projects/tasks and record the time we work on each item.

Kimai - PHP Time Tracker

Although it is web-based, the timer keeps working even if the browser is closed unless it is stopped. After collecting the data, it can generate a report of your activities on demand (yearly, monthly, daily, by customer/project/action).

The application stores the data in a MySQL database and it has a multilingual interface.

Website: http://www.kimai.org/en/

December 3, 2012 PHP no responses # , , , , ,

Social Auth – Social Authentication With PHP

Social Auth is an open source and free PHP library that handles this process very easily. In order to simplify sign-in/sign-up processes and reach user data instantly, authenticating + authorizing users through social networks is a highly-used.

Social Auth

It has support for 3 major networks: Facebook, Twitter and Google+. The library is not limited to registration + login but can also pull user data where supported.

Requirements: PHP

Website: http://docs.sonhlab.com/social-auth-for-php-app/
Demo: http://demo.siterepo.com/free/sonhlab-social-auth/

September 15, 2012 PHP no responses # , ,

Validate an E-Mail Address with PHP

What is an email address? Following are the requirements for an e-mail address, with relevant references:

  1. An e-mail address consists of local part and domain separated by an at sign (@) character (RFC 2822 3.4.1)
  2. The local part may consist of alphabetic and numeric characters, and the following characters: !, #, $, %, &, ‘, *, +, -, /, =, ?, ^, _, `, {, |, } and ~, possibly with dot separators (.), inside, but not at the start, end or next to another dot separator (RFC 2822 3.2.4).
  3. The local part may consist of a quoted string—that is, anything within quotes (“), including spaces (RFC 2822 3.2.5).
  4. Quoted pairs (such as @) are valid components of a local part, though an obsolete form from RFC 822 (RFC 2822 4.4).
  5. The maximum length of a local part is 64 characters (RFC 2821 4.5.3.1).
  6. A domain consists of labels separated by dot separators (RFC1035 2.3.1).
  7. Domain labels start with an alphabetic character followed by zero or more alphabetic characters, numeric characters or the hyphen (-), ending with an alphabetic or numeric character (RFC 1035 2.3.1).
  8. The maximum length of a label is 63 characters (RFC 1035 2.3.1).
  9. The maximum length of a domain is 255 characters (RFC 2821 4.5.3.1).
  10. The domain must be fully qualified and resolvable to a type A or type MX DNS address record (RFC 2821 3.6).

Continue reading

August 1, 2012 PHP no responses # ,

Proxy Authentication with php/cURL

This is what I’m mostly using :

I’m creating a PHP function to connect using CURL:

Continue reading

May 31, 2012 PHP no responses #

Opauth – Multi-provider authentication framework for PHP

Authenticating users with well-known providers (like Google, Twitter or Facebook accounts) is widely used and an easy-to-use model for end-users.
However, when it comes to applying the feature, you need to deal with the requirements of each provider.

Opauth provides a standardized method for PHP applications to interface with authentication providers.

Continue reading

December 6, 2011 PHP no responses # , ,

Calculate the size, count files & folders of a directory with PHP

Here a PHP Class that calculates the size, number of files & folders of a specific directory.

Continue reading

December 5, 2011 PHP no responses # ,

How to remove a directory and it’s content using PHP

Was recently working on a project where needed to delete a folder and its sub-folders and files. Here is a snippet that can help you to remove a non-empty directory from the server. It’s a recursive function that deletes the directory with its files, folders and sub-folders.
Continue reading

November 26, 2011 PHP no responses # ,

Easily create a Zip file using PHP

Creating .ZIP archives using PHP can be just as simple as creating them on your desktop. PHP’s ZIP class provides all the functionality you need! To make the process a bit faster for you, I’ve coded a simple create_zip function for you to use on your projects.
Continue reading

Stay In Touch