I need to get the relative path to a file, in this case, what i need is:
/sites/default/files/pics/DSC00873_39.JPG
But all I seem to be able to get is the following:
$file = file_load($pic);
print $file->uri; // public://pics/DSC00873_39.JPG
Any ideas please?