Skip to content

Instantly share code, notes, and snippets.

View JensTech's full-sized avatar

Jens JensTech

View GitHub Profile
@JensTech
JensTech / terminal.php
Created March 27, 2026 18:48
PHP server side terminal
<?php
// Simple PHP Terminal
// I would recommend you add a form of auth if you deploy this
// This publicly allows access to your sever without auth so
// lock it down on your server
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
header('Content-Type: text/plain');