Home » PHP (page 5)

PHP

Creating a complete blog (CRUD) using MySQL and PHP

Blogs have become an essential component of  corporate websites. This is why every major and minor CMS now offer an integrated or independent blog as a default option. For many new developers, the functionality of the blogs remains a mystery. Blogs have become so tightly integrated with the overall structure of the CMS (especially WP, Joomla and Drupal) that it ...

Read More »

Php Cookie Example

Cookies are an important part of php and web development in general. Since http is a stateless protocol (This means that the server forgets each client after a connection), web developers need a way to store user preferences or allow their scripts to remember details about each client.  Cookies take on to solve this problem. (There are other solutions like ...

Read More »

PHP Pear Tutorial

If you are a PHP programmer, you will have probably encountered PEAR. PEAR stands for PHP Extension and Application Repository, a library of reusable PHP components, built under the same standard, that can be used in any project. PEAR was first released in 1999, and it has been for a long time the de facto official dependency manager for PHP. ...

Read More »

PHP HTML Table Example

In this example we shall show you how to create html tables with dynamic php. PHP is a server-side scripting language used by most web developers for creating dynamic and responsive web pages(A dynamic webpage is one whose content change automatically each time the page is viewed). Html is simply a language used to describe webpages. Html tables allow web ...

Read More »

PHP Curl Get/Post Example

If you have worked with Linux, you will have probably used cURL for downloading resources from the Internet. This powerful library can also be used in PHP scripts, and that is what we are going to see in this example. For this example, we will use: Ubuntu (14.04) as Operating System. Apache HTTP server (2.4.7). PHP (5.5.9). Tip You may skip ...

Read More »

PHP SQL Injection Tutorial: How To Protect

SQL Injection is a vulnerability that allows an attacker to interact with the victim database to perform actions that are not allowed by the application. In other words: an attacker could read, write and/or delete data that is supposed to have access to. This is really scaring because, in the worst case, which is quite common, is incredibly easy to ...

Read More »

PHP Tutorial for Beginners – The Ultimate Guide

PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. It allows web developers to create dynamic content that interacts with databases. PHP is basically used for developing web based software applications. PHP is mainly focused on server-side scripting, so you can ...

Read More »

PHP Show/Display Errors Example

PHP gives the possibility to configure how and which errors are displayed; as it’s an interpreted language, it’s not as strict as compiled languages. In this example we will see how we can configure PHP for that. For this example, we will use: Ubuntu (14.04) as Operating System. Apache HTTP server (2.4.7). PHP (5.5.9). Tip You may skip environment configuration ...

Read More »

PHP Session Example

Sessions are an important part not only of PHP, but of every web programming language. They are useful to access information across any page of the application, but should choose with care the data we want to save in it. For this example, we will use: Ubuntu (14.04) as Operating System. Apache HTTP server (2.4.7). PHP (5.5.9). Tip You may ...

Read More »

Want to take your WEB dev skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • PHP Programming Cookbook
  • jQuery Programming Cookbook
  • Bootstrap Programming Cookbook
  • Building WEB Apps with Node.js
  • CSS Programming Cookbook
  • HTML5 Programming Cookbook
  • AngularJS Programming Cookbook