mkdir help needed
Started on the old forum in November 2012 · view the original in the archive · old links redirect here
if you are talking about sub directory listing than here is an example.
<?
$path = '/a/b/c/';
$site = explode('/', $path);
print_r($site);
?>
else if you mean by friendly url http://www.mysite.com/file.php?a=xyz&b=xyz&c=xyz to http://www.mysite.com/a/b/c/eg.mp3
then you can do it by editing .htaccess
Options +FollowSymLinks
RewriteEngine on
RewriteRule file/a/(.*)/b/(.*)/c/(.*) file.php?a=$1&b=$2&c=$3
mkdir("a/b/c", 0777, TRUE);
Mobile chat, iphone chat, android chat, chat, rooms http://www.aiochat.com