[PHP] regex: string begins with NEITER http NOR cid NOR mailto

2002-05-19 Thread kras
Hello! I have got a big problem: I have html content in $html variable, which contains href, src and background tags. Those tags may contain relative adressess and absolute addressess which begin with http(s): or cid: (mail inline attachements) and mailto: I have also variable

Re: [PHP] regex: string begins with NEITER http NOR cid NOR mailto

2002-05-19 Thread kras
There you are $html = preg_replace ('href=(\|)(?!mailto)([.]*?[^\]*?)(\| )'si, href=\.$bejsnejm.\\2\, $html); $html = preg_replace ('(src|background|href)=(\|)(?!http)([.]*?[^\]*?)(\| )'si, \\1=\.$bejsnejm./\\3\, $html); of course it fails. kras Show some code... Thanks, Ray

[PHP] rev-dns resolving

2001-08-20 Thread kras
Hello. Is that possible to resolve dns name and all script don't pause while no rev-dns name is available? [gethostbyaddr()] Regards kras -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact