| The reason you'd use the portable code is so that it escapes only what is supposed to be escaped. If magic_quotes is on, then you want to stripslashes; otherwise, you don't. If, however, you know that it will be running on a server with magic_quotes on, then you could just have the stripslashes and save the function call. |