How to access localhost from anywhere using any device.
How to Access Localhost from Anywhere
How many times, you have been working on an application (or an app) and you have designed and completed your application nicely. You have set up everything very nicely on your local system. Now you want to show this work to your client, who is sitting on a remote location. Also, you want to test this application on a different device ( such as mobile, tablets etc). To do these things, either you have to host your application on a public server, or you can use any service which allows to access localhost from anywhere.
Starting from PHP 5.4 , PHP incorporates a feature of a built-in web server. You can take the advantage of PHP built-in web server for development and testing of your PHP applications. It means you don’t need to configure Apache virtual host to run your PHP applications.
How to install composer on Mac OS.
What is Composer?
PHP Composer is a cross-platform dependency manager that allows you to manage package dependency in your project.
In my previous article, I have explained PHP Composer – how to manage package dependency in PHP through composer.
How to Install Composer on Mac OS
How to set up virtual hosts in apache on Mac OS.
What’s the difference between call by value & call by reference in PHP? This is the most important concept used in programming and sometime asked in interviews. Don’t worry if you are new to this terminology, you’ll learn this concept in this tutorial.
How to install, uninstall and remove phpMyAdmin from Ubuntu. phpMyAdmin is a very popular MySql Administration tool used my million of developers.
Write an efficient program to generate prime numbers between 1 to N (Where N is 10, 100, 1000 etc). This question can also be asked like this, Generate prime numbers between 1 to 100 or 1 to 10 etc.
Suppose the value of N is 10, So the prime numbers between 1 to 10 is 2, 3, 5, 7. Now let’s learn the most efficient algorithm (Sieve of Eratosthenes) to generate Prime Numbers between 1 to N. Before solving this program, let’s understand what is a prime number.
Write a program to check whether a number is palindrome or not using php code. How to solve this problem.
How to reverse a number using PHP code. This question is asked by one of our blog follower on webrewrite facebook page. In this tutorial, We’ll learn how to reverse a number by creating our own custom method.
Write a program to search an element in an array. Given a sorted array, how do you search an element in an array. Think for a moment how do you solve this problem.
You can use multiple approaches to find the solution of this problem. But try to solve this problem in minimum time complexity.