/
in the begining of path means - absolute path.
you should use absolute or relative path:
$profile_pic_path = dirname(__FILE__).'/uploads/users/405/images/profile/profilepic/';
or
$profile_pic_path = 'uploads/users/405/images/profile/profilepic/';
this works if your script in the same directory where uploads dir is.
in case if your script in subdirectory (lib/tests/test.php for example), and you have no global $basepath initialised:
$profile_pic_path = dirname(dirname(dirname(__FILE__)))
.'/uploads/users/405/images/profile/profilepic/';
often somewhere in top of logic here is global or constant basedir used (say in config/main.php) :
global $basedir=dirname(dirname((__FILE__));