-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
send form data to email and telegram bot
function sendTelegram added 1 function sendTelegram added file_get_contents 14 file_get_contents 13 file_get_contents 12 file_get_contents 11 file_get_contents 11 file_get_contents 10 file_get_contents 9 file_get_contents 8 file_get_contents 7 file_get_contents 6 file_get_contents 5 file_get_contents 4 file_get_contents 3 file_get_contents 2 file_get_contents 1 file_get_contents string concatination function send to telegram new token message in function 1 message in function added consts tests 454647 45 consts file init consts file init ver stable 1.0 telegram bot api strings telegram bot in php test with argv cgi use init disabled email send for tests line 57 forgottenn comma bot.py bot connected curl global url curl result curl error show relative link in curl function sending with cURL python script listens post message
- Loading branch information
Showing
5 changed files
with
30 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
sochisto.zip | ||
.env | ||
/node_modules | ||
/.vscode | ||
package-lock.json | ||
package.json | ||
consts.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
your_telegram_token_from_bot_father | ||
your_telegram_id | ||
developer_telegram_id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<noscript><div><img src="https://mc.yandex.ru/watch/96480520" style="position:absolute; left:-9999px;" alt="" /></div></noscript> | ||
<link rel="stylesheet" href="style.css?version=10"> | ||
<script src="scripts/script.js?version=12" defer></script> | ||
<script src="scripts/script.js?version=13" defer></script> | ||
<script src="./scripts/prices.js" defer></script> | ||
<title>Сочисто! | Уборка квартир в Сочи</title> | ||
<link rel="icon" href="img/favicon.jpg"> | ||
|
@@ -87,22 +87,7 @@ <h1 class="text-accent">Оставьте заявку</h1> | |
<p class="text"> | ||
Вы сможете узнать всю необходимую информацию и забронировать время уборки. | ||
</p> | ||
|
||
<!-- <form enctype="multipart/form-data" action="/settings/uploadFile" method="post" class="dropzone" id="my-awesome-dropzone"> | ||
<input type="text" name="x" value="kittens"> | ||
<input type="text" name="y" value="puppies"> | ||
</form> --> | ||
|
||
|
||
<form class="clientForm" enctype="multipart/form-data" action="mail.php" method="post"> | ||
|
||
<!-- Hidden Required Fields --> | ||
<input type="hidden" name="project_name" value="Сочисто"> | ||
<input type="hidden" name="admin_email" value="[email protected]"> | ||
<input type="hidden" name="form_subject" value="Новая заявка на сайте"> | ||
<!-- END Hidden Required Fields --> | ||
|
||
|
||
<input class="text input" type="text" id="name" name="name" placeholder="Ваше имя" required> | ||
<input class="text input" type="tel" id="phone" name="phone" placeholder="Ваш телефон" required> | ||
<div class="after-list"> | ||
|
@@ -112,8 +97,6 @@ <h1 class="text-accent">Оставьте заявку</h1> | |
</div> | ||
</form> | ||
</div> | ||
|
||
|
||
</div> | ||
</div> | ||
<div id="services" class="container"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters