Home Blog Page 20

Decode JSON format using php function


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


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 DNS also provides us other information about requested domain name such as mail services.

Why Today’s date is Lucky for Dhoni.?


Mahendra singh dhoni , commonly know as CAPTAIN COOL.Dhoni  holds numerous captaincy records such as the most wins by an Indian captain in Tests, ODIs and T20Is, and most back-to-back wins by an Indian captain in ODIs. He took over the ODI captaincy from Rahul Dravid in 2007 and led the team to its first-ever bilateral ODI series wins in Sri Lanka and New Zealand.

27 January 2003 – Dhoni played his first match for Jharkhand.

C program to prompt user with option on menu at Post Office

struct speed;
int rate;
float weight;
float distance;
void main()
struct speed sp;
printf("\n enter distance");

printf("\n enter weight");

if(sp.distance <=40 && sp.weight<=100)
printf("\n you have charged 20 rupees");
elseif(sp.distance<=40 && sp.weight>=100 && sp.weight<=100)
printf("\n rate si 40 rupees");
elseif(sp.distance>=41 && sp.distance<=100 && sp.weight>=200 && sp.weight<500)
printf("\n rate is 70");
printf("\n rate is 100");

11 useful methods for Namecheap API


Welcome Back to Shortlearner.com , In our previous post we saw how to create a Namecheap account and apply for API . Namecheap have some of its criteria when we apply for API. If we fulfill all of the criteria than namecheap provides us an API. Namecheap takes 48 working hours to check our criteria.

namecheap api using php

In Today’s post we will see how to configure the Namecheap API using Php and access all the namecheap activities like (Update DNS, Create NameServer, Information of Namecheap Account Holder, Account Balance, Buy domain , Buy SSL certificate, create another namecheap account, change password and also see all the domain which is buy frim particular API).
Now We see some of methods/functions which are helpful for Access all the above Namecheap activities .
We splits all the Methods into some categories, In the first category we discuss all the functions of domains.