Initial Commit

This commit is contained in:
Andy Dixon
2024-07-23 16:21:39 +01:00
commit 5c41c928a6
126 changed files with 26257 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
function urldissect($url, $file, $negoff)
{
$scr = $_SERVER['SCRIPT_NAME'];
$url = explode('/', $url);
if ($file) return array_pop($url);
elseif ($negoff) {
$i = 0;
while ($i < $negoff) {
array_pop($url);
$i++;
}
}
return implode('/', $url) . '/';
}
?>