العربية  

Download Book Php Filters Pdf

The publisher is the author

Previewing the book or downloading it for personal use only and any other powers should be obtained from the author of the book publisher

The publisher is the author
PHP Filters
Qr Code PHP Filters

PHP Filters

  ( 3 ratings )
Author:
Category: PHP Programming Language [Edit]
Language: English
Pages: 8
File Size: 696.27 KB
Extension: PDF
Creation Date: 30 Apr 2022
Rank: 145,896 No 1 most popular
Short link: Copy
More books like this book
Reviews ( 0 )
Quotes ( 0 )
Score ( )

Uploads 2014-2020

The Publisher and the author Book PHP Filters .

Book Description

يتناول هذا العمل استخدام امتداد المرشحات في لغة PHP لمعالجة البيانات الخارجية القادمة من مصادر متنوعة مثل ملفات تعريف الارتباط (Cookies)، ومتغيرات الخادم، ونتائج استعلامات قواعد البيانات، ومدخلات النماذج. ويوضح النص الفرق التقني بين عملية التحقق من البيانات (Validating) للتأكد من مطابقتها للشكل الصحيح، وعملية التطهير (Sanitizing) التي تهدف إلى إزالة الرموز غير القانونية من البيانات.

يركز الشرح على دالة `filter_var()` وقدرتها على تنفيذ عمليتي التحقق والتطهير من خلال وسائط محددة، مثل استخدام `FILTER_SANITIZE_STRING` لإزالة وسوم HTML، و`FILTER_VALIDATE_INT` للتأكد من أن القيمة عدد صحيح. كما يتطرق النص إلى معالجة المشكلات البرمجية المرتبطة بالقيمة صفر عند التحقق من الأعداد الصحيحة، ويقدم أمثلة تطبيقية على استخدام `filter_list()` لسرد كافة المرشحات المتاحة في الامتداد.

يفصل الكتاب كيفية تطبيق مرشحات متقدمة للتحقق من صحة عناوين البريد الإلكتروني باستخدام `FILTER_VALIDATE_EMAIL` وعناوين URL عبر `FILTER_VALIDATE_URL`. كما يستعرض آليات التحقق من عناوين IP بنوعيها IPv4 وIPv6 باستخدام `FILTER_FLAG_IPV6`، وكيفية تحديد نطاق عددي محدد بين قيمتين صغرى وكبرى، بالإضافة إلى استخدام `FILTER_FLAG_STRIP_HIGH` لإزالة كافة الحروف التي تتجاوز قيمتها في نظام ASCII الرقم 127.

Book Review "PHP Filters"

Book Quotes "PHP Filters"

Other books like "PHP Filters"

Other books for "Uploads 2014-2020"

Hide Intellectual property is reserved to the author of the aforementioned book
If there is a problem with the book, please report through one of the following links:
Report the book or by Contact us

E-books are complementary and supportive of paper books and never cancel it. With the click of a button, the e-book reaches anyone, anywhere in the world.
E-books may weaken your eyesight due to the glare of the screen. Support the book publisher by purchasing his original paper book. If you can access it and get it, do not hesitate to buy it.
Publish your book now for free