file path help please

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
jasondavis
Forum Commoner
Posts: 60
Joined: Sat Feb 04, 2006 5:35 pm

file path help please

Post by jasondavis »

Hi ok when I login to my server via FTPS I go to the lowest folder possible I then get a list of folder, here are the 2 folders I need to work with
/root/123flashchat/server/data/default/ location for chat server files needed is // I have a php file on the locatin listed below that needs to call this location

/home/mycrib/public_html/chat/ locaton where the files to display data is // This location goes to a domain that I have on this server, I have a php file in this folder which should diplay some data from the location list above but I dont know the proper filepath to get to the location above from being inside my domain, and help please
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Post by jmut »

very scary :)
didn't catch what exactly you talk about but this may be of interest.

Code: Select all

dirname(__FILE__);   //the fullpath directory of the current file.
Post Reply