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
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
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');