PHP - want to send Feedback acknowledgment message

Asked By Gopi K
30-Aug-10 06:20 AM
Hi Guys,

       i created a application in php, in that i set the feedback form for the visitors,while visitor send the feedback to the admin , i want the coding of  send acknowledgment message to the same visitor mail address. some one helpme

Thanks in Advance.........
  Gayathri S replied to Gopi K
01-Sep-10 09:15 AM
Assuming your form is like this:

<form action="submit.php" method="post">
   <!-- other form fields -->
   <input type="text" name="email_id" />
   <!-- other form fields -->
</form>


Now submit.php should have the following code to send acknowledgement mail:

<?php
$mailid = $_POST['email_id'];
if(mail($mailid, "Received your comments (subject)", "<Body of the message>"))
{
   echo "Received successfully!";
}
else
{
   echo "Error in sending acknowledgement mail. See if your mail server is configured properly";
}
?>

  wepex replied to Gopi K
21-Feb-11 01:30 PM
i request to get a php code for notification by a recipient to a sender on receipt of a file
Create New Account
help
to disable client side script in validators? (A)How can I show the entire validation error message in a message box on the client side? (B)You find that one of allows one method which will perform both operations in one call without waiting for an acknowledgment from the first task before performing the second one. Similarly, when a client pings its ActiveX component project is compiled. This will cause any compiled client components to fail (with error 429!) and report a missing reference to the 'VB ActiveX Test Component' when a client the type library ID. This will still cause any compiled client components to fail (with error 429!) but will not report a missing reference to the 'VB ActiveX Test Component' when due to this one process can not crash the other process.So any problem or error in one process does not affect the other process.In .NET they went one step in same process with out influencing each other.If one of the application domains throws error it does not affect the other application domains.To invoke method in a object running will reset all your delegates to nothing and you have to keep figuring where the error is. (B) If we inherit a class do the private variables also get inherited ? Yes script in validators? Set EnableClientScript to false. (A)I want to show the entire validation error message in a message box on the client side? In validation summary set “ShowMessageBox” to
working on remote site I have the config below in my web.config <customErrors defaultRedirect = "error / error.aspx" mode = "On"> <error statusCode = "500" redirect = "error / error.aspx" / > <error statusCode = "404" redirect = "error / error.aspx" / > < / customErrors> I have changed the mode to RemoteOnly with no success Initially i didn
Reserved error (Error 3000) DataBase Does anyone know what is causing this error? Reserved error <Item> ; there is no message for this error. (Error 3000) An unexpected error occurred. The specified code identifies the conditions under which this error can occur. Please contact Microsoft Product Support Services for more information. Here's SQL: INSERT
complete, as it keeps stopping. The only clue in the event log is a 5014 error - The DFS Replication service is stopping communication with partner <server> due to an error. The error in question is 1722 (The RPC Server is unavailable). If I restart the DFS service 4CA5-93D3-9923AC11D640} csName:Production updateType:remote 20081001 08:32:57.251 2748 DOWN 5186 [ERROR] DownstreamTransport::RdcGet Failed on connId:{F33E154B-B106-4CA5-93D3-9923AC11D640} csId:{81BF2885-1DE4-4F26-8E2B 00000000-00000000-00000000 + similarity 00000000-00000000-00000000-00000000 + name {066AED9B-313E-4D28-A0C6-4A144863E7C5}-v1075 + Error: + [Error:9027(0x2343) RpcFinalizeContext downstreamtransport.cpp:1096 2748 C A failure was reported by the remote partner] + [Error:9027(0x2343) DownstreamTransport::RdcGet downstreamtransport.cpp:5124 2748 C A failure was reported by the remote partner] + [Error:170(0xaa) DownstreamTransport::RdcGet downstreamtransport.cpp:5124 2748 W The requested resource is in use