Forum Moderators: coopster
http://www.example.com/files/thumbs/151_32_wYHGFcibTh.JPG
turns to this in the email:
http://www.example.com/files/thumbs/151_32_wYHGFcibTh.J!%20PG
Can I protect it from being altered? What's causing !%20 being added?
This is my mail method:
public static function send_html($to, $from, $reply_to, $subject, $message) {
$headers = "From: " . $from . "\r\n";
$headers .= "Reply-To: ". $reply_to . "\r\n";
//$headers .= "CC: " . $cc . "\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
mail($to, $subject, $message, $headers);
} [edited by: eelixduppy at 4:01 pm (utc) on Oct. 5, 2009]
[edit reason] switched to example.com [/edit]