To know if your hosting company allows this uploading function, you have to check using PHP's phpinfo, or look in the hosting company's documentation or contact them.
If they do, chmod the photo root directory to 777 in order not to have directory rights issues.