public marks

PUBLIC MARKS from calipussoftware with tag php

December 2015

What is new in Php 7

Now PHP developers are rejoicing because Php7 has released on 3rd december , 2015 with so many features which developers were expecting to have in Php are now available and have increased the productivity of so many frameworks like Magento, Zoomla, WodPress and Zend. PHP7 can execute approximately double requests than its predecessor PHP 5.6 which means applications can run fastly and smoothly on PHP7 and furthermore lesser memory will be used too. Many test cases had been used in different frameworks and every test was favourable for PHP7 environment.

March 2015

What is an SQL Injection and how you can prevent an SQL injection

(via)
I still find that most of the developers are not fully aware about the SQL Injection. Whensoever, I ask questions like; what actually it is OR how can we prevent this ? , I received some mixed sort of response. So I am going flash some light on this.

February 2015

How to Use jQuery’s $.ajax() Function

(via)
In our previous blog(What is AJAX and How it works ?), we discussed about AJAX and how to implement the same using jQuery. We did try to learn the same with the help of an basic example. In this tutorial, we are going to take it from there and will try to understand about the various available parameter in ajax function. Though we can’t cover all as it is a long list which you can read here but we shall cover the important parameters. But before that, let’s take another example.

What is AJAX and How it works ?

(via)
There will be hardly any web application in ear of web 2.0, which does not employ AJAX. Actually, you can’t imagine an interactive application without AJAX. AJAX is an integral part of web development stack. In this tutorial, we shall explain about AJAX and how can we implement AJAX. Let’s start with what wikipedia says about AJAX. 1. A method for exchanging data asynchronously between browser and server, thereby avoiding page reloads. The XMLHttpRequest (XHR) object is usually used, but sometimes an IFrame object or a dynamically added tag is used instead. 2. A format for the data sent to the browser. Common formats include XML, pre-formatted HTML, plain text, and JavaScript Object Notation (JSON). This data could be created dynamically by some form of server-side scripting.

What is spl_autoload_register, spl_autoload and autoload

(via)
PHP does have some awesome function which can be very handy. SPL register function is one of them, we are going to talk about. As PHP manual says spl_autoload_register — Register given function as __autoload() implementation So what exactly it means ? Let’s try to understand with the help of an example. function Autoloader($className) { require_once $path.$className.'.php'; } spl_autoload_register('Autoloader'); $myObj = new MyClass(); Here we have just instantiated a class named as “MyClass” with out specifying include or require statements.

How to Install FFmpeg in Ubuntu/Mint 17 (Part -1) - Latest Technology

(via)
FFmpeg is a free software project that can record, convert and stream audio and video. It is a very fast video and audio converter. The syntax of FFmpeg’ command is ffmpeg [global_options] {[input_file_options] -i input_file} ... {[output_file_options] output_file} ... You can install FFmpeg in two ways : 1. Install From Repository 2. Download Source Code and compile it. Let’s first discuss about installing from Ubuntu Repository.

Blink Title of Tab in Browser

(via)
Did you ever notice that sometimes your tab title gets updated on it’s own while you are browsing websites in other tab. There are many websites that do it. For eg. you shall notice that GMAIL update the title tab with counter of total number of unread email, each time your receive a new email. It’s a good practice to notify your customer that – something has just happened which needs your attention. That way your customer would not loose that important task and you would not loose that customer. Sounds Great!!

What is the difference between Character Sets, Encoding & Collations

(via)
You must have heard before about these terms – Encoding, Character Sets and Collations. So what exactly these terms means ?