Problem with paths [Solved]

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


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

PostPosted: Mon Mar 07, 2005 4:01 pm    Post subject: Problem with paths [Solved] Reply with quote

Edit: This problem is now solved using the strftime() function

Last edited by TRUSTAbyss on Mon Mar 07, 2005 11:30 pm; edited 1 time in total
Back to top View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1332

PostPosted: Mon Mar 07, 2005 4:39 pm    Post subject: Re: Problem with paths Reply with quote

TRUSTpunk,

You should extract the current real directory from SCRIPT_FILENAME :

Code:

     $real_dir = dirname( $_SERVER['SCRIPT_FILENAME'] );
Back to top View user's profile Send private message
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