Page 1 of 1

file path help please

Posted: Tue Sep 05, 2006 11:08 pm
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

Posted: Wed Sep 06, 2006 7:10 am
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.