Issue while having space in image name

Aug 8, 2012 at 9:21 AM

I am using following code and getting issue if there is an space in image name. like:

$shape->setPath("C:/image/abc1.jpg");

--- Working fine

 

$shape->setPath("C:/image/abc 1.jpg"); 

-- Not working as there is space in image name.

 

Please suggest the resolution ASAP.