Forums
This topic is locked
Send email if date is updated
Posted 16 Jan 2002 17:51:24
1
has voted
16 Jan 2002 17:51:24 Michael Davis posted:
I'm using ImpKt to update a database, and want to send an email when the form is used to update a record. I'm using the following, but it's not working:<?php
$toaddress = " ";
$subject = "Form Is sent";
$mailcontent = "Mail if form sent";
if(!empty($HTTP_VARS_POST))
mail($toaddress,$subject,$mailcontent);
?>
Replies
Replied 16 Jan 2002 22:43:29
16 Jan 2002 22:43:29 Tim Green replied:
That's because you're incorrectly referring to the global array $HTTP_POST_VARS...
Hope this helps...
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Hope this helps...
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 18 Jan 2002 05:32:09
18 Jan 2002 05:32:09 Michael Davis replied:
Boy, do I feel dumb! Thanks for the catch.