note 68241 rejected from function.preg-replace by nlopess
| From: | nlopess@php.net | Date: | Wed, 19 Jul 2006 18:21:50 +0000 |
| Subject: | note 68241 rejected from function.preg-replace by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-114938@lists.php.net to get a copy of this message | ||
Note Submitter: honzuv at seznam dot cz
----
can somebody help me find out error in this:
$http = preg_replace("/>(\d+)\.(\d+)\.(\d+)\.(\d+)</i", ">ip=$1.$2.$3.$4
host=".((gethostbyaddr ( "$1.$2.$3.$4") ))."<", $http );
i wana replace ip with ip and resolved host in html. Thanks.