Difference between include() and require() functions? This both functions help to include the content of other PHP files into another PHP file. Including files is very useful when you want to include the same PHP, HTML, or text on multiple pages of a website. include() Function While using the include() function it adds the content […]
In this tutorial, I’m going to show how to create a login page in PHP, creating a login page for beginner is a big problem. I’m trying to keep this easy so you can understand this and create your PHP project awesomely. Here is the coding for login page in PHP with step by step […]
In this PHP tutorial, I’m going to talk about how to POST and GET JSON Data using PHP cURL, the cURL library is used for sending and receiving data on the web and used by the developer for the same. And if you are working on the rich application then often need to post and get […]
In this tutorial, I am going to share how you can get information about your memory and CPU usage in PHP, optimizing server memory is a big problem and you may have to face server downtime issues. PHP has a garbage collector and a pretty complex memory manager. The amount of memory being used by […]
PHP is a very popular language for developing a website. We can also control system by some PHP commands, In this article, I am going to show How to shutdown computer using PHP Script. We can control our system command from the web but we need to do one thing to enable Apache Configuration to […]
In this tutorial, you will learn How to display Hindi in the Website from Database(Tables)? If you want to create a website in Hindi language or want to write a paragraph in Hindi then you are in the right place. In this article, you will get all the information about writing and be storing Hindi in […]
You can easily use PHP array in javascript you only need to convert PHP array into JSON format Using json_encode() function, PHP array can be converted to JavScript array and accessible in JavaScript. whatever the array type is a single or multidimensional or indexed or associative array. You must have tried this method when you […]
You have think or searched that what is $ and $$, if yes then, your search end here. $$var is known as reference variable where as $var is normal variable, in the same way program can create the variable name it can create any other string. Let us take a example to understand:- <?php […]
Print and echo both are language constructs that means the PHP compiler knows the exact syntax of the echo/print() statement. Language constructs act like some keywords, they already defined by the compiler. Let come to the Differences:- echo do not return anything while print() return value(1). echo is a statement that is used to […]
In this tutorial i am going to show how you can turn on your rewrite_module on to hide extension from your url.So let’s follow the step’s: Step1. Click on Your WampServer. Step2. Now the second step is to click on Apache. Step3. Now click on the Apache modules > then you see rewrite_module and check it. […]