|
Posted by Jerry Stuckle on 11/24/07 20:53
Jesse Burns aka jburns131 wrote:
> Thanks for the input :-)
>
> ok, here's where it gets really odd. Out of the 2 email sent, only one has
> the $_POST data that I'm sending. The other doesn't?
>
> Any idea's?
>
>
> "Jesse Burns aka jburns131" <jburns131@jbwebware.com> wrote in message
> news:J42dncuPMqdeHNXanZ2dnUVZ_hCdnZ2d@comcast.com...
>> Here's my code:
>>
>> $today = getdate();
>>
>> $to = someone@somewhere.com;
>>
>> $subject = "New Application: ".$userdata["username"]." -
>> ".$today['mon']."/".$today['mday']."/".$today['year'];
>>
>> $message_header = "New Application: ".$userdata["username"];
>>
>>
>> $message = $message_header."\n
>>
>> Hello, is this working?";
>>
>>
>> mail($to, $subject, $message);
>>
>> It's not located in a loop, so I don't understand why it would send 2
>> emails to the reciever?
>>
>> Any idea's?
>>
>>
>
>
>
Yep, you're probably calling mail() somewhere else. Or calling it twice
- i.e. after reloading the page.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|