Skip to content

MY PROJECT: Submit form data to Telegram using bot and make record in mySQL table using Medoo.

Notifications You must be signed in to change notification settings

vovoka-path/webhookForm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

My name is Vladimir Polansky. My CV: vovoka.space

webhookForm

Description

Submit form data to Telegram using bot and make record in mySQL table using Medoo.

How to use

  1. Get a TOKEN from @botFather and your chat ID.
  2. Into a file telegram.php. Format message from the form data and insert: TOKEN, chat ID.
  3. Into a file recordDB.php. Add your database connection data and define your variables from the form.

Reason for creation

Add a quick telegram alert to the application form on the website and record data in mySQL with protection against SQL injection.

What I have learned

  • Introducing in the PHP programming language.
  • Using PHP to securely connect to mySQL and work with tables.
  • Installation the Medoo framework and using it.
  • Creating a telegram bot and sending messages to a chat using PHP.

Study way

Comprehensive study by searching on the Internet.

How much time is spent

10 hours.


webhookForm is maintained by vovoka-path

About

MY PROJECT: Submit form data to Telegram using bot and make record in mySQL table using Medoo.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages