1. Glossaryفەرهەنگی زاراوەکان
Including files
هاوردەکردنی فایل
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە

Definitionپێناسە

Inserting the code of another PHP file into the current one with include, require, include_once or require_once. If the file is missing, include gives a and continues, while require stops with a .

هێنانی کۆدی فایلێکی تری PHP بۆ ناو فایلی ئێستا بە include، require، include_once یان require_once. ئەگەر فایلەکە نەبێت، include دەدات و بەردەوام دەبێت، بەڵام require بە دەوەستێت.

Exampleنموونە

Use require for files the page cannot work without.

require بۆ ئەو فایلانە بەکاربهێنە کە پەڕەکە بەبێ ئەوان کار ناکات.

require "header.php"; // must exist
include "ads.php";     // optional
echo "Page content";

Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر

تێخستنی فایل، هێنانی فایل، هاوردەکردنی فایلەکە، هاوردەکردنەکانی فایل، هاوردەکردنێکی فایل

Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە

No term in the notes; هاوردەکردن is the everyday Kurdish word for "importing".

Related termsزاراوە پەیوەندیدارەکان

Videosڤیدیۆکان

PHP Full Course for free 🐘Bro Code · Englishئینگلیزی · 3M viewsبینین · 65K likesلایک · Partبەشی 2:52:33–2:59:23 (ofلە 4:00:00)
How To Include Files In PHP - Include and Require - Full PHP 8 TutorialProgram With Gio · Englishئینگلیزی · 66K viewsبینین · 2.3K likesلایک

Shows include, require, include_once and require_once, how PHP finds the file, and how to reuse HTML parts on many pages.

include، require، include_once و require_once نیشان دەدات، چۆن دەدۆزێتەوە و چۆن پارچەکانی لە زۆر دووبارە بەکاربهێنیتەوە.

11: Include and Require in PHP | Procedural PHP Tutorial For Beginners | PHP Tutorial | mmtutsDani Krossing · Englishئینگلیزی · 49K viewsبینین · 1.2K likesلایک · Partبەشی 0:44–2:10 (ofلە 12:04)

Learn more inزیاتر فێربە لە