note 11542 deleted from function.ereg-replace by jimw

From: Date: Fri, 02 Nov 2001 01:55:50 +0000
Subject: note 11542 deleted from function.ereg-replace by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-20204@lists.php.net to get a copy of this message
truncate over-sized user fields with : $user_string = ereg_replace(".{65,}","NAME-TO-LONG",${user_string}); replaces 65 or more of any character with "NAME-TO-LONG". (in case someone tries to over-load your file) (keywords: size variable truncate buffer limit cut )

« previous php.notes (#20204) next »