views:

49

answers:

2

I am developing under wamp.

echo realpath(APPPATH);

C:\wamp\www\salsaritmo\system\application

echo realpath(APPPATH . '..');

C:\wamp\www\salsaritmo\system

echo realpath(APPPATH . '../files');  //(which is the one i want)

returns nothing

A: 

Your APPPATH doesn't end with a directory separator, so you're ending up trying to realpath('C:\wamp\www\salsaritmo\system../files'), which obviously isn't valid. Try:

   echo realpath(APPPATH . '/../files');
rkulla