Logo
Project Image 1
Project Image 2
Project Image 3
Project Image 4

Divar Project - Classified Ads Website with Real-time Chat & User Management

Services: UI Design, Complete Backend Implementation, Real-time Chat, Secure Image Upload, Web Security, User & Ad Management
Client: Personal / Commercial Project

Divar is a complete classified ads website designed and implemented from scratch. It includes a phone-based login system (automatic registration without password), ad posting with categorization, pricing, condition, description, and image upload with full validation, a real-time chat system between users using AJAX and Polling, live ad search, conversation list, and a user panel for managing ads. All queries are written with Prepared Statements, and security against SQL Injection and XSS attacks is fully implemented.

Project Features

  • Phone-based login system (automatic registration without password)
  • Ad posting with categorization (real estate, vehicles, digital, home, services)
  • Image upload with format validation (JPG, PNG, GIF, WEBP) and size limit (up to 2 MB)
  • Real-time chat system between users using AJAX and Polling (auto-receive messages)
  • Conversation list with last message preview for each chat
  • Live ad search using AJAX (with 250ms debounce delay)
  • Ad filtering by category on the homepage
  • User panel (My Divar) for viewing and deleting posted ads
  • Dedicated bottom navigation bar for mobile with quick access to main sections
  • Responsive design compatible with mobile and desktop using Bootstrap 5
  • Full security against SQL Injection and XSS with Prepared Statements and htmlspecialchars
  • Session management with secure cookies (HttpOnly, SameSite=Strict)
  • Display of error and success messages to users

For the full experience and to interact with the project, click the button below.

View Main Project

Technologies Used

Html logo HTML5
Css logo CSS3
js logo JavaScript
Bootstrap logo Bootstrap 5.3
PHP logo PHP
Mysql logo MySQL