PHP

Sending Emails in CakePHP with Example

Author - Sahil Bhalla
|
0 Comments
|

What support/library is there in CakePHP for sending emails and how to use it?

In CakePHP3, there are Transport and Email classes available under Cake/Network/Email namespace that are used for sending emails. After an update in the version 3.1 email functionality has Read more…

Data Sanitization using PHP

Author - Kailash Kumar
|
0 Comments
|

Understanding PHP data sanitization with an example

In PHP data sanitization is a process in which we remove unwanted content from the strings to make them safe to use in HTML code. For example if user types Javascript code in a textbox and we want to Read more…

SequenceMatcher in Python and Calling Python Script in PHP

Author - Mahesh Kumar
|
0 Comments
|

Introduction to SequenceMatcher in Python and Calling Python Script in PHP

SequenceMatcher is a class in Python which compares pairs of sequences of any type.SequenceMatcher is a class which comes under the difflib module. It provides classes and functions for comparing sequences. It can be Read more…

Laravel Configuration and Environment Variables

Author - Pawandeep Kaur
|
0 Comments
|

Laravel Configuration and Environment Variables

Each laravel application has one “Config” directory which includes all the basic configuration files. You can configure your application by adding custom or built-in configuration variables.

Environment Configuration:
Based on the environment where the application Read more…

Handling zip file download completion and cancellation event in PHP

Author - Harpal Singh
|
0 Comments
|

Handling zip file download completion and cancellation event (PHP)

Problem: I am working on a project in which user needs to download a zip file from the website. I am creating zip file on the server temporarily which should be Read more…

Why and How to use spl_autoload_register?

Author - Gopi Chand
|
0 Comments
|

Purpose and Usage of spl_autoload_register with example

__autoload is an older method. This method was first introduced in PHP 5 as a magic function but now this method is deprecated as of PHP version 7.2.0. If we want our code to be compatible with Read more…

Introduction to Magic Methods in PHP

Author - Webner
|
0 Comments
|

Here we will go through different Magic Methods in PHP

The PHP functions which starts with the double underscore “__” are called magic methods. These are the methods which are always defined in classes, and can not be used alone i.e. Read more…

Built in Web Server in PHP

Author - Webner
|
0 Comments
|

Built in Web Server in PHP and How to Use it

What is Built in Web Server?

Built-in web server is used for development and testing the PHP application without using LAMP, just launch the built-in server from the Read more…

Understanding Inflector in Cakephp

Author - Parminder Kaur
|
0 Comments
|

Understanding the purpose and usage of Inflector in Cakephp

The Inflector class in cakephp is used to modify single/multi word strings into different formats using its build-in methods. We don’t need to use core php methods such as str_replace if you want to Read more…

Integrate Laravel web service with custom alexa skill

Author - Dalbir Kaur

Steps for integrating Laravel web service with custom alexa skill:

Step 1: Your web service should be on secure HTTP connection and should have SSL/TLS. Alexa strictly enforces for this to protect the confidentiality and integrity of your data.

Step 2: Open your amazon developer Read more…

Some important features in Laravel Framework

Author - Pawandeep Kaur
|
0 Comments
|

Some important features in Laravel Framework

1. Artisan: Artisan is a command-line interface tool which is provided by laravel. By using this tool, users can create database structure. It is also used for creating the MVC files right away which means Read more…

PHP_CodeSniffer Introduction

Author - Preeti Bisht
|
0 Comments
|

What Is PHP_CodeSniffer?

PHP_CodeSniffer is an essential development tool that helps developers to work in a standardise format so as to make code clean and consistent. It ensures that same coding style is being followed. It allows a set of rules or a standard to be Read more…

PHP script scheduling without cron jobs

Author - Ishpreet Kaur

PHP script scheduling without cron job

Sometimes a website built in php needs to schedule a script on daily or hourly basis – for example, Reminder Emails, Newsletter emails or Database backups to be taken automatically. Normally, these types of backend tasks can be handled with the Read more…