# IonCureX - AI/LLM Context and Instructions # This file provides context about IonCureX for AI assistants and developers ## Project Overview IonCureX is a business-critical platform serving as the central hub for conference ticket sales and registrations across all IonCure domains. It acts as a secure payment gateway where registration access is only granted after successful payment confirmation. ## Key Business Logic - Payment-First Flow: Users select tickets → payment processing → registration access - Secure Gate System: Registration forms remain locked until payment verification - Dual Gateway Support: PayPal (international) and Razorpay (Indian market) - Open Access Platform: No user login required, all content publicly viewable ## Technical Architecture - Frontend: HTML5, CSS3, JavaScript ES6+, Bootstrap 5 - Backend: PHP 8.x, MySQL 8.x - Hosting: Hostinger shared hosting environment - Security: PCI DSS compliant payment processing ## File Structure Context - public_html/: Web root directory (Hostinger requirement) - config/: Configuration files (database, email, payment gateways) - classes/: PHP class definitions (PaymentGateway, EmailService, etc.) - includes/: Reusable components (header, footer, functions) - templates/: Email templates and reusable HTML components - assets/: Static files (CSS, JS, images) - vendor/: Third-party libraries (PHPMailer, payment SDKs) - uploads/: User-uploaded files (secure access) - logs/: Application logs (error, payment, security) - secure/: Outside web root (encrypted credentials and keys) ## Development Guidelines - Follow MVC-inspired separation of concerns - Use prepared statements for all database queries - Implement comprehensive input validation and sanitization - Maintain PCI DSS compliance for payment processing - Use AES-256 encryption for sensitive credential storage - Log all payment transactions and access attempts ## Conference Types - Vaccines: Immunization and vaccine development conferences - AI Medicine: Artificial intelligence applications in healthcare - Neuroscience: Brain research and neurological conferences - Biotechnology: Biotech innovation and research conferences ## Payment Flow 1. User selects conference and ticket type 2. Geographic detection determines payment gateway (PayPal/Razorpay) 3. Payment processing with transaction ID generation 4. Success/failure callbacks update transaction status 5. Successful payment unlocks registration form access 6. User completes registration with payment reference linking 7. Automated email confirmations sent to user ## Security Considerations - All payment data encrypted and PCI compliant - Input sanitization on all user-submitted data - CSRF protection on forms - XSS prevention with output encoding - SQL injection prevention with prepared statements - Secure session management ## Performance Optimization - Asset minification and compression - Browser caching headers - Database query optimization - CDN integration where possible - Mobile-responsive design ## Contact Information For technical inquiries or AI assistance requests: - Project: IonCureX Conference Platform - Technology: PHP/MySQL/Bootstrap - Hosting: Hostinger Shared Hosting - Security: PCI DSS Level 1 Compliant This context helps AI assistants understand the project scope, technical requirements, and development patterns for effective collaboration.