Find your perfect rental home in Bangladesh — AmarThikana is a responsive house rental platform built with PHP, MySQL, HTML, CSS, and JavaScript. It provides tenant, landlord, and admin interfaces for listing management, applications, messaging, and analytics.
Experience AmarThikana in action! Visit our live demo at https://amarthikana.22web.org
- Advanced Search & Filters: Search properties by location, type, price range, and amenities
- Detailed Property Listings: View comprehensive property details with high-quality images
- Requesting Tours: Schedule and participate in property tours
- Favorites System: Save and manage favorite properties
- Messaging System: Direct communication with landlords
- Property Management: Easily list and manage multiple properties
- Tenant Screening: Access tenant applications and background information
- Tour Requests: Accept or reject tenant tour requests
- Communication Tools: Built-in messaging system with tenants
- Analytics Dashboard: Track property views, applications, and performance
- Image Upload: Upload multiple high-quality property images
- Amenities Management: Specify property amenities and features
- User Management: Manage tenants, landlords, accounts
- Content Moderation: Review and approve property listings
- System Analytics: Comprehensive dashboard with system statistics
- Support System: Handle user inquiries and support tickets
- Settings Management: Configure system-wide settings
- Responsive Design: Fully responsive design works on all devices
- Multi-language Support: Support for English and Bengali
- Security: Secure authentication with password hashing and CSRF protection
- Performance: Optimized for speed with caching and compression
- Backend: PHP 7.4+
- Database: MySQL 5.7+ / MariaDB
- Frontend: HTML5, CSS3, JavaScript (ES6+)
- Libraries:
- jQuery for DOM manipulation
- Swiper.js for carousels
- Font Awesome for icons
- Google Fonts for typography
- Security: PDO/MySQLi with prepared statements
- Short description: AmarThikana — a self-hosted house rental platform for Bangladesh with tenant, landlord and admin interfaces.
- Purpose: Demo-ready system for managing property listings, tenant applications, communications and admin moderation.
- Includes: PHP backend, MySQL schema, responsive frontend, file uploads and a lightweight dashboard.
- Register: Create an account as a tenant
- Search: Use filters to find properties
- View Details: Browse property images and specifications
- Contact: Message landlords or schedule tours
- Apply: Submit rental applications
- Register: Create an account as a landlord
- List Property: Add property details and images
- Manage: Edit listings and view applications
- Communicate: Respond to tenant inquiries
- Login: Access admin dashboard
- Moderate: Review property listings
- Manage Users: Handle user accounts
- Analytics: View system statistics
amarthikana/
│ .htaccess
│ about-us.php
│ contact.php
│ disclaimer.php
│ faq.php
│ footer.php
│ forget-pass.php
│ header.php
│ help-center.php
│ index.php
│ login.php
│ messages.php
│ privacy-policy.php
│ properties.php
│ property-details.php
│ safety-tips.php
│ search-result.php
│ signup.php
│ terms-of-service.php
│ test_connection.php
│ tour-property.php
│
├───admin/ # Admin dashboard pages
│ │ dashboard.php
│ │ edit-property.php
│ │ index.php
│ │ login.php
│ │ logout.php
│ │ properties.php
│ │ tours.php
│ │ users.php
│ │
│ ├───css/
│ │ admin.css
│ │
│ └───js/
│ admin.js
│
├───api/ # REST API endpoints
│ add_property.php
│ change_password.php
│ contact_handler.php
│ delete_property.php
│ delete_user.php
│ edit_property.php
│ edit_user.php
│ get_conversations.php
│ get_messages.php
│ get_unread_count.php
│ list_properties.php
│ list_users.php
│ load_settings.php
│ login_handler.php
│ logout.php
│ logout_handler.php
│ properties_handler.php
│ save_settings.php
│ send_message.php
│ signup_handler.php
│ test_connection.php
│ toggle_favorite.php
│ update_profile.php
│ update_property_status.php
│ update_tour_status.php
│ upload_profile_image.php
│ upload_profile_photo.php
│
├───config/ # Database and configuration files
│ database.php
│
├───css/
│ mobile.css
│ style.css
│
├───database/ # Database files
│ amarthikana_dump.sql
│
├───images/ # Static images and assets
│ bg.jpg
│
├───img/
│ default-avatar.svg
│
├───includes/ # PHP includes and utilities
│ auth.php
│ functions.php
│ paths.php
│ session_check.php
│
├───js/ # JavaScript files
│ loader.js
│ mobile.js
│ script.js
│
├───landlord/ # Landlord dashboard pages
│ │ add-property.php
│ │ bookings.php
│ │ dashboard.php
│ │ edit-property.php
│ │ index.php
│ │ listings.php
│ │ my-properties.php
│ │ reviews.php
│ │ settings.php
│ │ tours.php
│ │
│ ├───css/
│ │ dashboard.css
│ │
│ └───js/
│ dashboard.js
│ settings.js
│
├───tenant/ # Tenant dashboard pages
│ │ bookings.php
│ │ dashboard.php
│ │ favorites.php
│ │ index.php
│ │ settings.php
│ │ tours.php
│ │
│ ├───css/
│ │ dashboard.css
│ │
│ └───js/
│ dashboard.js
│
└───uploads/ # User-uploaded files
├───profiles/
└───properties/
Visit test_connection.php to verify database connectivity.
- Register a new account
- Verify email confirmation
- Test login/logout functionality
- Create a landlord account
- List a new property
- Upload images and set amenities
- View property on frontend
- Password hashing with bcrypt
- CSRF protection on forms
- SQL injection prevention with prepared statements
- XSS protection with input sanitization
- Secure file upload validation
- Session management with secure cookies
- Database query optimization
- Image compression and lazy loading
- Browser caching with .htaccess
- CDN integration ready
- Minified CSS/JS for production
Database Connection Failed
- Verify credentials in
config/database.php - Ensure MySQL service is running
- Check database exists and user has permissions
Page Not Found Errors
- Verify
.htaccessis enabled - Check URL rewriting is configured
- Ensure correct file permissions
Upload Issues
- Check
uploads/directory permissions (755) - Verify PHP upload limits in
php.ini - Ensure sufficient disk space
Email Not Sending
- Configure SMTP settings
- Check spam folder
- Verify firewall allows outbound connections
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ in Bangladesh 🇧🇩
Find your perfect home with AmarThikana - where dreams meet reality.