The download is free, but we offer some paid services. Support us by subscribing
Delete ads and speed up browsing the library.
The download starts with the click of a button without waiting for the book to be ready.
No limits for download times.
You can upload unlimited books in the library.
Enable readers to download your books without waiting.
Delete ads on the books that you publish.
No problems with download links for your uploaded books.
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
| Author: | Uploads 2014-2020 |
| Category: | PHP Programming Language [Edit] |
| Language: | English |
| Pages: | 8 |
| File Size: | 696.27 KB |
| Extension: | |
| Creation Date: | 30 Apr 2022 |
| Rank: | 145,896 No 1 most popular |
| Short link: | Copy |
| More books like this book | |
The Publisher and the author Book PHP Filters .
يتناول هذا العمل استخدام امتداد المرشحات في لغة 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.
Be the first one to Rate, Review and Quote from the book
Be the first one to Rate, Review and Quote from the book
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
We require cookies for this site to function. Please enable them to continue.
نحن نظهر لك هذه الرسالة لأننا نحترم خصوصيتك.
By using this website, you consent to us collecting cookies to provide you with a better user experience,
more details.
You cannot browse the site since you refused the use of cookies, as the site relies primarily on them to work.
Intellectual property is reserved for the authors mentioned on the books and the library is not responsible for the ideas of the authors
Old and forgotten books that have become past to preserve Arab and Islamic heritage are published,
and books that their authors are accepted to published.
The Universal Declaration of Human Rights states: "Everyone has the right freely to participate in the cultural life of the community, to enjoy the arts and to share in scientific advancement and its benefits.Everyone has the right to the protection of the moral and material interests resulting from any scientific, literary or artistic production of which he is the author".