This is a weird problem... I'm using file_directory_path() as talked about in http://api.drupal.org/api/drupal/includes%21file.inc/function/file_directory...
It's not returning the correct location. From www.example.com/location/something it's giving www.example.com/location/path.to.files instead of www.example.com/path.to.files
This is pretty weird. Any ideas?
Joel