real_escape_string(substr($_POST['name'] ?? '', 0, 255))); $email = trim($conn->real_escape_string(substr($_POST['email'] ?? '', 0, 255))); $message = trim($conn->real_escape_string(substr($_POST['message'] ?? '', 0, 2000))); if (empty($name) || empty($email) || empty($message)) { $error = 'All fields are required.'; } elseif (!filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) { $error = 'Please enter a valid email address.'; } elseif (strlen($message) < 15) { $error = 'Please write at least 15 characters in your message.'; } else { // Save to database $response_token = md5(uniqid($email, true) . time()); $sql = "INSERT INTO contact_messages (name, email, message, ticket_status, response_token) VALUES ('$name', '$email', '$message', 'new', '$response_token')"; if ($conn->query($sql)) { $ticket_id = $conn->insert_id; // Notify admin via email $admin_email = 'gethelp@paidsurveyhub.in'; $email_subject = "New Contact Message #$ticket_id — PaidSurveyHub India"; $email_body = "New contact form submission on PaidSurveyHub India.\n\n" . "Ticket ID: #$ticket_id\n" . "From: $_POST[name] <$_POST[email]>\n" . "Message:\n$_POST[message]\n\n" . "Manage at: " . SITE_URL . ADMIN_PATH . "/manage-tickets.php"; $headers = "From: PaidSurveyHub \r\nReply-To: $_POST[email]\r\n"; @mail($admin_email, $email_subject, $email_body, $headers); // Auto-reply to sender $reply_subject = "We received your message — Paid Survey Hub India (Ticket #$ticket_id)"; $reply_body = "Hi $_POST[name],\n\nThank you for contacting Paid Survey Hub India.\n\n" . "We have received your message and will respond to this email within 24 hours.\n\n" . "Your Ticket ID: #$ticket_id\n\n" . "Regards,\nPaid Survey Hub India Team\ngethelp@paidsurveyhub.in\nhttps://paidsurveyhub.in"; $reply_headers = "From: PaidSurveyHub \r\n"; @mail($_POST['email'], $reply_subject, $reply_body, $reply_headers); $success = "Your message has been sent! We will reply to " . htmlspecialchars($_POST['email']) . " within 24 hours. Your ticket ID is #$ticket_id."; } else { $error = 'Something went wrong. Please try again or email us directly.'; } } } } $page_title = 'Contact Us — Paid Survey Hub India'; $meta_description = 'Contact Paid Survey Hub India. Have a question about our survey directory? Get in touch with our support team.'; $canonical = SITE_URL . '/contact.php'; include 'includes/header.php'; ?>

Contact Us

Have a question about our directory or a survey site? We'll get back to you within 24 hours.

⏱ Response Time
Within 24 hours
Or send us a message
We will reply to this address.

By submitting you agree to our Privacy Policy. We never share your details with third parties.

What we can help with: Questions about our directory, suggesting a survey site to add, reporting a site that has stopped paying, general questions about survey platforms in India.

What we cannot help with: Account issues, payment disputes, or support tickets for individual survey platforms — please contact those platforms directly using the support links on their detail pages.