0) { // Set custom header to indicate duplicate submission header("X-Response-Status: duplicate"); echo ""; } else { // Insert query $qry = "INSERT INTO tools_submission (product_name, domain, logo_url, screenshot_url, keywords, description, features_description, submitted_ip, language) VALUES ('$product_name', '$domain', '$logo_url', '$screenshot_url', '$keywords', '$description', '$ai_description', '$submitted_ip', '$language')"; // Execute the query $run = mysqli_query($conn, $qry); if ($run) { // Set custom header to indicate successful submission header("X-Response-Status: success"); echo ""; echo ""; // Reload page after submission } else { // Set custom header to indicate submission failure header("X-Response-Status: error"); echo ""; } } } else { // Set custom header to indicate missing fields header("X-Response-Status: missing_fields"); echo ""; } } ?>
提交AI工具
掌握 AI 工具的艺术:释放自动化创造力的力量,借助 AI Tool Path
商务合作:admin@aitoolpath.com
工具审核:a1726850085@outlook.com