Commit 594b877c authored by Slavik Fursov's avatar Slavik Fursov
Browse files

Dynamic tag path

parent 137c299e
......@@ -2,11 +2,13 @@
$uri_path = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
$uri_segments = explode('/', $uri_path);
print_r($uri_segments);
//devc.webtrends.com/c3/acs/account/w76zpw3jrn/js/wt.js
$tag_path = '//devc.webtrends.com/' .
$uri_segments[0] . // c3
$uri_segments[1] . // c3
'/acs/account/' .
$uri_segments[1] . // w76zpw3jrn
$uri_segments[2] . // w76zpw3jrn
'/js/wt.js';
echo $tag_path;
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment