note 9507 added to ereg_replace

From: Date: Wed, 08 Nov 2000 08:12:28 +0000
Subject: note 9507 added to ereg_replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-7490@lists.php.net to get a copy of this message
hi, i've been using below code, but with size limitation. If the url address is longer than 25 characters, I'll hit error. Pleeeaseeee assist...thanks.. for example, ereg_replace("(([A-Za-z0-9.\-])*)([a-zA-Z0-9])@(([A-Za-z0-9.\-])*)([a-zA-Z0-9])", "<a href=\"\\\\">\\0</a>",$var) http://www.php.net/manual/function.ereg-replace.php

« previous php.notes (#7490) next »