mkdir help needed to make a auto movie name directory.

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

    mkdir help needed to make a auto movie name directory.

    Here is file i want 2 make a auto dir of movie name.

    Added after 3 minutes:

    I want to make a dir of
    PHP Code:
    $movie 
    But How to use files/movie_name/song.mp3
    my "files" dir is allready exist
    Attached Files
    Last edited by PranaY4U; 03.07.12, 16:29.

    #2
    Originally posted by PranaY4U View Post
    Here is file i want 2 make a auto dir of movie name.

    Added after 3 minutes:

    I want to make a dir of
    PHP Code:
    $movie 
    But How to use files/movie_name/song.mp3
    my "files" dir is allready exist

    edited with what u need..
    Attached Files

    Comment


      #3
      Originally posted by swtsanjay View Post
      edited with what u need..
      Yes Working 100%
      Thanx For Help..

      One More Help Needed...

      Added after 3 minutes:

      use dat code n make new1 pls replace old code n put dat pls pls....
      PHP Code:
      if(!$page=="")
      {
      $songs extract_songs($file);

      foreach(
      $songs as $song => $name){
      $song_url extract_song_url($song);
      $song_url=str_replace(" ","%20",$song_url);
            if(
      $copy_to_server)
            {
               
      $song_name basename($name);
               
      $song_name $dir.$song_name."(tikuwapi.x10.bz).mp3";
               if(!
      is_file($song_name))
               {
                  
      $iscopied copy($song_url,$song_name);
                  if(
      $iscopied)
                  {
                     if(
      $processtags)
                     {
                        
      process_tags($song_name,$data);
                     }
                  }
               }

      $filepreg_replace("|<a href=\"http:\/\/link1.songspk.pk(.*?)$name<\/a>|is","<a href=\"$song_name\">$name</a>",$file);
      $filepreg_replace("|http:\/\/link.songspk.pk/(.*?)$name<\/a>|is","$song_name\">$name</a>",$file);
            }
                  }

      Last edited by PranaY4U; 04.07.12, 16:48.

      Comment

      Working...
      X