• Home
  • Ubuntu 16.04
    • Whats New ?
    • Install JAVA 8
    • Setup LAMP Stack
    • Install LEMP Stack
    • Install Node.js
    • Install Git
    • Move Unity Launcher to Bottom
  • FeedBack
  • Funny Tools
  • Tutorials
    • Linux Distributions
      • CentOS
      • Debian
      • Fedora
      • LinuxMint
    • Monitoring Tools
      • Monit
      • Nagios
      • NRPE
    • Network Services
      • DHCP
      • DNS
      • FTP
    • Databases
      • MySQL
      • MariaDB
      • MongoDB
      • PostgreSQL
      • SQL Server
    • Amazon Web Services
  • Submit Article
  • About Us
TecAdmin.net
  • Home
  • Ubuntu 16.04
    • Whats New ?
    • Install JAVA 8
    • Setup LAMP Stack
    • Install LEMP Stack
    • Install Node.js
    • Install Git
    • Move Unity Launcher to Bottom
  • FeedBack
  • Funny Tools
  • Tutorials
    • Linux Distributions
      • CentOS
      • Debian
      • Fedora
      • LinuxMint
    • Monitoring Tools
      • Monit
      • Nagios
      • NRPE
    • Network Services
      • DHCP
      • DNS
      • FTP
    • Databases
      • MySQL
      • MariaDB
      • MongoDB
      • PostgreSQL
      • SQL Server
    • Amazon Web Services
  • Submit Article
  • About Us

Category: PHP

04 April 2018

How to Install and Configure phpMyAdmin on Debian 9/8

Written by Rahul K.
Rahul K.
phpMyAdmin is an open source tool widely used for the MySQL database administration. It provides an easy to use graphical user interface. You can easily create, modify, delete database and tables. It also allows managing user and permission. You can also configure database replication using phpMyAdmin. This tutorial helps you to install and configure...
Read More about How to Install and Configure phpMyAdmin on Debian 9/8
PHP Leave a Comment
01 April 2018

How to Install and Use PHP Composer on Debian 9/8

Written by Rahul K.
Rahul K.
The PHP Composer is a package management tool. It removes the hassle of maintaining PHP packages for an application manually. You can easily install all the required packages using Composer. It maintains a list of required packages in a JSON file called composer.json. This tutorial helps you to install and configure PHP composer on...
Read More about How to Install and Use PHP Composer on Debian 9/8
PHP Leave a Comment
11 March 2018

How To Install PHP (7.2, 7.1 & 5.6) on Debian 9 Stretch

Written by Rahul K.
Rahul K.
The Ubuntu users can visit our tutorial for installing PHP 7 on Ubuntu. This tutorial is for the Debian 9 Stretch users to install PHP 7.2, 7.1 or 5.6 on their systems. First, you need to complete the Prerequisites step and then go forward for installing PHP version of your choice or requirements. Prerequisites...
Read More about How To Install PHP (7.2, 7.1 & 5.6) on Debian 9 Stretch
PHP 3 Comments
09 March 2018

How To POST JSON Data with PHP cURL

Written by Rahul K.
Rahul K.
The PHP cURL is a library used for making HTTP requests. In order to use PHP cURL, you must have installed and enabled libcurl module for PHP on your system. In this tutorial, you will learn how to POST JSON data with PHP cURL requests. Basically, there are 4 steps involved to complete a...
Read More about How To POST JSON Data with PHP cURL
PHP Leave a Comment
28 January 2018

How to Enable/Disable PHP Modules on Ubuntu 16.04/14.04

Written by Rahul K.
Rahul K.
All the installed PHP modules configuration files are available under /etc/php/<VERSION>/mods-available directory. You can see the number of files with extension .ini. You must have installed specific PHP modules, you need to enable before using this tutorial. The php-common package provides followings commands to manage PHP modules. phpenmod – Used to enable modules in...
Read More about How to Enable/Disable PHP Modules on Ubuntu 16.04/14.04
PHP 1 Comment
06 January 2018

How to Get Current Date Time with PHP

Written by Rahul K.
Rahul K.
You can use date() function to get current Date and Time in any PHP version. A DateTime PHP class is also available in PHP > 5.2 to get Date and Time. PHP Date and Time Print the current date and time using date() function. It will use the default timezone configured in php.ini. [crayon-5ad977523b98c115381479/]...
Read More about How to Get Current Date Time with PHP
PHP 1 Comment
04 May 2017

How to Check If String Contains a Substring in PHP

Written by Rahul K.
Rahul K.
This tutorial will help you to check if a string contains any substring in PHP programming language. For example, you want to run a specific line of code only if any input string contains another substring in it. Example 1: The following code will evaluate to true because the main string $str contains the...
Read More about How to Check If String Contains a Substring in PHP
PHP Leave a Comment
07 April 2017

How to Prevent SQL Injection in PHP

Written by Rahul K.
Rahul K.
This tutorial will help you to prevent SQL inject in PHP. In this tutorial first, check a basic example of SQL injection process. How can users steal data from your website using SQL injection? This tutorial also includes methods to prevent SQL injection using PHP-MySQLi and PHP-PDO drivers. Simple SQL Injection Example For example,...
Read More about How to Prevent SQL Injection in PHP
PHP 3 Comments
09 March 2017

How to Install PHP Ioncube Loaders in Ubuntu & Debian

Written by Rahul K.
Rahul K.
Install PHP Ioncube Loaders in Ubuntu & Debian . Ioncube is used as encryption/decryption utility for PHP applications by which we can keep safe our data. It also can restrict PHP application to execute unauthorized. It also assists in speeding up the pages that are served. IonCube loaders are used for decoding encoded files...
Read More about How to Install PHP Ioncube Loaders in Ubuntu & Debian
PHP Leave a Comment
18 February 2017

How to Get Current Date and Time in PHP

Written by Rahul K.
Rahul K.
You can use PHP date() function or DateTime() class to get current Date and Time in PHP. This tutorial will help you to get current date time in PHP. Using date() Function: The below php script will return current date time in ‘Y-m-d H:i:s’ format. [crayon-5ad977523d323831036019/] Result:- 2017-02-27 08:22:26 Using DateTime() Class: The DateTime()...
Read More about How to Get Current Date and Time in PHP
PHP Leave a Comment
1 2 … 6 Next →

Popular Posts

  • How to Install JAVA 8 on Ubuntu 16.04/14.04, LinuxMint 18/17
  • How to Install s3cmd in Linux and Manage Amazon s3 Buckets
  • How to Install AnyDesk on Ubuntu, Debian and LinuxMint (Alternative of TeamViewer)
  • How to Setup Selenium with ChromeDriver on Ubuntu 16.04
  • How to Install MySQL on macOS Sierra and High Sierra
All rights reserved. © 2013-2018 TecAdmin.net. This site uses cookies. By using this website you agree our term and services