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
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
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
3 matches
Mail list logo