directory problem

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
medrastic
-


Joined: 27 Jun 2006
Posts: 1

PostPosted: Tue Jun 27, 2006 10:39 am    Post subject: directory problem Reply with quote

i could not find out a way for the directory.

$basedir = @dirname(__FILE__);

how should i point to other directory

suppose i want to point the directory to this folder
www/music/mp3

what should i write in the above

so, i could see the files content of mp3 folder
Back to top View user's profile Send private message Yahoo Messenger
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Jun 27, 2006 1:24 pm    Post subject: Re: directory problem Reply with quote

medrastic,

Could you please give us more details about the context of your question? A code snippet will help a lot.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Tue Jun 27, 2006 6:13 pm    Post subject: Re: directory problem Reply with quote

medrastic wrote:
$basedir = @dirname(__FILE__);

how should i point to other directory

suppose i want to point the directory to this folder
www/music/mp3

what should i write...


$basedir = "www/music/mp3";

Note: The dirname() function only returns the Parent Folder (The one before the
current folder). You use my path to get to the mp3 folder. :-)
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group