Dynamic Web Pages: deutschsprachiger PHP Knotenpunkt seit 1999

Dynamic Web Pages : tutorials _





 
 
 
 
 
 
 

PHP QuickRef

Via QuickRef gelangen Sie direkt zur gesuchten Funktion im Handbuch.

 
 

Printmedien

PHP-Magazin
Das PHP Magazin erscheint 2-monatlich zum Preis von 9,80 €. Studenten erfreuen sich über ermäßigte Abos.

PHP-Journal
Das PHP Journal erscheint 2-monatlich zum Preis von 14,95 €. Studenten und Abonnenten erfreuen sich über bis zu 25% Ermäßigung.

PHP Solutions Magazin
Das PHP Solutions Magazin erscheint alle 3 Monate zum Preis von 8,75 €. Studenten erfreuen sich über ermäßigte Abos.

PHP-Architect
Der php|architect erscheint monatlich als digitale PDF-Version zum Preis von $3,99 USD und als Print-Version zum Preis von $8,69 USD. Im Abo gibt es Rabatt (30% Print, 15% PDF).

 
Tutorials: Daten-Validierung
Tutorial in dieser Kategorie hinzufügen
Degradable Ajax Form Validation (1697 Zugriffe)

If you’ve ever confronted the task of validating data in a form, you know about choice. Whether it’s choosing between client side or server-side scripts, or the amount of information a user should see on the screen, the results should always give the user quick and meaningful feedback, while providing a solution for when things go wrong.

Tutorial kommentieren  Defekten Link melden

 
Validate Your Input! (1973 Zugriffe)

In this entry, I'll attempt to explain what validation is and why it is important.

Tutorial kommentieren  Defekten Link melden

 
The Usability of Input Filtering (2031 Zugriffe)

There seems to be much interest lately in input filtering in PHP, especially in cross site scripting prevention. I've always preferred input validation to input filtering, but I am giving filtering a new examination. My problem with filtering is with usability. The comments to this post are a good example. There are obviously some usability issues going on here.

Tutorial kommentieren  Defekten Link melden

 
Thou shalt never trust User Input (2100 Zugriffe)

One of the concepts that are most difficult for new Web developers to fully grasp, is just how dangerous it is to trust user input. Just in the last week, there've been around a dozen or so different reports of vulnerabilities found in Web applications - mostly all of them revolve around unchecked user input. Because of PHP’s dominance in the Web application development world, many of the vulnerable applications were ones written in PHP, which hurt PHP’s security track record, even though it’s not the language which is at fault (the same applications, written in any other language – would have suffered from the same vulnerabilities).

Tutorial kommentieren  Defekten Link melden

 
Cleaning input data (2006 Zugriffe)

If you don't read the phpsec list, then you wouldn't have seen the post from a Jared Williams (iirc) regarding using SPL, and specifically ArrayAccess. It basically was asking opinions on a set of classes for cleaning the "tainted" GET/POST/COOKIE arrays.

Personally, I think this is over engineering for this particular issue, and not only that, but it has the potential to hamper your applications performance. There are a number of easy ways to untaint your data, and here's a few ...

Tutorial kommentieren  Defekten Link melden

 
Magic Quotes Headaches (1870 Zugriffe)

I am frequently amazed and/or frustrated when I encounter online applications which have problems with Magic Quotes and string escaping. Even commercial PHP applications I use on a daily basis have such problems. The most common symptom is that slashes (/) end up appearing throughout content.

Tutorial kommentieren  Defekten Link melden

 
PHP 101 (part 13): The Trashman Cometh (1614 Zugriffe)

Over the next few paragraphs, I'm going to show you some basic tricks to validate user input, catch "bad" data before it corrupts your calculations and databases, and provide user notification in a gentle, understandable and non-threatening way. To prepare for this exercise, I suggest you spin up a CD of John Lennon singing 'Imagine', fill your heart with peace and goodwill towards all men, and take a few deep, calming breaths. Once you've exhaled, we can get going.

Tutorial kommentieren  Defekten Link melden

 
A PHP Link Validation Script - part 4 (2183 Zugriffe)

Today I'll present the fourth and final segment of my PHP link validation series. This week, I'll wrap up the PHP validation script by explaining the most complex and time-consuming forms of link validation. I started this process in part 3, when I showed you how to open a socket to the server. This week, I'll show you how to use PHP to communicate with the server using the HTTP protocol, specifically the GET method.

Tutorial kommentieren  Defekten Link melden

 
A PHP Link Validation Script - part 3 (1836 Zugriffe)

In part 3 of "A PHP Link Validation Script," I'll introduce the most complex form of validation. It involves connecting to the server in question and trying to retrieve the document through a HTTP server request. To accomplish this, you'll be using PHP's Internet communication functionality; some general knowledge of the HTTP protocol is required.

Tutorial kommentieren  Defekten Link melden

 
A PHP Link Validation Script - part 2 (1795 Zugriffe)

This week, I'll introduce the next segment of the script that handles the validation of the server which hosts the requested document.

Tutorial kommentieren  Defekten Link melden

 
zurück

Folge DynamicWebPages!

PHP News als RSS abonnieren ...
Auf Twitter folgen ...
Fan werden auf Facebook ...

 
 

PHP Newsletter

Bleiben Sie immer "Up-To-Date" mit unseren Newslettern!

PHP Newsletter
PHP Trainingsletter

 
 
 
 
 
 

PHP Releases

 
 

Sponsoren

 
 
 
   
powered by Hetzner


top Alle Rechte vorbehalten. © Dynamic Web Pages 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 top

  Seitenaufbau in 0.041 Sekunden