Jump to content
Killersites Forums

Roman

Member
  • Content Count

    10
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Roman

  • Rank
    New member

Profile Information

  • Location
    Prague
  1. $headers = "Content-type: text/plain; charset=utf-8"; the script above determinate text coding. (it can be for example: utf-8, windows 1250 ...etc.)
  2. Thanks but the result of processor.php code is same with "\r\n" ; or without it. You can try it. <?php $where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/")); $headers = "Content-type: text/plain; charset=utf-8"; $headers = 'From: vinyl2006@seznam.cz' ; // could be a different address from the one I'm using here. $headers = 'Bcc: vinyl2006@seznam.cz'; // this would be your permanent email address. $to = $_POST['field_2']; // captured from the form. $subject = 'formular - vinyly.ic.cz'; $username = $_POST['field_1']; $field_
  3. Hi Mark, Thank for your respond. Your code above, send message to both email addresses(fix and variable) but the text coding is still wrong. I tried to fix the text coding but still it does not works. Btw. this code (send March 5, 2010) is doing the same work like your above, just the text coding (??????? ????) is too not working. proc.120-yes (both emails but wrong text coding-?? ?) <?php $where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/")); $headers = 'Content-type: text/plain; charset=utf-8\n'; $headers = 'Bcc: vinyl20
  4. Please write exactly the whole code. The code above send email only to fix email address and with wrong text coding (no ???). (I just want to prove all possibilities...) Thank you.
  5. Hi Mark, thank you for your answer. I fixed the problem yesterday late at night. Right code is: proc.120-yes (both emails but wrong text coding-?? ?) <?php $where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/")); $headers = 'Content-type: text/plain; charset=utf-8\n'; $headers = 'Bcc: vinyl2006@seznam.cz'; $to = $_POST['field_2']; $subject = 'formular - vinyly.ic.cz'; $message = "Form data: username: " . $_POST['field_1'] . " Email: " . $_POST['field_2'] . " Telefon: " . $_POST['field_3'] . " Zem?: " . $_POST['field_4'] . "
  6. Thank you very much for your response. I?m new just like you. Started with PHP just two weeks ago. Your code send the email to fix and variable address at the same time but the message field (in email) is empty. proc.72 - yes (arrived on fix and variable email address, but there is nothing in email message-field) <?php $where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/")); $headers = "Content-type: text/plain; charset=utf-8\n". "\r\n" ; $headers = 'Bcc: vinyl2006@seznam.cz'; // permanent email address. $to = $_POST['field_2
  7. Thank you. But thats right ...look at the last script, that I mentioned. Problem is to resend the message to one fix and one variable address at the same time. I tried many combinations. All are on: http://www.vinyly.ic.cz/scripttests.txt The struggle continue.
  8. Hi dms, thank you. But this code is not working. I tried for example this scripts below: (All of them are not working!) ------------------------------------- proc.55 mail($_POST['field_2']).","P?edm?t", "Text zpr?vy","Form data: Parse error: syntax error, unexpected T_STRING in /home/free/ic.cz/v/vinyly/root/www/formular_control_corection_total_2/processor.php on line 4 ------------------------------------- proc.56 mail($_POST['field_2']).","P?edm?t", "Text zpr?vy";"Form data: Parse error: syntax error, unexpected T_STRING in /home/free/ic.cz/v/vinyly/root/www
  9. I would like to send a message from formular on site: http://www.vin (antispam measure) yly.ic.cz/form_cz_flashplayer_imagerotator.htm to vinyl2006@seznam.cz (always fix email address)and than to variable address (according the email address in form. field) at the same time.I tried many combinations but nothing helped to solve this problem. Thank to anybody in forward for any help! ------------------------ This is an example of UNWORKING script processor.php (mail functions are behind each other): <?php $where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev(
×
×
  • Create New...