mkdir help needed to make a auto movie name directory.

Started on the old forum in July 2012 · view the original in the archive · old links redirect here

2 replies · 492 views · started 14 years ago · 1 min read

2 participants
PranaY4U Developer · 80 posts #1

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

Added after 3 minutes:

I want to make a dir of

$movie

But How to use files/movie_name/song.mp3 my "files" dir is allready exist

Attachments: index.zip
swtsanjay Junior · 14 posts #2

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

Added after 3 minutes:

I want to make a dir of

$movie

But How to use files/movie_name/song.mp3 my "files" dir is allready exist

edited with what u need..

Attachments: index.zip
PranaY4U Developer · 80 posts #3

swtsanjay wrote: 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....

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);
               }
            }
         }

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

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close