Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- OOP
- Session
- variables
- HTML
- Ajax
- curl
- MySQL
- function
- jquery
- 무료다운로드쿠폰
- Arrays
- post
- 경영
- php
- Forms
- JavaScript
- 웹하드추천
- date
- composer-php
- Laravel
- JSON
- file-upload
- 전략
- string
- UTF-8
- Regex
- Linux
- 웹하드순위
- Apache
Archives
- Today
- Total
개발! 딱 깔끔하고 센스있게!
PHP 폼 제출 본문
나는 만든 양식이 문제가 있다.
기본적으로 수신자에게 이메일을 보내는 것은 허용하지 않습니다.
PHP 코드가 정확하다고 해도 됩니다.
PHP 코드를 깎는 질문인가요?
[email protected]"; $name = trim($_POST['name']); $email = trim($_POST['email']); $comments = trim($_POST['comments']); $subject = "Contact Form"; $messages = "Name: $name \r\n Email: $email \r\n Comments: $comments"; $headers = "From:" . $name; $mailsent = mail($to, $subject, $message, $headers); if ($mailsent) { $sent = true; } } } ?>
나의 HTML 은:
Text
Text
대답
이것을 시험해 보세요. (몇 가지 문제를 해결해야 합니다):
[email protected]"; $name = trim($_POST['name']); $email = trim($_POST['email']); $comments = trim($_POST['comments']); $subject = "Contact Form"; $message = "Name: $name \r\n Email: $email \r\n Comments: $comments"; $headers = "From:" . $name; $mailsent = mail($to, $subject, $message, $headers); if($mailsent) { $sent = true; } } } ?> Text
Text
'개발 스크랩 메모 > PHP' 카테고리의 다른 글
php 그룹 을 jquery 함수 에 전달 (0)
2020.12.23
php 보고서 도구 [닫기] (0)
2020.12.23
밀집형 PHP 스크립트 실패 w / 지정한 시간 초과 'error/ apulength u filter (0)
2020.12.23
PHP cURL options CURLOPTuHEADER, CURLOPTuRETURNTRNTRANSFER 충돌인가요? (0)
2020.12.23
php 속의 완벽한 Soap (Wsdl) web 서비스 [닫기] (0)
2020.12.23
Comments