public marks

PUBLIC MARKS from calipussoftware with tags calipus & php

20 February 2015 13:45

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.

16 February 2015 05:15

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.

15 February 2015 15:30

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!!

13 February 2015 08:00

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 ?