Forum Moderators: coopster

Message Too Old, No Replies

Determining path to config file

         

lexa1999

5:03 pm on May 3, 2004 (gmt 0)

10+ Year Member



Is there a way to figure out the absolute path to the config file on my hosting company's site (apart from just calling and asking). I am writing some code that calls for this path and don't know how to get it.

Thanks.

hafnius

5:36 pm on May 3, 2004 (gmt 0)

10+ Year Member



Hi lexa1999

Use the PHPINFO() function. Make a new page with this content an upload it and view it in your browser. The path should be one of the top items

<? phpinfo();?>

/Kind Regards
Hafnius

lexa1999

6:03 pm on May 3, 2004 (gmt 0)

10+ Year Member



hafnius-

Just what I was looking for. Thank you.