Short video - Compteur de visite en POO (PHP)

27 Sept 2022 · 1 min
1:06

In this short French tutorial, the speaker walks through the initial steps of building a visitor counter using PHP object‑oriented programming. He creates a class named Counter, declares two essential attributes—`fp`, the file pointer for a text file that will store the count, and `nbr`, the numeric value read from that file. He then defines a constructor that, without requiring any arguments, opens the text file in read‑write mode, assigns the file handle to `fp`, and prepares to read and later update the stored visitor count. The explanation emphasizes the necessity of persisting the count in a file and setting up the class to manage that persistence.

Chapters

More from Yamossoun

8:56
youtube.com

Compteur synchrone - Logique séquentielle

2w ago
11:58
youtube.com

Compteur asynchrone et diviseur de fréquence - Logique séquentielle

3w ago
11:37
youtube.com

Les registres (parallèle et à décalage) - Logique séquentielle

1mo ago
6:14
youtube.com

Bascule T (Toggle) - Logique séquentielle

1mo ago
12:05
youtube.com

Bascule JK - Logique séquentielle

1mo ago
9:17
youtube.com

Bascule D flip-flop active sur front montant - Logique séquentielle

1mo ago
10:08
youtube.com

Bascule D Latch - Logique séquentielle

1mo ago
8:13
youtube.com

Bascule RS - Logique séquentielle

1mo ago
5:04
youtube.com

Logique séquentielle - Introduction

2mo ago
1:15
youtube.com

Le codeur - Logique combinatoire #codeur #logique #circuit #booleanlogic

2mo ago
1:56
youtube.com

Algorithme de calcule de la racine carrée par dichotomie #dichotomy #squareroot #algorithm

3mo ago
See all content