Help-Document_ROOT
Started on the old forum in July 2011 · view the original in the archive · old links redirect here
Im guessing u want full path to a file?
realpath(dirname(__FILE__))
puge wrote: Nope bro, like this:
$GLOBALS['_SERVER']['DOCUMENT_ROOT'] = "/home/wapgam/public_html";
so wats d problem
puge wrote: public_html/wapgam
This is impossible because wapgam is the name/username to your cpanel that's the name your host use to identify your account on their server and you shouldn't post it in forums
