Nikola Ignjatovic 5 лет назад
Родитель
Сommit
012d129801
1 измененных файлов: 3 добавлений и 3 удалений
  1. 3
    3
      README.md

+ 3
- 3
README.md Просмотреть файл



Before that, needed to setup email: Before that, needed to setup email:


``` $mail = new PHPMailer(); //make instance of PHPMailer
$mail = new PHPMailer(); //make instance of PHPMailer


$mail->IsSMTP(); // telling the class to use SMTP $mail->IsSMTP(); // telling the class to use SMTP


$mail->IsHtml(true); //enable html message instead of text $mail->IsHtml(true); //enable html message instead of text




$mail->send(); //send email ```
$mail->send(); //send email






When 'resume-file' is sent using POST method, it can be found in $_FILES array, but other parameters can be found in $_POST array
When 'resume-file' is sent using POST method, it can be found in FILES array, but other parameters can be found in POST array


When input (type file is used) in html form, need to add enctype="multipart/form-data" and setup: When input (type file is used) in html form, need to add enctype="multipart/form-data" and setup:



Загрузка…
Отмена
Сохранить