In this blog post, we will guide you through the process of deploying PHP applications on AWS Elastic Beanstalk. Elastic Beanstalk is a fully managed service provided by Amazon Web Services (AWS) that makes it easy to deploy, run, and scale web applications and services. To get started, you will need an AWS account. Once […]
Introduction In this tutorial, we will guide you through the process of hosting a PHP MySQL website on Amazon AWS. Amazon Web Services (AWS) is a cloud computing platform that provides a wide range of services, including hosting services for websites and applications. Step 1: Set up an AWS Account The first step is to […]
In last couple of posts, we discussed about CRUD and authentication using PHP and MySQL. Our example was an Address Book application. You can check back those posts here and here. Now its the time to combine the two and create a practical example. CRUD and authentication are very common tasks in web development. Most […]
In our previous blog, we created a simple CRUD application. To introduce some more features, we have created this new application. We have added CSS and JavaScript for better user interface. But the main code base is almost same. As in before, we will follow following steps to complete our application: Create Database and Table […]
The header() function can be used to send a new HTTP header to client, so to redirect it to a new page. Example is: Alternately JavaScript can be used within PHP or HTML code to do the same:
In this example we will create a simple address book application to understand CRUD operations in PHP and MySQL. As you may already know that CRUD stands for Create, Retrieve, Update and Delete operations. We can use these operations to add, manipulate and delete database records. We will follow following steps to complete our application: […]
We can use $_SERVER variable to check the IP address. For example, $_SERVER[“REMOTE_ADDR”] would return the client’s IP address. $_SERVER variable is an array containing information such as script headers, paths, and locations.
In PHP, there are multiple ways to include or require files into your code. It is important to understand the differences between these methods to use them effectively in your WordPress development projects. The four main functions used for this purpose are include, include_once, require, and require_once. The include function is used to include a […]