[pmwiki-users] PHP slashes (was ZAP Permissions and Includes)
The Editor
editor at fast.st
Fri Oct 13 07:24:30 CDT 2006
On 10/13/06, Crisses <crisses at kinhost.org> wrote:
>
> Try something like this, when you receive the $_POST from the web form:
>
> if (get_magic_quotes_gpc()) {
> foreach ($_POST as $key=>$value) {
> $_POST[$key]= stripslashes($value);
> } }
What is the purpose of this line
if (get_magic_quotes_gpc()) {
Couldn't I just stripslashes on the values?
Cheers,
Caveman
More information about the pmwiki-users
mailing list