PHP Copy command failing when spaces?

peekatchu.

New Member
I am executing the following commands:\[code\]<?phpcopy ("http://localhost/.../DSCF8253.JPG" , "sites/default/files/DSCF8253.JPG"); // Success!copy ("http://localhost/.../DSCF8260.JPG" , "sites/default/files/DSCF8260.JPG"); // Success!copy ("http://localhost/.../HERMAN 085.jpg" , "sites/default/files/HERMAN 085.jpg" ); // Fail!?>\[/code\]The first two copy fine, but not the last one. Why?It must have something to do with the filenames (the last one has a SPACE before the 085).Any help would be greatly appreciated!
 
Back
Top