🐘
prompts.php
Back
📝 Php ⚡ Executable Ctrl+S: Save • Ctrl+R: Run • Ctrl+F: Find
<?php if (isset($_GET['savePrompts'])) { file_put_contents('chat.txt', $_POST['chatPrompt'] ?? ''); file_put_contents('snippet.txt', $_POST['snippetsPrompt'] ?? ''); file_put_contents('full.txt', $_POST['fullCodePrompt'] ?? ''); echo json_encode(['status'=>'ok']); exit; } ?>