I'm getting something very un-expected and would greatly appreciate help...
if I do the following:
<?php
$temp="From: <someone@somewhere.com>\r\n";
echo $temp;
?>
...it prints to the screen the following:
From:
...so where did the rest of it go? How do I get the whole line to print, or more specifically, how can I return $temp from a function with the entire line? The really weird thing is if you do strlen($temp) right after the echo $temp, it will give you the lenght of the whole thing (yet only prints the first 5 characters). I'm sure it's something simple, but I've beat my head against a wall for hours.
Thanks
if I do the following:
<?php
$temp="From: <someone@somewhere.com>\r\n";
echo $temp;
?>
...it prints to the screen the following:
From:
...so where did the rest of it go? How do I get the whole line to print, or more specifically, how can I return $temp from a function with the entire line? The really weird thing is if you do strlen($temp) right after the echo $temp, it will give you the lenght of the whole thing (yet only prints the first 5 characters). I'm sure it's something simple, but I've beat my head against a wall for hours.
Thanks