RE: [PHP] htmlspecialchars() alias

2002-01-18 Thread Jon Haworth
> I was wondering if it would be feasible to create > an alias for this function, say hsc() or something > short. function hsc ($foo) { $foo = htmlspecialchars ($foo); return $foo; } HTH Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For a

[PHP] htmlspecialchars() alias

2002-01-17 Thread Jason G.
Hello General and Dev list, Considering the fact that it is good practice to use htmlspecialchars() anytime you are outputting non-html content to the browser... After typing the 16 characters in the htmlspecialchars() function thousands of times... I was wondering if it would be feasible to