Definitionپێناسە
Checking that is complete and correct before using it, for example that a number is in range or that a required field is not empty. In web forms it must always be done on the server.
پشکنینی ئەوەی تەواو و دروستە پێش بەکارهێنانی، بۆ نموونە ئەوەی ژمارەیەک لە سنووری خۆیدایە یان خانەیەکی پێویست بەتاڵ نییە. لە فۆرمەکانی وێبدا هەمیشە دەبێت لەسەر ڕاژەکار بکرێت.
Exampleنموونە
Two checks: is it empty, and does it look like an email address?
دوو پشکنین: ئایا بەتاڵە؟ و ئایا لە ئیمەیڵ دەچێت؟
$email = trim($_POST["email"] ?? "");
if ($email === "") {
echo "Email is required.";
} elseif (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
echo "Invalid email format.";
}Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
ڤالیدەیشن، پشکنین، پشتڕاستکردنەوەکە، پشتڕاستکردنەوەکان، پشتڕاستکردنەوەیەک، پشتڕاستکردنەوەی، پشتڕاستکردنەوەکانی
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
This site's chapter summary uses پشتڕاستکردنەوە; the notes use پشکنین (checking) for isset. The Kurdish scientists' dictionary explains data-format validation as پشکنین (checking).
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
Learn more inزیاتر فێربە لە
- Form Validationپشتڕاستکردنەوەی فۆرم
- Form Security and Sticky Formsئاسایشی فۆرم و فۆرمە لکاوەکان
- Course review and practiceپێداچوونەوە و ڕاهێنانی کۆرسەکە
- Project: A Word-Scramble Gameپڕۆژیلە: یاریی پیتە تێکەڵەکان
- Securing Data in PHP and MySQLپاراستنی دراوە لە PHP و MySQL
- Text Fields and Formsخانەکانی دەق و فۆرمەکان
- Injection Attacks: SQL Injection and Cross-Site Scriptingهێرشەکانی تێخزاندن: تێخزاندنی SQL و XSS
- Project: Binary to Decimal Converterپڕۆژیلە: گۆڕینی دووانی بۆ دەیی
- Building Tic-Tac-Toe in Pythonدروستکردنی یاریی ئێکسوئۆ بە Python
- Handling Errors with try and exceptمامەڵەکردن لەگەڵ هەڵاوێردە بە try و except
- Solving a Maze with DFS and BFSچارەسەرکردنی لابیرینت بە DFS و BFS
- Search Practice: Midterm-Style Tasksڕاهێنانی گەڕان: ئەرکی وەک تاقیکردنەوەی نیوەی وەرز
- Databases and Dataبنکەدراوەکان و دراوە
- Form Handling with GET and POSTمامەڵەکردن لەگەڵ فۆرم بە GET و POST
- What Is Microsoft Access?Microsoft Access چییە؟
- The while Loopخولی while
- while Loops, break and continueخولەکانی while، break و continue
- HTML Forms Reviewپێداچوونەوەی فۆرمەکانی HTML
- PHP Superglobalsسووپەرگلۆباڵەکانی PHP
- Field Properties: Sizes, Formats and Input Masksتایبەتمەندییەکانی ستوون: قەبارە، Format و ماسکەکانی نێوخستە
- Default Values and Validation Rulesنرخە بنەڕەتییەکان و ڕێساکانی پشتڕاستکردنەوە
- Project: Building and Styling Pagesپڕۆژە: دروستکردن و ڕازاندنەوەی لاپەڕە
- Data typesجۆرەکانی دراوە
- Strings and string functionsزنجیرەنووسەکان و کردارەکانی زنجیرەنووسە
- Uploading Filesبارکردنی فایل
- Inserting and selecting data with PHPزیادکردن و هەڵبژاردنی زانیاری بە PHP
- A Login System with Sessionsسیستەمی چوونەژوورەوە بە سێشن
- Web APIs and JSONAPIـی وێب و JSON