Definitionپێناسە
A line of extra information sent at the start of an HTTP request or response, written Name: value, for example Content-Type: text/html. PHP sends headers with header(), which must be called before any output.
دێڕێکی زانیاریی زیادەیە کە لە سەرەتای هەر یان دەنێردرێت، بە شێوەی Name: value، بۆ نموونە Content-Type: text/html. PHP بە header() سەردێڕ دەنێرێت و دەبێت پێش هەر بانگ بکرێت.
Exampleنموونە
This header tells the browser to show the output as plain text.
ئەم سەردێڕە بە دەڵێت دەرخستەکە وەک دەقی سادە پیشان بدات.
header("Content-Type: text/plain");
echo "<b>Not bold</b>"; // shown as plain textOther Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
هێدەری HTTP، سەرپەڕەی HTTP، سەردێڕەکەی HTTP، سەردێڕەکانی HTTP، سەردێڕێکی HTTP
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
Barzinji's dictionary gives هێدەر، ناونیشان، سەری لاپەڕە، سەری پەیام for 'header'.
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
Shows how PHP's header() function sends HTTP headers, including the Location header that sends the visitor to another page.
نیشان دەدات header() لە چۆن دەنێرێت، لەوانە Location کە سەردانکەر دەباتە تر.
Learn more inزیاتر فێربە لە
- Redirects: Sending the Browser Somewhere Elseئاڕاستەکردنەوە: ناردنی تۆڕگەڕ بۆ شوێنێکی تر
- Cookiesکووکییەکان
- Web APIs and JSONAPIـی وێب و JSON
- HTTP and the Request–Response CycleHTTP و سووڕی داواکاری و وەڵام
- Form Handling with GET and POSTمامەڵەکردن لەگەڵ فۆرم بە GET و POST
- Course review and practiceپێداچوونەوە و ڕاهێنانی کۆرسەکە
- Sessionsسێشنەکان
- PHP Superglobalsسووپەرگلۆباڵەکانی PHP
- Uploading Filesبارکردنی فایل
- A Login System with Sessionsسیستەمی چوونەژوورەوە بە سێشن
- Getting Data from the Internet: HTTP and JSONوەرگرتنی دراوە لە ئینتەرنێت: HTTP و JSON
- PHP Syntax: Tags, Statements and Commentsداڕستنی PHP: تاگ، ڕستە و لێدوان