PHP Classes

PHP Tutorials

Recommend this page to a friend!

Articles to teach about PHP matters and related topics

  All package blogs All package blogs   Blog PHP Classes blog   Blog PHP Tutorials   Post article Post article  
  273 - 264   ...   233 - 224   223 - 214   213 - 204   203 - 194   193 - 184   183 - 174   173 - 164   163 - 154   153 - 144   143 - 134   133 - 124   123 - 114   ...   3 - 1  

1047. What is New in PHP Type Hinting Support in PHP 8

Updated on: 2021-01-26

Posted on:

Type hinting is a feature that PHP provides to declare types of class variables, function parameters and return values, so you can detect and fix programming mistakes as early as possible in your developments.

Read this article to learn about PHP version 7.4 type hinting support. You can also read about the new type hinting features of PHP version 8.0.

The article also presents a list of the kinds of type hinting that are available in each PHP version.

In the end you can learn more about type hinting in practice with code examples.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1045. 3 Ways to Embed PDF in a Web Page

Updated on: 2020-11-18

Posted on:

As we all know, PDF is a popular file format used to distribute documents that often are meant to be printed.

There are several ways to display the contents of a PDF document in a Web page.

Read this article to learn about 3 ways that can be used to make PDF documents be displayed in any HTML Web page.


Blog More ...   Post a comment Post a comment   See comments See comments (1)   Trackbacks (0)

1044. How to Use Your Programming Mistakes to Learn to be a Better Developer and the New PHP ElePHPant Models that Are Available Now

Updated on: 2020-10-29

Posted on:

Recently we discovered that we made a mistake in the implementation of our newsletter mailing system.

We believe that we have fixed this mistake, but more important than that we also learned how to improve our development and deployment practices to avoid the bad consequences of our mistakes in the future.

Read this article to learn more about how you can also improve your software development practices to implement software that is more robust and your work is gets better acceptance.

As a side topic, you can also see some pictures and learn about the new ElePHPant Models that we made available now in the PHP Classes so you may get as nice addition to your collection.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1043. Where You Can Learn SEO for Free Now to Optimize Your Sites to Rank High in Google

Updated on: 2020-10-23

Posted on:

As you may know, SEO is the activity to optimize Web site pages, so they can increase their ranking in Google search results and attract many visitors in the site.

The PHP Classes site was started in 1999 and always benefited from the fact that many of its pages are well ranked in Google, thus leading to many visitors that become interested in the content published by over 4300 developers that contributed their work to the site.

Now you can learn more about SEO thanks to a new YouTube channel named 4D User SEO . It was created by Manuel Lemos, the founder of the PHP Classes site, together with other members of the PHP Classes team to teach all you would like to know about SEO done in the right way always following Google Webmaster rules.

Read this short article or watch a short video to learn more about the 4D User SEO YouTube channel, how to access the channel and watch the videos that were published, as well how to ask questions to be answered in the following videos to be published in there.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1041. How Can You Become a PHP Master and Have More Recognition For Your Open Source Contributions

Updated on: 2020-09-21

Posted on:

Many developers make their work available to the Open Source community.

One of the greatest difficulties of many PHP developers to have more recognition is to reach a significant number of developers interested in their work.

The PHP Development Master Award is being launched now with the goal to provide more visibility to great quality Open Source PHP packages that come with great tutorials that other developers have the pleasure to learn from.

Read this article and watch a short tutorial video here to learn how you can participate in this award, so you can get more recognition and prizes for the work that you share with the PHP Community.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1038. How to Create a PHP Ebook Library Manager for Handling Collections of Ebooks on the Web

Updated on: 2020-07-17

Posted on:

Ebooks are a modern version of printed books. They provide convenience to readers that want to keep many books without occupying so much space in their shelves. Ebooks also provide an easy way to access the book contents with the knowledge or the stories that people may want to read or to review again anytime they.

If you have a big personal collection of ebooks or you have a site that provides many ebooks to your users, a more dedicated ebook management system may be useful to you.

A good Ebook library manager like the one presented in this tutorial article will let you upload and add new ebooks of many formats, store details about those ebooks in a database, serve those ebooks for viewing and downloading their files in a way that is friendly for mobile phone or tablet users.


Blog More ...   Post a comment Post a comment   See comments See comments (2)   Trackbacks (0)

1037. How Can PHP Recognize Voices in Audio

Updated on: 2020-07-16

Posted on:

Voice recognition can be one form to identify a person authorized to access a system restricted to a given group of people.

A Web application written in PHP can take an audio sample uploaded the Web server and use a voice recognition API like for instance Microsoft Azure Cognitive Services API to register the audio sample and associate it to a given person.

The same API can analyze a new audio sample with a user voice to tell if it is of a person that the recognition system is able to already identify as being of the real person with that voice.

This article and the video tutorial that is presented here gives more details of how to implement this approach in practice in PHP.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1036. How to Create a PHP Random GUID Generator to Use in Scalable Web Applications

Updated on: 2020-07-16

Posted on:

Scalable Web applications need to handle a large number of HTTP requests at the same time.

Therefore, they may use multiple servers to still respond to many Web requests very quickly.

Read this article and watch a short video that is included to learn how use a good GUID generator to handle better the accesses of many users using multiple Web servers and storing database records in database servers that may be running in different machines.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

986. How to Learn More about PHP Online for Free in 2020 While You Wait for Your Next Job

Updated on: 2020-04-01

Posted on:

Sometimes PHP developers have some free time that they could use to do something useful.

One of the best ways to use that time is to learn new things so you can become an even better developer.

Read this article to learn more about some nice resources that you can use to learn for free more about PHP and related topics either in English, Portuguese and many other languages.


Blog More ...   Post a comment Post a comment   See comments See comments (2)   Trackbacks (0)

948. How to Add Email Functionality to Your PHP App

Updated on: 2022-12-03

Posted on:

PHP provides a quite poor functionality for building and sending emails. Its built-in mail function () doesn't support SMTP authentication and this way works well just for simple messaging.

How do you send branded email notifications, confirmation, and even newsletters from your PHP app then?

There are three the most popular and reliable external packages: PHPMailer, Pear Mail, and Swift Mailer. Read this article to learn more about these solutions, their capabilities and with code examples.


Blog More ...   Post a comment Post a comment   See comments See comments (1)   Trackbacks (0)

  273 - 264   ...   233 - 224   223 - 214   213 - 204   203 - 194   193 - 184   183 - 174   173 - 164   163 - 154   153 - 144   143 - 134   133 - 124   123 - 114   ...   3 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Blog PHP Tutorials   Post article Post article