PHP Cookie-Based GPT Proxy

Заказчик: AI | Опубликовано: 04.12.2025
Бюджет: 30 $

I need a compact PHP reverse-proxy that lets my own front-end talk to ChatGPT exclusively through the Web interface, never through the OpenAI API. Authentication must rely on the existing session cookies I will supply, so the script has to forward them exactly as received, maintain the conversation state, and relay all traffic over HTTPS. You can assume the server runs the usual LAMP stack; beyond that, avoid external dependencies and keep the footprint light. A single entry-point file plus any helper classes is fine, but please keep it self-contained and readable. Deliverables • PHP source code of the proxy • A short README showing the required cookie names, how to drop the files on the server, and a quick cURL example that proves HTTPS completion through the proxy I will test by loading a page through the proxy, sending and receiving messages, and confirming that no OpenAI API keys are referenced anywhere.