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  
  234 - 225   224 - 215   214 - 205   204 - 195   194 - 185   184 - 175   174 - 165   164 - 155   154 - 145   144 - 135   134 - 125   124 - 115   ...   4 - 1  

1134. How Can PHP Create PDF with Digital Signature Automating the Process Using the signNow API

Updated on: 2023-02-01

Posted on:

Many applications are written in PHP to develop systems that need to produce PDF documents.

Sometimes the PDF documents will be used as contracts or other documentation that must be signed by the people involved in a business or any agreement.

Changing the PDF documents to include the signatures of the people participating in the agreement is a complex process.

Fortunately, there are platforms like signNow that simplify that process by providing an easy-to-understand user interface to submit PDF documents and call the people that need to sign the documents in a way that the process is legally binding.

Please read this short article to learn how to use the signNow API from PHP to integrate the process of submitting PDF documents to the signNow platform and let the platform take care of the complexity of collecting signatures and generate legally binding documents that can be important for your company or the company of your PHP development customers.




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

1133. How Can You Benefit from PHP Readonly Classes Improvements Since PHP 8.2 with PHP Code Examples

Updated on: 2023-01-31

Posted on:

PHP readonly classes is the name of the new feature introduced in PHP 8.2 that was released on December 2022.

The readonly classes are an evolution of the readonly class properties introduced in PHP 8.1.

Read this short tutorial article to learn more about readonly classes and how you can benefit from this feature if you use PHP 8.2 or later by checking some PHP code examples.


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

1131. How PHP Developers Will be Able to Handle Better Undefined Properties in PHP 9.0

Updated on: 2023-01-25

Posted on:

The PHP core developers recently approved a new request for a change to help PHP application developers to handle better mistakes in their code when they misspell the name of a class property in their code.

Read this short article to learn how this improves your process of detecting and fixing code that has mistakes so you can produce code of excellent quality as early as possible.


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

1130. How You Can Simplify MySQL Prepared Query Execution in PHP 8.2 Using mysqli::execute_query

Updated on: 2023-01-24

Posted on:

The PHP 8.2 version introduced several improvements.

One of those improvements was executing prepared SQL queries and retrieving the query results using fewer lines of code when you use the MySQLi extension to access your MySQL database server.

Read this article to learn about this improvement of PHP 8.2 with an example of PHP code.

You can also learn some valuable criteria to decide if you should use MySQLi or PDO to access a database in your PHP projects.


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

1127. Why Would You Want to Do a PHP Upgrade to Version 7.3 or 8.3 to Benefit from Better Security using the Improved SameSite Cookie Support

Updated on: 2023-01-17

Posted on:

Newer PHP versions often provide improved security features. That is the case of the SameSite cookie support to help your site to be better protected against Cross-Site Request Forgery (CSRF) attacks.

Read this short article to learn more about CSRF attacks, SameSite cookies, and code examples of how to benefit from improvements done in PHP 7.3 and PHP 8.3 to quickly implement this option to protect better your sites from these attacks.

There are more modern ways to generate random strings. Read another article about the \Random\Randomizer class to learn more about modern ways to generate random values.


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

1126. 4 PHP Upgrade Tools that You May Use to Update Your Code Faster to Make It Work with a Newer PHP Version

Updated on: 2023-01-29

Posted on:

Sooner or later, you may need to make your PHP applications code with newer versions.

Often you want to upgrade to benefit from new PHP features.

Other times you may fear that your applications be abused by badly intentioned people who abuse older version vulnerabilities.

Other times, your customer may require that your code works in newer PHP versions because those are the ones that are available in the hosting environment on which your PHP will run.

Read this article to learn about several tools and methods that can help you to find and fix code that needs to be changed to work in newer PHP versions.


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

1125. Why You Will Want to Upgrade to PHP 8.3 to Benefit from Better Random Value Generation

Updated on: 2023-01-11

Posted on:

PHP 8.3 will introduce several new exciting features. One of those features is the improvements on the \Random\Randomizer class that was added in PHP 8.2.

PHP 8.3 will add more functions to generate random values for strings and floating-point numbers.

Please read this short article to learn more about the \Random\Randomize class functions and how you can use these functions in your PHP applications to make them more secure against possible attacks to current cryptography methods that in the future will be more vulnerable due to the availability of faster CPUs, including those that will use quantum computing.


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

1124. Why Your PHP Code Will Benefit When You Upgrade to PHP 8.2 to Use Standalone Types for true, false and null

Updated on: 2023-01-10

Posted on:

Another attractive new feature of PHP 8.2 is the possibility to treat true, false, and null as standalone types.

This PHP 8.2 feature helps PHP developers catch bugs earlier and improve their code quality in practice by allowing them to be more specific in the types returned by functions that may have to be of these three new types: true, false, and null.

Read this short article to learn more about this new PHP 8.2 possibility and how you can use it in practice in your PHP applications to improve their quality.


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

1123. Why You Should Follow PHP Standards Recommendation 20 to Get the System Clock

Updated on: 2022-12-30

Posted on:

The PHP Standards Recommendation (PSR) 20 specification was released recently to help developers use a common interface to get the system click date and time.

This is an important recommendation if you need to test PHP application code that can manipulate dates and times using the current system clock.

Read this short article to learn more about this PHP standards recommendation, see some code examples, and get a suggestion of when it will be good for you to follow this recommendation.


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

1122. How PHP json_validate Function Will Improve The Validation of JSON Data in PHP 8.3

Updated on: 2022-12-28

Posted on:

The development of PHP 8.3 is already going on. Several new features were proposed and accepted by the PHP core developers.

One of the planned features is the ability to implement a new function called json_validate that will allow PHP developers to implement a more efficient validation of JSON data structures.

Please read this short article to learn how the json_validation function will work so you can benefit from it in your PHP applications.


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

  234 - 225   224 - 215   214 - 205   204 - 195   194 - 185   184 - 175   174 - 165   164 - 155   154 - 145   144 - 135   134 - 125   124 - 115   ...   4 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Blog PHP Tutorials   Post article Post article