Telegram is a cloud-based instant messaging and voice over IP service. Telegram client apps are available for Android, iOS, Windows Phone, Windows, macOS, and Linux. Users can send messages and exchange photos, videos, stickers, audio, and files of any type. Telegram has all of the features you would expect from a modern chat platform, including […]
What is Composer A composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you. System Requirements Composer requires PHP 5.3.2+ to run. A few sensitive PHP settings and compile flags are also required, but when using the […]
In this post you will learn how to get you tube video images and thumbnails. There are various method to get Images or Thumbnails like using url manually or getting it from API. Below you will see both methods of getting this information. Method 1. Getting images manually using URL. Each YouTube video has 4 […]
Many times we need to create logs in our Web Applications to track any certain Errors or Response. We just need to put a bunch of code where you want to Create a log. In this post you will learn how to create logs using Php Code.
$log = "User: ".$_SERVER['REMOTE_ADDR'].' - '.date("F j, Y, g:i a").PHP_EOL.
file_put_contents('log_'.date("d-m-Y").'.txt', $log, FILE_APPEND);
This code will check for the filename. […]
HTML Helper The HTML Helper file contains functions that assist in working with HTML. Loading this Helper This helper is loaded using the following code:
Available Functions The following functions are available: heading([$data = ”[, $h = ‘1’[, $attributes = ”]]]) Parameters: $data (string) – Content $h (string) – Heading leve $attributes (mixed) – […]
Language helper The Language Helper file contains functions that assist in working with language files. Loading this Helper This helper is loaded using the following code:
Available Functions The following functions are available: lang($line[, $for = ”[, $attributes = array()]]) Parameters: $line (string) – Language line key $for (string) – HTML “for” attribute (ID […]
Number Helper The Number Helper file contains functions that help you work with numeric data. Loading this Helper This helper is loaded using the following code:
Available Functions The following functions are available: byte_format($num[, $precision = 1]) Parameters: $num (mixed) – Number of bytes $precision (int) – Floating point precision Returns: Formatted data size […]