mkdir help needed

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    mkdir help needed

    i want make
    PHP Code:
    $a 'a';
    $b 'b';
    $c 'c';

    www.mysite.com/a/b/c/eg.mp3 
    how i make this guid me help me

    #2
    PHP Code:
    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

    to


    then you can do it by editing .htaccess


    HTML Code:
    Options +FollowSymLinks
    RewriteEngine on
    
    RewriteRule file/a/(.*)/b/(.*)/c/(.*) file.php?a=$1&b=$2&c=$3
    sigpic

    Comment


      #3
      PHP Code:
      mkdir("a/b/c"0777TRUE); 
      Last edited by arnage; 19.11.12, 18:41.
      Mobile chat, iphone chat, android chat, chat, rooms http://www.aiochat.com

      Comment


        #4
        Originally posted by kevk3v View Post
        mkdir("a/b/c", 0777, TRUE);
        Thanx Man Its Working 4 Me....

        Comment

        Working...
        X