Hi
I'm having a problem with my email message,
when I receive my path links in my email , I get the following path http://mysite/bloom/Agustin Cordero.jpg
the space between seems to cause this problem, of course I could add an underscore to make it a continuous string, but I have over 6,000 images.
what can I do to eliminate this problem,
$image_part = "".$HTTP_POST_FILES['BloomImage']['name'];
$image_list[16] = $image_part;
copy($HTTP_POST_FILES['BloomImage']['tmp_name'], "bloom/".$image_part);
$image_part = "".$HTTP_POST_FILES['PodImage']['name'];
$image_list[17] = $image_part;
copy($HTTP_POST_FILES['PodImage']['tmp_name'], "pod/".$image_part);
$image_part = "".$HTTP_POST_FILES['PollenImage']['name'];
$image_list[18] = $image_part;
copy($HTTP_POST_FILES['PollenImage']['tmp_name'], "pollen/".$image_part);
$image_part = "".$HTTP_POST_FILES['HybridiserImage']['name'];
$image_list[19] = $image_part;
copy($HTTP_POST_FILES['HybridiserImage']['tmp_name'], "hybridiser/".$image_part);
$image_part = "".$HTTP_POST_FILES['LeafImage']['name'];
$image_list[20] = $image_part;
copy($HTTP_POST_FILES['LeafImage']['tmp_name'], "leaf/".$image_part);
$where_form_is="http".($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/"));
$message="Bloom Name: ".$BloomName."
Pod Name: ".$PodName."
Pollen Name: ".$PollenName."
Hybridiser: ".$Hybridiser."
Origin: ".$Origin."
Grower: ".$Grower."
Color Group: ".$ColorGroup."
Bloom Type: ".$BloomType."
Reg Mini: ".$RegMini."
Size Range: ".$SizeRange."
Propagation: ".$Propagation."
Bloom Color: ".$BloomColor."
Bloom Characteristics: ".$BloomCharacteristics."
Leaf Characteristics: ".$LeafCharacteristics."
Bush Characteristics: ".$BushCharacteristics."
Photo Credit: ".$PhotoCredit."
Bloom Image: ".$where_form_is."bloom/".$image_list[16]."
Pod Image: ".$where_form_is."pod/".$image_list[17]."
Pollen Image: ".$where_form_is."pollen/".$image_list[18]."
Hybridiser Image: ".$where_form_is."hybridiser/".$image_list[19]."
Leaf Image: ".$where_form_is."leaf/".$image_list[20]."