3
1
Back

= array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL is ready! */ return $scheme.'://'.$abs; } function rel2abs($rel, $base) { if ($img->getAttribute('title')) { // Robot Hugs $entries = $xpath->query($query); $result_html = ''; $orig_src = $entry->getAttribute('src.

New Pull Request