The reason the code is crashing is that a raw Linux bash terminal command (`curl "https://..." \ ...`) was pasted directly into the middle of the PHP execution script at line 7. PHP doesn't know how to read a terminal command, causing a critical **PHP Fatal Syntax Error**. Additionally, the model URL inside your `generateAiPost` function still needs to point to the active **`gemini-2.0-flash`** engine. Here is your fully cleaned, corrected, and structured `index.php` file. Copy and paste this exact block directly onto cPanel to replace your current code: ```php