Below are revisions for this snippet.

StripSlashesExtended





Syndication

Revision Revison 1
Sometimes you need to remove slashes from POST variables which could contain arrays. The standard slipslashes-function only takes a string as parameter.

This function removes slashes from both a simple string and array variable.