PHP retrieving post variable removes characters

My site is using the code


to retrieve product images and is returning Photo 11-12-2015 2 23 05 PM.jpg
when the post header contains:

Content-Disposition: form-data; name="products_previous_image"

Photo 11-12-2015, 2 23 05 PM.jpg

This missing comma in the image path, is breaking the existing image when other fields are edited.

is there a way to fix this application side? or is this a server configuration isssue?

Source: stackoverflow-php