RE: [PHP] Stripping out and URL hacking characters from a URL
| From: | Chris W. Parker | Date: | Tue, 19 Aug 2003 18:11:39 +0000 |
| Subject: | RE: [PHP] Stripping out and URL hacking characters from a URL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-160047@lists.php.net to get a copy of this message | ||
Matt Babineau <mailto:matt@criticalcode.com>
on Tuesday, August 19, 2003 8:10 AM said:
> Does anyone have a function or something they have already written to
> remove any URL hacking characters, mainly the single quote, but I'm
> looking for a nice function to filter my _GET variables against. Gotta
> protect the database...ya know :)
Does www.php.net/addslashes not suit your needs?
c.