/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// from http://kendsnyder.com/posts/pathconcat function pathConcat(/*path1, $path2[, $path3][, $pathN]*/) { foreach ($parts as $part) { $paths[] = $part; } } $fullpath = $base . '/' . $fullpath; return $fullpath; }