[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 $basewwwservernam

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

2002-05-19 Thread kras
There you are $html = preg_replace ("'href=(\"|)(?)'si", "href=\"".$bejsnejm."\\2\"", $html); $html = preg_replace ("'(src|background|href)=(\"|)(?!http)([.]*?[^\"]*?)(\"| >)'si", "\\1=\

[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 co