3
1
Back

{ } /* absolute URL */ $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL is ready! */ elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = new DOMXPath($doc); return $xpath; } function api_version() { return $base . $rel; for ($n = 1; // actually.. I don't know what this does. Pad = 0.2; // this is good practice, but ho-dang what a.

New Pull Request