This time, I’m going to dig into individual functions and explain them a little. In particular, I’m going to go in depth on the ob_start () function, which is the basis of many output control functions.
This time, we’ll be looking at the various functions relating to output control (the ob_* functions). First, let’s look at the common use case. First, by far the most common use is probably to work against the messages ‘Warning: session_start (): Cannot start session when headers already sent in’ and ‘Warning: Cannot modify header information […]
Last time, we looked at implementation of cookies. This time, I’ll write about implementing sessions. As I wrote in my 7 th article, ‘Cookies and sessions, part 1 ’, sessions have various implementations such that just calling them sessions broadly is confusing, so for this text, ‘session’ will refer to the use of session functions […]
Last time, we mostly looked at the difference between cookies and sessions (relating to PHP-provided sessions.This time, let’s go a bit heavy on the code, and learn about things to watch out for during implementation.
The largest PHP event in Japan, PHP Conference Japan 2019, was held on December 1st, 2019. PHP Conference Japan is actually the world’s first PHP Conference.
Previously, we learned about the hash itself, the first step in preserving and comparing passwords. This time, we use that knowledge to learn about how passwords should be saved.
In this column, let’s learn about hash functions as a prelude to learning about ways to save and compare passwords. First, I’ll discuss hashing.
In the last column, we used the combination of the functions random_bytes() and [bin2hex|base64_encode]() to create tokens. What are tokens used for?
In this article, I’ll talk a little about PHP usage in Japan. 79.1% of the servers on the internet run PHP.