An online certificate verification system built with PHP, MySQL, and Bootstrap.
- Certificate Generation: Generate certificates for verified users
- Certificate Verification: Verify certificate authenticity online
- Contact Management: Submit and manage contact inquiries
- Feedback System: Collect user feedback with ratings
- Newsletter Subscription: Subscribe users to newsletter updates
- Admin Dashboard: Manage certificates, users, and feedback
- Secure Authentication: Login system with password hashing and remember-me functionality
- PHP: 7.4 or higher
- MySQL: 5.7 or higher
- Web Server: Apache with mod_rewrite enabled
- Modern Browser: Chrome, Firefox, Safari, or Edge
git clone https://github.com/codewithesha2002-design/Certesha-Certification-Verification.git
cd Certesha-Certification-Verification- Create MySQL database and user:
CREATE DATABASE cgv;
CREATE USER 'cgv'@'localhost' IDENTIFIED BY 'Design@sdl123';
GRANT ALL PRIVILEGES ON cgv.* TO 'cgv'@'localhost';
FLUSH PRIVILEGES;- Import the database schema:
- See
DATABASE_SCHEMA.mdfor detailed table structure - Run the SQL statements to create all tables
- See
- Point your web server document root to the project directory
- Ensure
.htaccessis enabled (for pretty URLs) - Set appropriate file permissions:
chmod 755 -R ./ chmod 644 -R ./*.php
- Open your browser and navigate to:
http://localhost/ - You should see the Certesha homepage
- Test the certificate verification system at
certv.php
.
├── index.html # Main landing page
├── certg.php # Certificate generation page
├── certv.php # Certificate verification page
├── contact.php # Contact form handler
├── feedback.php # Feedback form handler
├── newsletter.php # Newsletter subscription handler
├── DATABASE_SCHEMA.md # Database schema documentation
├── README.md # This file
├── config/ # Configuration files
│ ├── db.php # Database connection
│ ├── config.php # Configuration & functions
│ ├── configverify.php # Verification configuration
│ └── functions.php # Main functions
├── assets/ # Static assets
│ ├── css/
│ ├── js/
│ ├── img/
│ └── vendor/ # Third-party libraries
├── login/ # Admin login system
│ ├── index.php
│ ├── login.php
│ ├── authenticate.php
│ ├── add_admin.php
│ ├── add_customer.php
│ └── ...
└── SQL/ # SQL dump files
└── cgv.sql
Update the database credentials in:
config/db.php(for public pages)login/config/config.php(for admin panel)
Current credentials:
- Host:
localhost:3306 - User:
cgv - Password:
Design@sdl123 - Database:
cgv
For email functionality, update the email configuration in:
assets/vendor/php-email-form/validate.jsconfig/functions.php
- Home Page: View service offerings and company information
- Generate Certificate: Navigate to
certg.phpand enter certificate ID - Verify Certificate: Navigate to
certv.phpand enter certificate ID - Contact Us: Fill the contact form in the footer
- Feedback: Click the feedback button to submit ratings and comments
- Newsletter: Subscribe to newsletter for updates
- Login: Navigate to
login/login.php - Manage Certificates: Add, view, and manage certificates
- Manage Users: Add admin and customer accounts
- View Feedback: Review customer feedback and ratings
- Contact Management: View and manage contact inquiries
- SQL Injection Prevention: Uses prepared statements with parameter binding
- XSS Protection: HTML escaping for output
- Password Security: Password hashing with bcrypt algorithm
- Session Management: Secure session handling with validation
- CSRF Protection: HTTP-only cookies and secure headers
- Input Validation: Server-side input validation for all forms
- Verify MySQL server is running
- Check database credentials in config files
- Ensure database user has proper privileges
- Check browser console for JavaScript errors
- Ensure PHP error reporting is enabled
- Verify form field names match expected values
- Verify certificate exists in
customerstable - Check certificate number format matches database
- Ensure customer record has all required fields
- Email: codewithesha2002-design@gmail.com
- Twitter: @codewithesha
- LinkedIn: Kanika Sharma
- GitHub: codewithesha2002-design
See LICENSE file for details.
This project is actively maintained. For issues and feature requests, please visit our GitHub repository.
Last Updated: March 7, 2026