Home Blog Page 19

php script execution time measure

0

Welcome Back to shortlearner.com
today we will see how to measure the loading time of a PHP page.
the below script is very useful for determining for your web server, if your php scripts loading time
php script execution time measure
is slow, it will take most of the CPU and RAM Resources.

How to Generate a Random Password in Php

0

Welcome Back to shortlearner.com
today we will learn how to generate a random password with the help of php script .
In our previous post we learn how to check password and confirm password are same.
It’s always better to use a randomly generated password rather than your name,birthdate, city,state or your lover name.

random password generate in php

Import Data From txt File to MySQL Using Php

0

Welcome back to shortlearner.com .Today we will learn how to insert data from a text file into mysql database by using php .

import txt data into mysql
we have two files, one is employee.txt file which contain employees name and email address, and another one is index.php file which contains code of fetching data from file and inserting into database.

Decode JSON format using php function

0

Welcome back to shortlearner.com . Today we will see
how to fetch record from json using php function

Before start this tutorial first of all we should know about JSON.
Basically JSON is Java Script object Notation which is used to transmit data between a server and browser. Below is a basic example of json.

read json format in php

we have two files here, in the first file we have json code and in another one we are fetching all records of json file using some php functions.

get all dns records of a domain using Namecheap API

0

In the previous post we learn basic methods of namecheap api which are useful to buy domain, check the availability of  domain , expirey of domain, domain renew, reactivation of expired domain and fetch all the information of requrested domain.

In todays post we will see how to do DNS of  a requested domain using   namecheap api method.

Before start  this tutorial first of all we should know about DNS. In Basic words Domain Name System is used to resolvie human readable hostnames like (www.shortlearner.com) into machine readable IP address like 67.211.208.67. DNS also provides us other information about requested domain name such as mail services.