Re: Problem with passing and Area in a $_POST

From: Date: Sun, 15 Mar 2009 21:24:35 +0000
Subject: Re: Problem with passing and Area in a $_POST
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-290098@lists.php.net to get a copy of this message
2009/3/15 Jason Pruim <pruimj@gmail.com>: > Personally... I don't care who's code it is, if it was me, I'd still go > out and validate it... If someone typed something out real quick and > missed a period, it wouldn't be their fault :) > > As has been said by some big higher up's in this very mailing list... "Treat > all code as pseudo code, don't copy and paste it without understanding what > it could do to your system" or something along those lines... :) I second that. Maybe you should start with removing "</td></tr>" after the first table has been opened, escape the html special chars used as values (submit buttons) and escape all request data (e.g. $_POST) before echoing. well - it might not solve your problem (where's the textarea anyways), but it wouldn't disturb the functionality. :)

« previous php.general (#290098) next »