Loading repository data…
Loading repository data…
mizegerd-tech / repository
📱 Contact Bot Website is a simple yet powerful platform that connects users with businesses through a seamless contact form integrated with a Telegram bot, ensuring instant message forwarding and automated responses.
A simple contact form website that connects to a Telegram bot for message forwarding and automated responses.
Install PHP & Apache
sudo apt update
sudo apt install apache2 php libapache2-mod-php php-curl php-gd
Clone the Repository
git clone https://github.com/mizegerd-tech/Contact-us-website-bot.git
cd contact-bot-site
Configure the Bot
Open bot.php and update the Telegram Bot Token and Chat ID:
$botToken = "YOUR_BOT_TOKEN";
$chatId = "YOUR_CHAT_ID";
Run PHP Server
php -S localhost:8000
Access the Website
Open http://localhost:8000/index.php in your browser.
سایت ارتباط با ما و متصل به ربات
یک وبسایت ساده برای ارسال پیام از طریق فرم تماس که به یک ربات تلگرام متصل است و پیامها را به صورت خودکار ارسال میکند.
نصب PHP و Apache
sudo apt update
sudo apt install apache2 php libapache2-mod-php php-curl php-gd
کلون کردن ریپازیتوری
git clone https://github.com/mizegerd-tech/Contact-us-website-bot.git
cd contact-bot-site
پیکربندی ربات
فایل bot.php را باز کرده و توکن ربات تلگرام و Chat ID را بهروز کنید:
$botToken = "توکن_ربات_شما";
$chatId = "شناسه_چت_شما";
اجرای سرور PHP
php -S localhost:8000
دسترسی به سایت
مرورگر خود را باز کنید و به http://localhost:8000/index.php بروید.
Fork the repository.
ریپازیتوری را فورک کنید.
Create a new branch: git checkout -b feature-branch.
یک شاخه جدید ایجاد کنید: git checkout -b feature-branch.
Make your changes and commit: git commit -m 'Add new feature'.
تغییرات خود را اعمال کنید و کامیت بزنید: git commit -m 'افزودن ویژگی جدید'.
Push to the branch: git push origin feature-branch.
تغییرات را پوش کنید: git push origin feature-branch.
Submit a pull request.
درخواست Pull Request ارسال کنید.
This project is licensed under the MIT License.
این پروژه تحت مجوز MIT ارائه شده است.