1. Glossaryفەرهەنگی زاراوەکان
Output buffering
ڕاگرتنی دەرخستە
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە

Definitionپێناسە

PHP keeps the page's in (a buffer) for a while instead of sending it at once, so can still be added. XAMPP's php.ini turns it on (output_buffering = 4096), which can hide “headers already sent” mistakes that appear on other servers.

PHP لاپەڕەکە ماوەیەک لە (بافەرێکدا) ڕادەگرێت لە جیاتی ئەوەی دەستبەجێ بینێرێت، بۆیە هێشتا دەتوانرێت زیاد بکرێن. php.iniـی XAMPP هەڵیدەکات (output_buffering = 4096)، کە دەتوانێت ئەو هەڵانەی «⁦headers already sent⁩» بشارێتەوە کە لەسەر ڕاژەکارەکانی تر دەردەکەون.

Exampleنموونە

With buffering on, this works on XAMPP; with buffering off it gives a warning.

کاتێک ڕاگرتن هەڵکراوە ئەمە لەسەر XAMPP کار دەکات؛ کاتێک کوژاوەتەوە ئاگادارکردنەوە دەدات.

<p>Hello</p>
<?php
setcookie('user', 'Aram');   // too late without output buffering

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

بافەرکردنی دەرخستە، ڕاگرتنی دەرخستەکە، ڕاگرتنی دەرخستەی

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

No established Kurdish term. ڕاگرتن ('holding back') describes what the buffer does; بافەر is the loanword many programmers use.

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

Videosڤیدیۆکان

PHP Sessions & Cookies - Output Buffering - Headers Already Sent Warning - Full PHP 8 TutorialProgram With Gio · Englishئینگلیزی · 36K viewsبینین · 1.3K likesلایک · Partبەشی 0:36–6:09 (ofلە 14:55)

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