Jump to content

kimeee

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

kimeee's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. nogray: i need to set it up with 4 radio buttons with 4 different emails for each button. how would this work? with elseif? thanks! [!--quoteo(post=380779:date=Jun 6 2006, 05:15 PM:name=nogray)--][div class=\'quotetop\']QUOTE(nogray @ Jun 6 2006, 05:15 PM) [snapback]380779[/snapback][/div][div class=\'quotemain\'][!--quotec--] You can use a check box instead of the radio button like this Example check box [code] <input type="checkbox" name="Department_name" value="Yes" /> Department Name [/code] in you php, you just need to add the extra email address to the "To" [code] $to = "your_email@domain.com"; if ($_POST['Department_name'] == "Yes"){      $to .= ", department_email@domain.com"; } [/code] Let me know if you need radio buttons and an example of your form if you need more help. [/quote]
  2. would the same apply if my form was html? (ie: form.html, submit.php (processes form data & sends autorespond message) & verify.php (activated when link in autorespond message is sent. verifies user)? thanks!!! [!--quoteo(post=381425:date=Jun 8 2006, 11:00 AM:name=poirot)--][div class=\'quotetop\']QUOTE(poirot @ Jun 8 2006, 11:00 AM) [snapback]381425[/snapback][/div][div class=\'quotemain\'][!--quotec--] I can't understand your problem, but you can use $_GET and $_POST to pass data across scripts; that's the point of using them. Inserting it to a database is just a "next level" thing. But you don't need a db if you're just passing it. Like: form.php [code]<form action="verify.php" method="post"> <input type="text" name="hello"> <input type="submit"> </form>[/code] verify.php [code]<?php echo $_POST['hello']; ?>[/code] If you write "hello there", verify php will echo out "hello there". [/quote]
  3. I have a form <form.html> that send its values to a .csv file. Then it autoresponds <autorespond.php>a message back to sender with a link. Clicking this link <verify.php> sends an verifying email back to me. My question. Is it possible to add another field/column to the row of data values in the .csv file for that user to mark that they clicked the verify link?
  4. Howdy I have a form that shoots out an autorespond message. I have then set up a link in that message to a php file that will send me back a verifying message that they were indeed the one who filled out the form in the first place. What I need to do is pass some of the variables (ie: name and email) from form.php to verify.php. I don't think I can use _GET or _POST because I haven't set any of this up with a db. And don't think I can use SESSION cuz they will only be able to access verify.php via a link in the autorespond message. They may have closed their browser by then and that will make SESSION void. Any help would be appreciated. Hopefully I posted this in the correct forum. Thanks!
  5. I have set up an autoresponder. In the autorespond message, I'd like to add a link, either to another page or to a mailto: link so we know they received the email. Below is the code I have for the message. Can someone tell me what I'm doing wrong? ---------------------------------------------------- ////// Now we are ready to send the email so we call php's mail() function //////with the appropriate variables from above included in the brackets ////// ////// Auto-Responder ////// You can substitute any of form fields in response by using ////// %field_name% in response text. ////// $autoresponder_enabled = 1; $autoresponder_from = $send_to; $autoresponder_subject = $subject; $autoresponder_message = <<<MSG Hi %nominatorName_req%,\n Thank you for your nomination. \n Please recheck your submitted information and reply to this message to complete the nomination process for the 2007-2010 Nominations.\n ----------Nominee Information------------\n Nominee Name: %nomineeName_req%\n Nominee Institution: %nomineeInstitution_req%\n Nominee Department: %nomineeDept_req%\n Nominee Field of Study: %nomineeField_req%\n If Other: %nomineeOtherField%\n Nominee Date of PhD: %nomineePhd_req%\n Nominee Address: %nomineeAddress_req%\n Nominee Phone: %nomineePhone_req%\n Nominee Email: %nomineeEmail_req%\n ----------Nominator Information----------\n Nominator Name: %nominatorName_req%\n Nominee Title: %nominatorTitle_req%\n Nominator Institution: %nominatorInstitution_req%\n Nominator Department: %nominatorDept_req%\n Nominator Address: %nominatorAddress_req%\n Nominator Phone: %nominatorPhone_req%\n Nominator Email: %nominatorEmail_req%.\n } ***here is where i'd like to put the link. i have deleted anything i tried hoping to not look less dumb*** MSG;
  6. I have set up a "Leave of Absence Request" form with HTML and PHP. When filled out and sent, it sends a copy to me. They (my superiors) have also asked if I can set it up so that when a user clicks on a radio button for a specific department, a separate email will be sent to that dept, as well as the email to me. I know this must be possible. I have tried many ways and have had no luck so far. Is there anyone out there that can help me?
  7. alas... doesn't work... this is what the autoresponder actually shoots back... [!--coloro:#990000--][span style=\"color:#990000\"][!--/coloro--]If it is correct, please click this <a href=/"{'mailto:kheatley@mit.edu?subject=".VERIFIED NOMINATION from Kim Heatley for Tina Heatley."&body=".Verification of Nomination for Tina Heatley."'}\">{'link'}</a> to complete the nomination process. [!--colorc--][/span][!--/colorc--] [!--quoteo(post=375291:date=May 19 2006, 01:51 PM:name=Orio)--][div class=\'quotetop\']QUOTE(Orio @ May 19 2006, 01:51 PM) [snapback]375291[/snapback][/div][div class=\'quotemain\'][!--quotec--] I think this should work: [code]$autoresponder_message= "Hi %nominatorName_req%,\n Thank you for your nomination. \n Please recheck your submitted information.\n If it is correct, please click this <a href=/"{'mailto:kheatley@mit.edu?subject=".$verifysubject."&body=".$verifybody."'}\">{'link'}</a> to complete the nomination process.\n //continue[/code] And dont forget- escape double quotes in the message itslef (like I did here). Orio. [/quote]
  8. howdy... i have been trying to add this functionality to my php but so far it's not working... this is the deal: i have created php code to autorespond to form submission... i now want to add onto that code... making it possible to add a link in the autoresponse body that will shoot an email back to me... which basically verifies that they were the actual senders. this is the part of the php code i have been trying (with the incorrect stuff still in it in red)... $autoresponder_message = <<<MSG Hi %nominatorName_req%,\n Thank you for your nomination. \n Please recheck your submitted information.\n If it is correct, please click this <a href="{'mailto:kheatley@mit.edu?subject=$verifysubject&body=$verifybody'}">{'link'}</a> to complete the nomination process.\n ----------Nominee Information------------\n Nominee Name: %nomineeName_req%\n Nominee Institution: %nomineeInstitution_req%\n Nominee Department: %nomineeDept_req%\n Nominee Field of Study: %nomineeField_req%\n If Other: %nomineeOtherField%\n Nominee Date of PhD: %nomineePhd_req%\n Nominee Address: %nomineeAddress_req%\n Nominee Phone: %nomineePhone_req%\n Nominee Email: %nomineeEmail_req%\n ----------Nominator Information----------\n Nominator Name: %nominatorName_req%\n Nominee Title: %nominatorTitle_req%\n Nominator Institution: %nominatorInstitution_req%\n Nominator Department: %nominatorDept_req%\n Nominator Address: %nominatorAddress_req%\n Nominator Phone: %nominatorPhone_req%\n Nominator Email: %nominatorEmail_req%\n If the above information is correct, please click here. MSG; if there are any suggestions that would be amazing!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.