RE: [PHP] html entry within XML "database"

From: Date: Sat, 13 Jul 2002 14:15:57 +0000
Subject: RE: [PHP] html entry within XML "database"
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-107515@lists.php.net to get a copy of this message
As a general rule of thumb you should ALWAYS validate the information posted as a form before sending it on to whatever backend you are using. =C= * * Cal Evans * The Virtual CIO * http://www.calevans.com * -----Original Message----- From: William S. [mailto:wstan@xs4all.nl] Sent: Saturday, July 13, 2002 7:37 AM To: php Subject: [PHP] html entry within XML "database" I am experimenting with using an XML file as a database. One of the things I do is provide a way of adding records to the database by an html form. This seems to work out well so far unless one of the fields in a record contains an html reference. The result is a Sablotron parse error. What is the best way around this? Should I validate the form before it is submitted so that html references are rejected? How would I do this? -- Bill Amsterdam, NL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#107515) next »